ui/win32/window.h

changeset 815
7ddf5fb7ec2a
parent 813
6d9066951cdb
child 818
8185cd761897
--- a/ui/win32/window.h	Wed Oct 08 10:41:35 2025 +0200
+++ b/ui/win32/window.h	Wed Oct 08 12:36:16 2025 +0200
@@ -35,14 +35,21 @@
 #include "../common/object.h"
 
 #include "toolkit.h"
-
+#include "container.h"
 
 #ifdef	__cplusplus
 extern "C" {
 #endif
 
+typedef struct UiWindow {
+    W32Widget widget;
+    UiObject *obj;
+    UiGridLayoutContainer *container;
+} 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

mercurial