comparison os2/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 fad0821cb953
children f5fd34dfb9c7
comparison
equal deleted inserted replaced
2409:2ab3e88e5d68 2410:0286ac44d347
13867 #endif 13867 #endif
13868 case DW_FEATURE_WINDOW_BORDER: 13868 case DW_FEATURE_WINDOW_BORDER:
13869 case DW_FEATURE_MLE_WORD_WRAP: 13869 case DW_FEATURE_MLE_WORD_WRAP:
13870 case DW_FEATURE_NOTEBOOK_STATUS_TEXT: 13870 case DW_FEATURE_NOTEBOOK_STATUS_TEXT:
13871 case DW_FEATURE_MDI: 13871 case DW_FEATURE_MDI:
13872 case DW_FEATURE_TREE:
13872 return DW_FEATURE_ENABLED; 13873 return DW_FEATURE_ENABLED;
13873 case DW_FEATURE_TASK_BAR: 13874 case DW_FEATURE_TASK_BAR:
13874 { 13875 {
13875 if(hwndTrayServer) 13876 if(hwndTrayServer)
13876 return DW_FEATURE_ENABLED; 13877 return DW_FEATURE_ENABLED;
13904 #endif 13905 #endif
13905 case DW_FEATURE_WINDOW_BORDER: 13906 case DW_FEATURE_WINDOW_BORDER:
13906 case DW_FEATURE_MLE_WORD_WRAP: 13907 case DW_FEATURE_MLE_WORD_WRAP:
13907 case DW_FEATURE_NOTEBOOK_STATUS_TEXT: 13908 case DW_FEATURE_NOTEBOOK_STATUS_TEXT:
13908 case DW_FEATURE_MDI: 13909 case DW_FEATURE_MDI:
13910 case DW_FEATURE_TREE:
13909 return DW_ERROR_GENERAL; 13911 return DW_ERROR_GENERAL;
13910 case DW_FEATURE_TASK_BAR: 13912 case DW_FEATURE_TASK_BAR:
13911 { 13913 {
13912 if(hwndTrayServer) 13914 if(hwndTrayServer)
13913 return DW_ERROR_GENERAL; 13915 return DW_ERROR_GENERAL;