Skip to content

Commit

Permalink
Merge pull request #7117 from alfrix/xmb_exp
Browse files Browse the repository at this point in the history
Add Automatic theme
  • Loading branch information
inactive123 committed Aug 23, 2018
2 parents f357526 + c39ce0e commit b095511
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions intl/msg_hash_us.h
Original file line number Diff line number Diff line change
Expand Up @@ -3294,6 +3294,10 @@ MSG_HASH(
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_DOTART,
"Dot-Art"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_AUTOMATIC,
"Automatic"
)
MSG_HASH(
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME,
"Menu Color Theme"
Expand Down
4 changes: 4 additions & 0 deletions menu/cbs/menu_cbs_get_value.c
Original file line number Diff line number Diff line change
Expand Up @@ -976,6 +976,10 @@ static void menu_action_setting_disp_set_label_xmb_theme(
strlcpy(s,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_CUSTOM), len);
break;
case XMB_ICON_THEME_AUTOMATIC:
strlcpy(s,
msg_hash_to_str(MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_AUTOMATIC), len);
break;
}
}

Expand Down
2 changes: 2 additions & 0 deletions menu/drivers/xmb.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,8 @@ const char* xmb_theme_ident(void)
return "custom";
case XMB_ICON_THEME_MONOCHROME_INVERTED:
return "monochrome-inverted";
case XMB_ICON_THEME_AUTOMATIC:
return "automatic";
case XMB_ICON_THEME_MONOCHROME:
default:
break;
Expand Down
1 change: 1 addition & 0 deletions menu/menu_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ enum xmb_icon_theme
XMB_ICON_THEME_CUSTOM,
XMB_ICON_THEME_RETROSYSTEM,
XMB_ICON_THEME_MONOCHROME_INVERTED,
XMB_ICON_THEME_AUTOMATIC,
XMB_ICON_THEME_LAST
};

Expand Down
1 change: 1 addition & 0 deletions msg_hash.h
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,7 @@ enum msg_hash_enums
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_SYSTEMATIC,
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_DOTART,
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_CUSTOM,
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_AUTOMATIC,

MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_LEGACY_RED,
MENU_ENUM_LABEL_VALUE_XMB_MENU_COLOR_THEME_DARK_PURPLE,
Expand Down

0 comments on commit b095511

Please sign in to comment.