From ff1e21733d82b7338514006d2aac6fdf370fba80 Mon Sep 17 00:00:00 2001 From: StapleButter Date: Fri, 14 Dec 2018 03:32:40 +0100 Subject: add hotkey config values. duplicate DlgInputConfig so that it can also do hotkey config. also prevent from opening those config dialogs a billion times. --- src/libui_sdl/libui/ui.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/libui_sdl/libui') 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)) -- cgit v1.2.3