comparison win/dw.c @ 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 7c716b48e5b5
comparison
equal deleted inserted replaced
2409:2ab3e88e5d68 2410:0286ac44d347
13852 case DW_FEATURE_HTML_RESULT: 13852 case DW_FEATURE_HTML_RESULT:
13853 #endif 13853 #endif
13854 case DW_FEATURE_CONTAINER_STRIPE: 13854 case DW_FEATURE_CONTAINER_STRIPE:
13855 case DW_FEATURE_MDI: 13855 case DW_FEATURE_MDI:
13856 case DW_FEATURE_TASK_BAR: 13856 case DW_FEATURE_TASK_BAR:
13857 case DW_FEATURE_TREE:
13857 return DW_FEATURE_ENABLED; 13858 return DW_FEATURE_ENABLED;
13858 #ifdef BUILD_TOAST 13859 #ifdef BUILD_TOAST
13859 case DW_FEATURE_NOTIFICATION: 13860 case DW_FEATURE_NOTIFICATION:
13860 { 13861 {
13861 if(_dw_toast_is_compatible()) 13862 if(_dw_toast_is_compatible())
13929 case DW_FEATURE_WINDOW_TRANSPARENCY: 13930 case DW_FEATURE_WINDOW_TRANSPARENCY:
13930 #endif 13931 #endif
13931 case DW_FEATURE_CONTAINER_STRIPE: 13932 case DW_FEATURE_CONTAINER_STRIPE:
13932 case DW_FEATURE_MDI: 13933 case DW_FEATURE_MDI:
13933 case DW_FEATURE_TASK_BAR: 13934 case DW_FEATURE_TASK_BAR:
13935 case DW_FEATURE_TREE:
13934 return DW_ERROR_GENERAL; 13936 return DW_ERROR_GENERAL;
13935 #ifdef BUILD_TOAST 13937 #ifdef BUILD_TOAST
13936 case DW_FEATURE_NOTIFICATION: 13938 case DW_FEATURE_NOTIFICATION:
13937 { 13939 {
13938 if(_dw_toast_is_compatible()) 13940 if(_dw_toast_is_compatible())