aboutsummaryrefslogtreecommitdiff
path: root/src/libui_sdl/libui
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2018-12-14 03:32:40 +0100
committerStapleButter <thetotalworm@gmail.com>2018-12-14 03:32:40 +0100
commitff1e21733d82b7338514006d2aac6fdf370fba80 (patch)
treeadc496267122e6ab1380b81d36f1852e92caa994 /src/libui_sdl/libui
parentcb1e6ce750410aa6d56f57454366d009e832a3df (diff)
add hotkey config values.
duplicate DlgInputConfig so that it can also do hotkey config. also prevent from opening those config dialogs a billion times.
Diffstat (limited to 'src/libui_sdl/libui')
-rw-r--r--src/libui_sdl/libui/ui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libui_sdl/libui/ui.h b/src/libui_sdl/libui/ui.h
index e5a866d..1af8f59 100644
--- a/src/libui_sdl/libui/ui.h
+++ b/src/libui_sdl/libui/ui.h
@@ -76,6 +76,8 @@ struct uiControl {
void (*SetMinSize)(uiControl*, int, int);
int MinWidth, MinHeight;
+
+ void* UserData;
};
// TOOD add argument names to all arguments
#define uiControl(this) ((uiControl *) (this))