replace UiTri with UiBool in Arg structs

Thu, 17 Jul 2025 22:10:28 +0200

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Thu, 17 Jul 2025 22:10:28 +0200
changeset 670
d676b2c5e93b
parent 669
5b930e8c3a87
child 671
0ab4c7a18660

replace UiTri with UiBool in Arg structs

ui/cocoa/container.h file | annotate | diff | comparison | revisions
ui/motif/container.h file | annotate | diff | comparison | revisions
ui/qt/container.h file | annotate | diff | comparison | revisions
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/text.h file | annotate | diff | comparison | revisions
ui/ui/toolkit.h file | annotate | diff | comparison | revisions
ui/ui/tree.h file | annotate | diff | comparison | revisions
ui/ui/widget.h file | annotate | diff | comparison | revisions
ui/win32/container.h file | annotate | diff | comparison | revisions
--- a/ui/cocoa/container.h	Thu Jul 17 22:01:52 2025 +0200
+++ b/ui/cocoa/container.h	Thu Jul 17 22:10:28 2025 +0200
@@ -43,7 +43,7 @@
 };
 
 struct UiLayout {
-    UiTri        fill;
+    UiBool       fill;
     //UiBool       newline;
     //char         *label;
     UiBool       hexpand;
--- a/ui/motif/container.h	Thu Jul 17 22:01:52 2025 +0200
+++ b/ui/motif/container.h	Thu Jul 17 22:10:28 2025 +0200
@@ -65,7 +65,7 @@
 typedef struct UiLayout UiLayout;
 
 struct UiLayout {
-    UiTri        fill;
+    UiBool       fill;
     UiBool       newline;
     char         *label;
     UiBool       hexpand;
--- a/ui/qt/container.h	Thu Jul 17 22:01:52 2025 +0200
+++ b/ui/qt/container.h	Thu Jul 17 22:10:28 2025 +0200
@@ -64,7 +64,7 @@
 
 typedef struct UiLayout UiLayout;
 struct UiLayout {
-    UiTri        fill;
+    UiBool       fill;
     UiBool       newline;
     char         *label;
     UiBool       hexpand;
--- a/ui/ui/button.h	Thu Jul 17 22:01:52 2025 +0200
+++ b/ui/ui/button.h	Thu Jul 17 22:10:28 2025 +0200
@@ -36,7 +36,7 @@
 #endif
 
 typedef struct UiButtonArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
@@ -58,7 +58,7 @@
 } UiButtonArgs;
 
 typedef struct UiToggleArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
--- a/ui/ui/container.h	Thu Jul 17 22:01:52 2025 +0200
+++ b/ui/ui/container.h	Thu Jul 17 22:10:28 2025 +0200
@@ -59,7 +59,7 @@
 
 
 typedef struct UiContainerArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
@@ -81,7 +81,7 @@
 } UiContainerArgs;
 
 typedef struct UiFrameArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
@@ -104,7 +104,7 @@
 } UiFrameArgs;
 
 typedef struct UiTabViewArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
@@ -134,7 +134,7 @@
 } UiTabViewArgs;
 
 typedef struct UiHeaderbarArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
@@ -160,7 +160,7 @@
 } UiSidebarArgs;
 
 typedef struct UiSplitPaneArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
@@ -183,7 +183,7 @@
 } UiSplitPaneArgs;
 
 typedef struct UiItemListContainerArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
--- a/ui/ui/display.h	Thu Jul 17 22:01:52 2025 +0200
+++ b/ui/ui/display.h	Thu Jul 17 22:10:28 2025 +0200
@@ -58,7 +58,7 @@
 typedef enum UiLabelStyle UiLabelStyle;
 
 typedef struct UiLabelArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
@@ -77,7 +77,7 @@
 } UiLabelArgs;
 
 typedef struct UiProgressbarArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
@@ -96,7 +96,7 @@
 } UiProgressbarArgs;
 
 typedef struct UiProgressbarSpinnerArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
--- a/ui/ui/entry.h	Thu Jul 17 22:01:52 2025 +0200
+++ b/ui/ui/entry.h	Thu Jul 17 22:10:28 2025 +0200
@@ -37,7 +37,7 @@
 
 
 typedef struct UiSpinnerArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
--- a/ui/ui/image.h	Thu Jul 17 22:01:52 2025 +0200
+++ b/ui/ui/image.h	Thu Jul 17 22:10:28 2025 +0200
@@ -45,7 +45,7 @@
     
     
 typedef struct UiImageViewerArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
--- a/ui/ui/text.h	Thu Jul 17 22:01:52 2025 +0200
+++ b/ui/ui/text.h	Thu Jul 17 22:10:28 2025 +0200
@@ -36,7 +36,7 @@
 #endif
 
 typedef struct UiTextAreaArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
@@ -57,7 +57,7 @@
 } UiTextAreaArgs;
     
 typedef struct UiTextFieldArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
@@ -91,7 +91,7 @@
 
 
 typedef struct UiPathTextFieldArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
--- a/ui/ui/toolkit.h	Thu Jul 17 22:01:52 2025 +0200
+++ b/ui/ui/toolkit.h	Thu Jul 17 22:10:28 2025 +0200
@@ -221,7 +221,6 @@
     UI_OFF
 } UiTri;
 
-
 enum UiMouseEventType { UI_PRESS = 0, UI_PRESS2 };
 
 typedef enum UiLabelType {
--- a/ui/ui/tree.h	Thu Jul 17 22:01:52 2025 +0200
+++ b/ui/ui/tree.h	Thu Jul 17 22:10:28 2025 +0200
@@ -115,7 +115,7 @@
 };
 
 struct UiListArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
@@ -184,7 +184,7 @@
 };
 
 struct UiSourceListArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
--- a/ui/ui/widget.h	Thu Jul 17 22:01:52 2025 +0200
+++ b/ui/ui/widget.h	Thu Jul 17 22:10:28 2025 +0200
@@ -35,7 +35,7 @@
 #endif
 
 typedef struct UiWidgetArgs {
-    UiTri fill;
+    UiBool fill;
     UiBool hexpand;
     UiBool vexpand;
     UiBool hfill;
--- a/ui/win32/container.h	Thu Jul 17 22:01:52 2025 +0200
+++ b/ui/win32/container.h	Thu Jul 17 22:10:28 2025 +0200
@@ -45,7 +45,7 @@
 typedef struct UiLayout UiLayout;
 
 struct UiLayout {
-    UiTri        fill;
+    UiBool       fill;
     UiBool       newline;
     char         *label;
     UiBool       hexpand;

mercurial