--- a/ui/win32/window.h Fri Oct 10 09:05:11 2025 +0200 +++ b/ui/win32/window.h Fri Oct 10 09:06:06 2025 +0200 @@ -35,14 +35,23 @@ #include "../common/object.h" #include "toolkit.h" - +#include "container.h" #ifdef __cplusplus extern "C" { #endif +typedef struct UiWindow { + W32Widget widget; + UiObject *obj; + UiBoxContainer *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 } #endif