ui/win32/window.h

changeset 112
c3f2f16fa4b8
parent 108
77254bd6dccb
--- a/ui/win32/window.h	Sat Oct 04 14:54:25 2025 +0200
+++ b/ui/win32/window.h	Sun Oct 19 21:20:08 2025 +0200
@@ -35,14 +35,22 @@
 #include "../common/object.h"
 
 #include "toolkit.h"
-
+#include "container.h"
 
 #ifdef	__cplusplus
 extern "C" {
 #endif
 
+typedef struct UiWindow {
+    W32Widget widget;
+    UiObject *obj;
+} UiWindow;
+
 void ui_window_init(void);
 
+void ui_window_widget_event(W32Widget *widget, HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
+void ui_window_widget_show(W32Widget *w, BOOLEAN show);
+
 #ifdef	__cplusplus
 }
 #endif

mercurial