comparison dw.h @ 2410:0286ac44d347

Add DW_FEATURE_TREE feature test, since iOS does not suppor tree. Update dwtest to show a placeholder when missing the tree widget. Remove DW_FEATURE_CONTAINER_STRIPE from GTK4. Apparently it is supported with the GtkListBox widget and custom CSS, but it performs badly and is unrecommended by the GTK development team. Finally add missing feature test example code to the template source.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 30 Mar 2021 08:28:35 +0000
parents 4de830d3bf9e
children 44b77654c406
comparison
equal deleted inserted replaced
2409:2ab3e88e5d68 2410:0286ac44d347
1528 DW_FEATURE_NOTEBOOK_STATUS_TEXT, /* Supports status text area on notebook/tabbed controls */ 1528 DW_FEATURE_NOTEBOOK_STATUS_TEXT, /* Supports status text area on notebook/tabbed controls */
1529 DW_FEATURE_NOTIFICATION, /* Supports sending system notifications */ 1529 DW_FEATURE_NOTIFICATION, /* Supports sending system notifications */
1530 DW_FEATURE_UTF8_UNICODE, /* Supports UTF8 encoded Unicode text */ 1530 DW_FEATURE_UTF8_UNICODE, /* Supports UTF8 encoded Unicode text */
1531 DW_FEATURE_MLE_RICH_EDIT, /* Supports Rich Edit based MLE control (Windows) */ 1531 DW_FEATURE_MLE_RICH_EDIT, /* Supports Rich Edit based MLE control (Windows) */
1532 DW_FEATURE_TASK_BAR, /* Supports icons in the taskbar or similar system widget */ 1532 DW_FEATURE_TASK_BAR, /* Supports icons in the taskbar or similar system widget */
1533 DW_FEATURE_TREE, /* Supports the Tree Widget */
1533 DW_FEATURE_MAX 1534 DW_FEATURE_MAX
1534 } DWFEATURE; 1535 } DWFEATURE;
1535 1536
1536 /* Macro for casting resource IDs to HICN */ 1537 /* Macro for casting resource IDs to HICN */
1537 #define DW_RESOURCE(a) (a < 65536 ? (HICN)a : (HICN)0) 1538 #define DW_RESOURCE(a) (a < 65536 ? (HICN)a : (HICN)0)