ui/ui/win32.h

changeset 841
651cf2c59dd9
parent 815
7ddf5fb7ec2a
child 938
be4c88ded783
--- a/ui/ui/win32.h	Sun Oct 12 09:17:37 2025 +0200
+++ b/ui/ui/win32.h	Sun Oct 12 12:01:03 2025 +0200
@@ -41,6 +41,8 @@
 typedef struct W32Widget W32Widget;
 typedef struct W32Size W32Size;
 
+typedef void (*W32LayoutFunc)(void *, int, int);
+
 struct W32Size {
     int width;
     int height;
@@ -58,6 +60,8 @@
     W32WidgetClass *wclass;
     HWND hwnd;
     void *userdata;
+    void (*layout)(void *layout, int width, int height);
+    void *layoutmanager;
 };
 
 #ifdef __cplusplus

mercurial