ui/win32/toolkit.h

changeset 118
6d0da97105d8
parent 113
dde28a806552
equal deleted inserted replaced
117:b174e721663e 118:6d0da97105d8
53 int64_t intvalue; 53 int64_t intvalue;
54 } UiWidget; 54 } UiWidget;
55 55
56 LRESULT CALLBACK ui_default_eventproc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam); 56 LRESULT CALLBACK ui_default_eventproc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
57 57
58 typedef void(*ui_command_func)(UiObject *, uint64_t id, void *userdata);
59 typedef struct UiCommand {
60 ui_command_func callback;
61 void *userdata;
62 } UiCommand;
63
58 HFONT ui_win32_get_font(void); 64 HFONT ui_win32_get_font(void);
59 void ui_win32_set_ui_font(HWND control); 65 void ui_win32_set_ui_font(HWND control);
60 66
61 67
62 #ifdef __cplusplus 68 #ifdef __cplusplus

mercurial