Mercurial > dwindows
comparison 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 |
comparison
equal
deleted
inserted
replaced
2826:5f0483eb39a4 | 2827:455d539ac555 |
---|---|
2190 | 2190 |
2191 /* Enable full dark mode on platforms that support it */ | 2191 /* Enable full dark mode on platforms that support it */ |
2192 if(getenv("DW_DARK_MODE")) | 2192 if(getenv("DW_DARK_MODE")) |
2193 dw_feature_set(DW_FEATURE_DARK_MODE, DW_DARK_MODE_FULL); | 2193 dw_feature_set(DW_FEATURE_DARK_MODE, DW_DARK_MODE_FULL); |
2194 | 2194 |
2195 #ifdef DW_MOBILE | |
2196 /* Enable extra container display on Mobile platforms */ | |
2197 dw_feature_set(DW_FEATURE_CONTAINER_MODE, DW_CONTAINER_MODE_EXTRA); | |
2198 #endif | |
2199 | |
2195 /* Initialize the Dynamic Windows engine */ | 2200 /* Initialize the Dynamic Windows engine */ |
2196 dw_init(TRUE, argc, argv); | 2201 dw_init(TRUE, argc, argv); |
2197 | 2202 |
2198 /* Test all the features and display the results */ | 2203 /* Test all the features and display the results */ |
2199 for(feat=0;feat<DW_FEATURE_MAX && DWFeatureList[feat];feat++) | 2204 for(feat=0;feat<DW_FEATURE_MAX && DWFeatureList[feat];feat++) |