mirror of
https://github.com/raysan5/raygui.git
synced 2025-12-25 10:22:33 -05:00
Update raygui.h
This commit is contained in:
@ -77,7 +77,7 @@
|
|||||||
*
|
*
|
||||||
* static unsigned int guiStyle[RAYGUI_MAX_CONTROLS*(RAYGUI_MAX_PROPS_BASE + RAYGUI_MAX_PROPS_EXTENDED)];
|
* static unsigned int guiStyle[RAYGUI_MAX_CONTROLS*(RAYGUI_MAX_PROPS_BASE + RAYGUI_MAX_PROPS_EXTENDED)];
|
||||||
*
|
*
|
||||||
* guiStyle size is by default: 16*(16 + 8) = 384*4 = 1536 bytes = 1.5 KB
|
* guiStyle size is by default: 16*(16 + 8) = 384 int = 384*4 bytes = 1536 bytes = 1.5 KB
|
||||||
*
|
*
|
||||||
* Note that the first set of BASE properties (by default guiStyle[0..15]) belong to the generic style
|
* Note that the first set of BASE properties (by default guiStyle[0..15]) belong to the generic style
|
||||||
* used for all controls, when any of those base values is set, it is automatically populated to all
|
* used for all controls, when any of those base values is set, it is automatically populated to all
|
||||||
@ -1078,7 +1078,7 @@ typedef enum {
|
|||||||
|
|
||||||
// Check if two rectangles are equal, used to validate a slider bounds as an id
|
// Check if two rectangles are equal, used to validate a slider bounds as an id
|
||||||
#ifndef CHECK_BOUNDS_ID
|
#ifndef CHECK_BOUNDS_ID
|
||||||
#define CHECK_BOUNDS_ID(src, dst) ((src.x == dst.x) && (src.y == dst.y) && (src.width == dst.width) && (src.height == dst.height))
|
#define CHECK_BOUNDS_ID(src, dst) (((int)src.x == (int)dst.x) && ((int)src.y == (int)dst.y) && ((int)src.width == (int)dst.width) && ((int)src.height == (int)dst.height))
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(RAYGUI_NO_ICONS) && !defined(RAYGUI_CUSTOM_ICONS)
|
#if !defined(RAYGUI_NO_ICONS) && !defined(RAYGUI_CUSTOM_ICONS)
|
||||||
|
|||||||
Reference in New Issue
Block a user