mirror of
https://github.com/raysan5/raygui.git
synced 2026-01-29 10:19:18 -05:00
Keep NUM_CONTROLS as a define
Despite proposed solution is probably better, I prefer old approximation to be more simple and clear.
This commit is contained in:
@ -134,6 +134,7 @@
|
|||||||
|
|
||||||
#define TEXTEDIT_CURSOR_BLINK_FRAMES 20 // Text edit controls cursor blink timming
|
#define TEXTEDIT_CURSOR_BLINK_FRAMES 20 // Text edit controls cursor blink timming
|
||||||
|
|
||||||
|
#define NUM_CONTROLS 13 // Number of standard controls
|
||||||
#define NUM_PROPS_DEFAULT 16 // Number of standard properties
|
#define NUM_PROPS_DEFAULT 16 // Number of standard properties
|
||||||
#define NUM_PROPS_EXTENDED 8 // Number of extended properties
|
#define NUM_PROPS_EXTENDED 8 // Number of extended properties
|
||||||
|
|
||||||
@ -201,8 +202,7 @@ typedef enum {
|
|||||||
TEXTBOX, // VALUEBOX, SPINNER
|
TEXTBOX, // VALUEBOX, SPINNER
|
||||||
LISTVIEW,
|
LISTVIEW,
|
||||||
COLORPICKER,
|
COLORPICKER,
|
||||||
SCROLLBAR,
|
SCROLLBAR
|
||||||
NUM_CONTROLS
|
|
||||||
} GuiControlStandard;
|
} GuiControlStandard;
|
||||||
|
|
||||||
// Gui default properties for every control
|
// Gui default properties for every control
|
||||||
|
|||||||
Reference in New Issue
Block a user