comparison 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
comparison
equal deleted inserted replaced
2821:3731f21dd678 2822:0adf73d5d8c2
1656 #define DW_DARK_MODE_DISABLED 0 1656 #define DW_DARK_MODE_DISABLED 0
1657 #define DW_DARK_MODE_BASIC 1 1657 #define DW_DARK_MODE_BASIC 1
1658 #define DW_DARK_MODE_FULL 2 1658 #define DW_DARK_MODE_FULL 2
1659 #define DW_DARK_MODE_FORCED 3 1659 #define DW_DARK_MODE_FORCED 3
1660 1660
1661 /* Mobile alternate container modes */
1662 #define DW_CONTAINER_MODE_DEFAULT 0 /* Displays only the main column on mobile platforms */
1663 #define DW_CONTAINER_MODE_EXTRA 1 /* Displays the main column, and the rest on a second line */
1664 #define DW_CONTAINER_MODE_MULTI 2 /* Displays every display column on a separate line plus buttons */
1665 #define DW_CONTAINER_MODE_MAX 3
1666
1661 /* Application ID support lengths */ 1667 /* Application ID support lengths */
1662 #define _DW_APP_ID_SIZE 100 1668 #define _DW_APP_ID_SIZE 100
1663 1669
1664 /* Use at least the linux utsname limit to avoid gcc fortify warnings */ 1670 /* Use at least the linux utsname limit to avoid gcc fortify warnings */
1665 #define _DW_ENV_STRING_SIZE 257 1671 #define _DW_ENV_STRING_SIZE 257
1825 DW_FEATURE_UTF8_UNICODE, /* Supports UTF8 encoded Unicode text */ 1831 DW_FEATURE_UTF8_UNICODE, /* Supports UTF8 encoded Unicode text */
1826 DW_FEATURE_MLE_RICH_EDIT, /* Supports Rich Edit based MLE control (Windows) */ 1832 DW_FEATURE_MLE_RICH_EDIT, /* Supports Rich Edit based MLE control (Windows) */
1827 DW_FEATURE_TASK_BAR, /* Supports icons in the taskbar or similar system widget */ 1833 DW_FEATURE_TASK_BAR, /* Supports icons in the taskbar or similar system widget */
1828 DW_FEATURE_TREE, /* Supports the Tree Widget */ 1834 DW_FEATURE_TREE, /* Supports the Tree Widget */
1829 DW_FEATURE_WINDOW_PLACEMENT, /* Supports arbitrary window placement */ 1835 DW_FEATURE_WINDOW_PLACEMENT, /* Supports arbitrary window placement */
1836 DW_FEATURE_CONTAINER_MODE, /* Supports alternate container view modes */
1830 DW_FEATURE_MAX 1837 DW_FEATURE_MAX
1831 } DWFEATURE; 1838 } DWFEATURE;
1832 1839
1833 /* Macro for casting resource IDs to HICN */ 1840 /* Macro for casting resource IDs to HICN */
1834 #define DW_RESOURCE(a) (a < 65536 ? (HICN)a : (HICN)0) 1841 #define DW_RESOURCE(a) (a < 65536 ? (HICN)a : (HICN)0)