summaryrefslogtreecommitdiff
path: root/new/main_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-07 04:12:03 -0400
committerPietro Gagliardi <[email protected]>2015-04-07 04:12:03 -0400
commit3b52095ab08fdb749d454698721300351eb49ffa (patch)
tree22c7999591fca116055d16d0fd3ad1bac59709da /new/main_windows.c
parenta7293951f75d92a80d4d986ec7dda3fa25ab640b (diff)
Added uiControlHandle() and fixed other uiButton issues.
Diffstat (limited to 'new/main_windows.c')
-rw-r--r--new/main_windows.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/new/main_windows.c b/new/main_windows.c
index bd973b7..9c8132a 100644
--- a/new/main_windows.c
+++ b/new/main_windows.c
@@ -54,3 +54,9 @@ void uiQuit(void)
{
PostQuitMessage(0);
}
+
+// TODO move somewhere else
+uintptr_t uiControlHandle(uiControl *c)
+{
+ return (*(c->handle))(c);
+}