ui/win32/toolkit.h

changeset 1035
86d3a45dc928
parent 880
9c99ff36513f
child 1036
24677835f298
equal deleted inserted replaced
1034:330b415910bd 1035:86d3a45dc928
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 *, 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