diff dwtest.c @ 2827:455d539ac555

iOS: Add initial implementation of DW_CONTAINER_MODE_EXTRA. It mostly works but the layout isn't quite correct, fixes will be coming followed by the implementation of DW_CONTAINER_MODE_MULTI. Add a toggle for DW_CONTAINER_MODE_EXTRA to dwtest on mobile platforms.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 01 Sep 2022 06:40:02 +0000
parents 4521f014bb17
children adb0e4ce9347
line wrap: on
line diff
--- a/dwtest.c	Thu Sep 01 06:38:08 2022 +0000
+++ b/dwtest.c	Thu Sep 01 06:40:02 2022 +0000
@@ -2192,6 +2192,11 @@
     if(getenv("DW_DARK_MODE"))
         dw_feature_set(DW_FEATURE_DARK_MODE, DW_DARK_MODE_FULL);
 
+#ifdef DW_MOBILE
+    /* Enable extra container display on Mobile platforms */
+    dw_feature_set(DW_FEATURE_CONTAINER_MODE, DW_CONTAINER_MODE_EXTRA);
+#endif
+
     /* Initialize the Dynamic Windows engine */
     dw_init(TRUE, argc, argv);