Mercurial > dwindows
comparison android/dw.cpp @ 2802:f910da0418f6
Android: Report tree widget supported in feature tests in 3.3.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 18 Jul 2022 19:36:08 +0000 |
parents | b004cc75d574 |
children | e0ac1ef1c85b |
comparison
equal
deleted
inserted
replaced
2801:b004cc75d574 | 2802:f910da0418f6 |
---|---|
7898 case DW_FEATURE_HTML_RESULT: /* Supports the DW_SIGNAL_HTML_RESULT callback */ | 7898 case DW_FEATURE_HTML_RESULT: /* Supports the DW_SIGNAL_HTML_RESULT callback */ |
7899 case DW_FEATURE_NOTIFICATION: /* Supports sending system notifications */ | 7899 case DW_FEATURE_NOTIFICATION: /* Supports sending system notifications */ |
7900 case DW_FEATURE_UTF8_UNICODE: /* Supports UTF8 encoded Unicode text */ | 7900 case DW_FEATURE_UTF8_UNICODE: /* Supports UTF8 encoded Unicode text */ |
7901 case DW_FEATURE_MLE_WORD_WRAP: /* Supports word wrapping in Multi-line Edit boxes */ | 7901 case DW_FEATURE_MLE_WORD_WRAP: /* Supports word wrapping in Multi-line Edit boxes */ |
7902 case DW_FEATURE_CONTAINER_STRIPE: /* Supports striped line display in container widgets */ | 7902 case DW_FEATURE_CONTAINER_STRIPE: /* Supports striped line display in container widgets */ |
7903 case DW_FEATURE_TREE: /* Supports the Tree Widget */ | |
7903 return DW_FEATURE_ENABLED; | 7904 return DW_FEATURE_ENABLED; |
7904 case DW_FEATURE_DARK_MODE: /* Supports Dark Mode user interface */ | 7905 case DW_FEATURE_DARK_MODE: /* Supports Dark Mode user interface */ |
7905 { | 7906 { |
7906 /* Dark Mode on Android requires Android 10 (API 29) */ | 7907 /* Dark Mode on Android requires Android 10 (API 29) */ |
7907 if(_dw_android_api >= 29) { | 7908 if(_dw_android_api >= 29) { |
7936 case DW_FEATURE_HTML_RESULT: /* Supports the DW_SIGNAL_HTML_RESULT callback */ | 7937 case DW_FEATURE_HTML_RESULT: /* Supports the DW_SIGNAL_HTML_RESULT callback */ |
7937 case DW_FEATURE_NOTIFICATION: /* Supports sending system notifications */ | 7938 case DW_FEATURE_NOTIFICATION: /* Supports sending system notifications */ |
7938 case DW_FEATURE_UTF8_UNICODE: /* Supports UTF8 encoded Unicode text */ | 7939 case DW_FEATURE_UTF8_UNICODE: /* Supports UTF8 encoded Unicode text */ |
7939 case DW_FEATURE_MLE_WORD_WRAP: /* Supports word wrapping in Multi-line Edit boxes */ | 7940 case DW_FEATURE_MLE_WORD_WRAP: /* Supports word wrapping in Multi-line Edit boxes */ |
7940 case DW_FEATURE_CONTAINER_STRIPE: /* Supports striped line display in container widgets */ | 7941 case DW_FEATURE_CONTAINER_STRIPE: /* Supports striped line display in container widgets */ |
7942 case DW_FEATURE_TREE: /* Supports the Tree Widget */ | |
7941 return DW_ERROR_GENERAL; | 7943 return DW_ERROR_GENERAL; |
7942 /* These features are supported and configurable */ | 7944 /* These features are supported and configurable */ |
7943 case DW_FEATURE_DARK_MODE: /* Supports Dark Mode user interface */ | 7945 case DW_FEATURE_DARK_MODE: /* Supports Dark Mode user interface */ |
7944 { | 7946 { |
7945 /* Dark Mode on Android requires 10 (API 29) */ | 7947 /* Dark Mode on Android requires 10 (API 29) */ |