add override_defaults layout arg

3 weeks ago

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 16 Feb 2025 20:57:04 +0100 (3 weeks ago)
changeset 464
e06714e6fa12
parent 463
e8ee57cc052e
child 465
00735562b25b

add override_defaults layout arg

ui/ui/button.h file | annotate | diff | comparison | revisions
ui/ui/container.h file | annotate | diff | comparison | revisions
ui/ui/display.h file | annotate | diff | comparison | revisions
ui/ui/entry.h file | annotate | diff | comparison | revisions
ui/ui/image.h file | annotate | diff | comparison | revisions
ui/ui/range.h file | annotate | diff | comparison | revisions
ui/ui/text.h file | annotate | diff | comparison | revisions
ui/ui/tree.h file | annotate | diff | comparison | revisions
ui/ui/webview.h file | annotate | diff | comparison | revisions
--- a/ui/ui/button.h	Sun Feb 09 20:21:52 2025 +0100
+++ b/ui/ui/button.h	Sun Feb 16 20:57:04 2025 +0100
@@ -41,6 +41,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;
@@ -62,6 +63,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;
--- a/ui/ui/container.h	Sun Feb 09 20:21:52 2025 +0100
+++ b/ui/ui/container.h	Sun Feb 16 20:57:04 2025 +0100
@@ -63,6 +63,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;
@@ -75,6 +76,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;
@@ -92,6 +94,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;
@@ -114,6 +117,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;
@@ -141,6 +145,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;
@@ -166,6 +171,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;
@@ -188,6 +194,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;
--- a/ui/ui/display.h	Sun Feb 09 20:21:52 2025 +0100
+++ b/ui/ui/display.h	Sun Feb 16 20:57:04 2025 +0100
@@ -63,6 +63,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;
@@ -81,6 +82,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     int width;
@@ -99,6 +101,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;
--- a/ui/ui/entry.h	Sun Feb 09 20:21:52 2025 +0100
+++ b/ui/ui/entry.h	Sun Feb 16 20:57:04 2025 +0100
@@ -42,6 +42,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;
--- a/ui/ui/image.h	Sun Feb 09 20:21:52 2025 +0100
+++ b/ui/ui/image.h	Sun Feb 16 20:57:04 2025 +0100
@@ -43,6 +43,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;
--- a/ui/ui/range.h	Sun Feb 09 20:21:52 2025 +0100
+++ b/ui/ui/range.h	Sun Feb 16 20:57:04 2025 +0100
@@ -35,8 +35,8 @@
 extern "C" {
 #endif
 
-UIWIDGET ui_hscrollbar(UiObject *obj, UiRange *range, ui_callback f, void *userdata);
-UIWIDGET ui_vscrollbar(UiObject *obj, UiRange *range, ui_callback f, void *userdata);
+UIWIDGET ui_hscrollbar(UiObject *obj, UiRange *range, ui_callback f, void *userdata); // TODO
+UIWIDGET ui_vscrollbar(UiObject *obj, UiRange *range, ui_callback f, void *userdata); // TODO
 
 
 
--- a/ui/ui/text.h	Sun Feb 09 20:21:52 2025 +0100
+++ b/ui/ui/text.h	Sun Feb 16 20:57:04 2025 +0100
@@ -41,6 +41,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     int width;
@@ -61,6 +62,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     int width;
--- a/ui/ui/tree.h	Sun Feb 09 20:21:52 2025 +0100
+++ b/ui/ui/tree.h	Sun Feb 16 20:57:04 2025 +0100
@@ -109,6 +109,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;
--- a/ui/ui/webview.h	Sun Feb 09 20:21:52 2025 +0100
+++ b/ui/ui/webview.h	Sun Feb 16 20:57:04 2025 +0100
@@ -42,6 +42,7 @@
     UiBool vexpand;
     UiBool hfill;
     UiBool vfill;
+    UiBool override_defaults;
     int colspan;
     int rowspan;
     const char *name;

mercurial