From 3b52095ab08fdb749d454698721300351eb49ffa Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 7 Apr 2015 04:12:03 -0400 Subject: Added uiControlHandle() and fixed other uiButton issues. --- new/main_windows.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'new/main_windows.c') 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); +} -- cgit v1.2.3