mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
(GLUI) Add 'Hacking the Kernel' theme
This commit is contained in:
parent
8324a03a5e
commit
20d27df27f
@ -8576,6 +8576,10 @@ MSG_HASH(
|
|||||||
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_VIRTUAL_BOY,
|
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_VIRTUAL_BOY,
|
||||||
"Virtual Boy"
|
"Virtual Boy"
|
||||||
)
|
)
|
||||||
|
MSG_HASH(
|
||||||
|
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_HACKING_THE_KERNEL,
|
||||||
|
"Hacking the Kernel"
|
||||||
|
)
|
||||||
MSG_HASH(
|
MSG_HASH(
|
||||||
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_TRANSITION_ANIM_AUTO,
|
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_TRANSITION_ANIM_AUTO,
|
||||||
"Auto"
|
"Auto"
|
||||||
|
@ -1065,6 +1065,51 @@ static const materialui_theme_t materialui_theme_virtual_boy = {
|
|||||||
0.75f /* screen_fade_opacity */
|
0.75f /* screen_fade_opacity */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
static const materialui_theme_t materialui_theme_hacking_the_kernel = {
|
||||||
|
/* Text (& small inline icon) colours */
|
||||||
|
0x00E000, /* on_sys_bar */
|
||||||
|
0x00E02D, /* on_header */
|
||||||
|
0x00E000, /* list_text */
|
||||||
|
0x00E02D, /* list_text_highlighted */
|
||||||
|
0x83FF83, /* list_hint_text */
|
||||||
|
0x83FF83, /* list_hint_text_highlighted */
|
||||||
|
0x83FF83, /* status_bar_text */
|
||||||
|
/* Background colours */
|
||||||
|
0x000000, /* sys_bar_background */
|
||||||
|
0x003400, /* title_bar_background */
|
||||||
|
0x000000, /* list_background */
|
||||||
|
0x022F1C, /* list_highlighted_background */
|
||||||
|
0x002200, /* nav_bar_background */
|
||||||
|
0x022F1C, /* surface_background */
|
||||||
|
0x001100, /* thumbnail_background */
|
||||||
|
0x022F1C, /* side_bar_background */
|
||||||
|
0x002200, /* status_bar_background */
|
||||||
|
/* List icon colours */
|
||||||
|
0x008C00, /* list_icon */
|
||||||
|
0x89DE00, /* list_switch_on */
|
||||||
|
0x4A8500, /* list_switch_on_background */
|
||||||
|
0x04804C, /* list_switch_off */
|
||||||
|
0x02663C, /* list_switch_off_background */
|
||||||
|
/* Navigation bar icon colours */
|
||||||
|
0x00E02D, /* nav_bar_icon_active */
|
||||||
|
0x008C00, /* nav_bar_icon_passive */
|
||||||
|
0x000000, /* nav_bar_icon_disabled */
|
||||||
|
/* Misc. colours */
|
||||||
|
0x000000, /* header_shadow */
|
||||||
|
0x08ED8D, /* landscape_border_shadow */
|
||||||
|
0x000000, /* status_bar_shadow */
|
||||||
|
0x00FF00, /* selection_marker_shadow */
|
||||||
|
0x008C00, /* scrollbar */
|
||||||
|
0x006F00, /* divider */
|
||||||
|
0x000000, /* screen_fade */
|
||||||
|
0x008C00, /* missing_thumbnail_icon */
|
||||||
|
0.8f, /* header_shadow_opacity */
|
||||||
|
0.2f, /* landscape_border_shadow_opacity */
|
||||||
|
1.0f, /* status_bar_shadow_opacity */
|
||||||
|
0.12f, /* selection_marker_shadow_opacity */
|
||||||
|
0.85f /* screen_fade_opacity */
|
||||||
|
};
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
/* Text */
|
/* Text */
|
||||||
@ -1672,6 +1717,8 @@ static const materialui_theme_t *materialui_get_theme(enum materialui_color_them
|
|||||||
return &materialui_theme_cutie_red;
|
return &materialui_theme_cutie_red;
|
||||||
case MATERIALUI_THEME_VIRTUAL_BOY:
|
case MATERIALUI_THEME_VIRTUAL_BOY:
|
||||||
return &materialui_theme_virtual_boy;
|
return &materialui_theme_virtual_boy;
|
||||||
|
case MATERIALUI_THEME_HACKING_THE_KERNEL:
|
||||||
|
return &materialui_theme_hacking_the_kernel;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -195,6 +195,7 @@ enum materialui_color_theme
|
|||||||
MATERIALUI_THEME_CUTIE_PURPLE,
|
MATERIALUI_THEME_CUTIE_PURPLE,
|
||||||
MATERIALUI_THEME_CUTIE_RED,
|
MATERIALUI_THEME_CUTIE_RED,
|
||||||
MATERIALUI_THEME_VIRTUAL_BOY,
|
MATERIALUI_THEME_VIRTUAL_BOY,
|
||||||
|
MATERIALUI_THEME_HACKING_THE_KERNEL,
|
||||||
MATERIALUI_THEME_LAST
|
MATERIALUI_THEME_LAST
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -4176,6 +4176,11 @@ static void setting_get_string_representation_uint_materialui_menu_color_theme(
|
|||||||
msg_hash_to_str(
|
msg_hash_to_str(
|
||||||
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_VIRTUAL_BOY), len);
|
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_VIRTUAL_BOY), len);
|
||||||
break;
|
break;
|
||||||
|
case MATERIALUI_THEME_HACKING_THE_KERNEL:
|
||||||
|
strlcpy(s,
|
||||||
|
msg_hash_to_str(
|
||||||
|
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_HACKING_THE_KERNEL), len);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -645,6 +645,7 @@ enum msg_hash_enums
|
|||||||
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_CUTIE_PURPLE,
|
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_CUTIE_PURPLE,
|
||||||
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_CUTIE_RED,
|
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_CUTIE_RED,
|
||||||
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_VIRTUAL_BOY,
|
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_VIRTUAL_BOY,
|
||||||
|
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_COLOR_THEME_HACKING_THE_KERNEL,
|
||||||
|
|
||||||
MENU_LABEL(MATERIALUI_MENU_TRANSITION_ANIMATION),
|
MENU_LABEL(MATERIALUI_MENU_TRANSITION_ANIMATION),
|
||||||
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_TRANSITION_ANIM_AUTO,
|
MENU_ENUM_LABEL_VALUE_MATERIALUI_MENU_TRANSITION_ANIM_AUTO,
|
||||||
|
Loading…
Reference in New Issue
Block a user