diff dw.h @ 2822:0adf73d5d8c2

iOS: First steps for implmenting container modes on iOS and eventually Android. Added DW_FEATURE_CONTAINER_MODE with the following possible states on mobile platforms: DW_CONTAINER_MODE_DEFAULT, DW_CONTAINER_MODE_EXTRA and DW_CONTAINER_MODE_MULTI.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 04 Aug 2022 19:12:19 +0000
parents 30cb5d646267
children 5f0483eb39a4
line wrap: on
line diff
--- a/dw.h	Tue Aug 02 08:52:13 2022 +0000
+++ b/dw.h	Thu Aug 04 19:12:19 2022 +0000
@@ -1658,6 +1658,12 @@
 #define DW_DARK_MODE_FULL     2
 #define DW_DARK_MODE_FORCED   3
 
+/* Mobile alternate container modes */
+#define DW_CONTAINER_MODE_DEFAULT 0    /* Displays only the main column on mobile platforms */
+#define DW_CONTAINER_MODE_EXTRA   1    /* Displays the main column, and the rest on a second line */
+#define DW_CONTAINER_MODE_MULTI   2    /* Displays every display column on a separate line plus buttons */
+#define DW_CONTAINER_MODE_MAX     3
+
 /* Application ID support lengths */
 #define _DW_APP_ID_SIZE 100
 
@@ -1827,6 +1833,7 @@
     DW_FEATURE_TASK_BAR,                /* Supports icons in the taskbar or similar system widget */
     DW_FEATURE_TREE,                    /* Supports the Tree Widget */
     DW_FEATURE_WINDOW_PLACEMENT,        /* Supports arbitrary window placement */
+    DW_FEATURE_CONTAINER_MODE,          /* Supports alternate container view modes */
     DW_FEATURE_MAX
 } DWFEATURE;