Feature #1528 ยป 0078-sdl-Make-widget_id-a-32-bit-value.patch
client/gui-sdl2/gui_main.h | ||
---|---|---|
|| ((event).type == SDL_MOUSEBUTTONDOWN \
|
||
&& (event).button.button == SDL_BUTTON_LEFT))
|
||
typedef Uint16 widget_id;
|
||
typedef Uint32 widget_id;
|
||
enum mouse_button_hold_state {
|
||
MB_HOLD_SHORT,
|
client/gui-sdl2/widget.h | ||
---|---|---|
#define WINDOW_TITLE_HEIGHT 20
|
||
#endif
|
||
#define MAX_ID 0xFFFF
|
||
#define MAX_ID 0xFFFFFFFF
|
||
/* Widget Types */
|
||
enum widget_type { /* allow 64 widgets type */
|
client/gui-sdl3/gui_main.h | ||
---|---|---|
|| ((event).type == SDL_EVENT_MOUSE_BUTTON_DOWN \
|
||
&& (event).button.button == SDL_BUTTON_LEFT))
|
||
typedef Uint16 widget_id;
|
||
typedef Uint32 widget_id;
|
||
enum mouse_button_hold_state {
|
||
MB_HOLD_SHORT,
|
client/gui-sdl3/widget.h | ||
---|---|---|
#define WINDOW_TITLE_HEIGHT 20
|
||
#endif
|
||
#define MAX_ID 0xFFFF
|
||
#define MAX_ID 0xFFFFFFFF
|
||
/* Widget Types */
|
||
enum widget_type { /* allow 64 widgets type */
|