diff options
Diffstat (limited to 'apps/gui')
-rw-r--r-- | apps/gui/skin_engine/skin_parser.c | 6 | ||||
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index ed475acb2b..43c2ffa304 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c | |||
@@ -1031,6 +1031,12 @@ static bool check_feature_tag(const int type) | |||
1031 | return true; | 1031 | return true; |
1032 | #endif | 1032 | #endif |
1033 | return false; | 1033 | return false; |
1034 | case SKIN_TOKEN_HAVE_TOUCH: | ||
1035 | #ifdef HAVE_TOUCHSCREEN | ||
1036 | return true; | ||
1037 | #else | ||
1038 | return false; | ||
1039 | #endif | ||
1034 | 1040 | ||
1035 | #if CONFIG_TUNER | 1041 | #if CONFIG_TUNER |
1036 | case SKIN_TOKEN_HAVE_RDS: | 1042 | case SKIN_TOKEN_HAVE_RDS: |
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index 0af2e9dd6b..665e73a545 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c | |||
@@ -1377,6 +1377,12 @@ const char *get_token_value(struct gui_wps *gwps, | |||
1377 | #endif | 1377 | #endif |
1378 | } | 1378 | } |
1379 | return NULL; | 1379 | return NULL; |
1380 | case SKIN_TOKEN_HAVE_TOUCH: | ||
1381 | #ifdef HAVE_TOUCHSCREEN | ||
1382 | return "t"; | ||
1383 | #else | ||
1384 | return NULL; | ||
1385 | #endif | ||
1380 | 1386 | ||
1381 | case SKIN_TOKEN_SETTING: | 1387 | case SKIN_TOKEN_SETTING: |
1382 | { | 1388 | { |