ui/win32/window.c

changeset 938
be4c88ded783
parent 880
9c99ff36513f
child 953
c98404829cd3
equal deleted inserted replaced
937:06e03c7e39db 938:be4c88ded783
106 UiObject *ui_window(const char *title, void *window_data) { 106 UiObject *ui_window(const char *title, void *window_data) {
107 return create_window(title, window_data, FALSE); 107 return create_window(title, window_data, FALSE);
108 } 108 }
109 109
110 110
111 void ui_window_widget_event(W32Widget *widget, HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) { 111 int ui_window_widget_event(W32Widget *widget, HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) {
112 //UiWindow *window = (UiWindow*)widget; 112 //UiWindow *window = (UiWindow*)widget;
113 return 0;
113 } 114 }
114 115
115 void ui_window_widget_show(W32Widget *w, BOOLEAN show) { 116 void ui_window_widget_show(W32Widget *w, BOOLEAN show) {
116 ShowWindow(w->hwnd, show ? SW_SHOWNORMAL : SW_HIDE); 117 ShowWindow(w->hwnd, show ? SW_SHOWNORMAL : SW_HIDE);
117 } 118 }

mercurial