Re-integrated anim in trunk, fixing the 999-layer limit at the same time
git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1841 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
10
src/const.h
10
src/const.h
@@ -71,7 +71,11 @@
|
||||
/// Character to display in menus for an ellipsis.
|
||||
#define ELLIPSIS_CHARACTER '…'
|
||||
#define NB_LAYERS 1 ///< Initial number of layers for a new image
|
||||
#ifdef NOLAYERS
|
||||
#define MAX_NB_LAYERS 999 ///< Maximum number of layers that can be used in grafx2. Note that 32 is upper limit because of a few bit fields.
|
||||
#else
|
||||
#define MAX_NB_LAYERS 16 ///< Maximum number of layers that can be used in grafx2. Note that 32 is upper limit because of a few bit fields.
|
||||
#endif
|
||||
#define BRUSH_CONTAINER_PREVIEW_WIDTH 16 ///< Size for preview of a brush in Brush container
|
||||
#define BRUSH_CONTAINER_PREVIEW_HEIGHT 16 ///< Size for preview of a brush in Brush container
|
||||
#define BRUSH_CONTAINER_COLUMNS 4 ///< Number of columns in the Brush container
|
||||
@@ -289,6 +293,12 @@ enum BUTTON_NUMBERS
|
||||
BUTTON_LAYER_REMOVE,
|
||||
BUTTON_LAYER_UP,
|
||||
BUTTON_LAYER_DOWN,
|
||||
BUTTON_ANIM_TIME,
|
||||
BUTTON_ANIM_FIRST_FRAME,
|
||||
BUTTON_ANIM_PREV_FRAME,
|
||||
BUTTON_ANIM_NEXT_FRAME,
|
||||
BUTTON_ANIM_LAST_FRAME,
|
||||
BUTTON_ANIM_PLAY,
|
||||
BUTTON_LAYER_SELECT,
|
||||
|
||||
// Main menu
|
||||
|
||||
Reference in New Issue
Block a user