mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
Revert "I have added a new theme for Ozone (Ocean Blue)"
This commit is contained in:
parent
e596bf7925
commit
f9c0cb198c
@ -5363,7 +5363,7 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_PLAYLIST_SUBLABEL_LAST_PLAYED,
|
||||
"Last Played:"
|
||||
)
|
||||
MSG_HASH(
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_PLAYLIST_SHOW_ENTRY_IDX,
|
||||
"Show Playlist Entry Index"
|
||||
)
|
||||
@ -6221,7 +6221,7 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_CONTENT_INFO_PATH,
|
||||
"File Path"
|
||||
)
|
||||
MSG_HASH(
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_CONTENT_INFO_ENTRY_IDX,
|
||||
"Entry: %lu/%lu"
|
||||
)
|
||||
@ -9076,10 +9076,6 @@ MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_DRACULA,
|
||||
"Dracula"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_OCEAN_BLUE,
|
||||
"Ocean Blue"
|
||||
)
|
||||
MSG_HASH(
|
||||
MENU_ENUM_LABEL_VALUE_LEFT_THUMBNAILS_OZONE,
|
||||
"Second Thumbnail"
|
||||
|
@ -21,26 +21,6 @@
|
||||
#include "ozone_theme.h"
|
||||
#include "ozone_display.h"
|
||||
|
||||
/* The colours use the 4x4 RGBA format with a 0-1 spectrum instead of the typical 0-255 for the RGB colours.
|
||||
* It's recommended to divide the colours by 255 in a regular spectrum first.
|
||||
* The A at the end represents the alpha/transparency.
|
||||
* The RGBA colour of each of the 4 corners is determined clockwise (Upper-Left, Upper-Right, Bottom-Right, Bottom-Left)
|
||||
*/
|
||||
|
||||
static float ozone_background_libretro_running_light[16] = {
|
||||
0.690, 0.690, 0.690, 0.75,
|
||||
0.690, 0.690, 0.690, 0.75,
|
||||
0.922, 0.922, 0.922, 1.0,
|
||||
0.922, 0.922, 0.922, 1.0
|
||||
};
|
||||
|
||||
static float ozone_sidebar_background_light[16] = {
|
||||
0.94, 0.94, 0.94, 1.00,
|
||||
0.94, 0.94, 0.94, 1.00,
|
||||
0.94, 0.94, 0.94, 1.00,
|
||||
0.94, 0.94, 0.94, 1.00,
|
||||
};
|
||||
|
||||
static float ozone_sidebar_gradient_top_light[16] = {
|
||||
0.94, 0.94, 0.94, 1.00,
|
||||
0.94, 0.94, 0.94, 1.00,
|
||||
@ -55,20 +35,6 @@ static float ozone_sidebar_gradient_bottom_light[16] = {
|
||||
0.94, 0.94, 0.94, 1.00,
|
||||
};
|
||||
|
||||
static float ozone_background_libretro_running_dark[16] = {
|
||||
0.176, 0.176, 0.176, 0.75,
|
||||
0.176, 0.176, 0.176, 0.75,
|
||||
0.178, 0.178, 0.178, 1.0,
|
||||
0.178, 0.178, 0.178, 1.0,
|
||||
};
|
||||
|
||||
static float ozone_sidebar_background_dark[16] = {
|
||||
0.2, 0.2, 0.2, 1.00,
|
||||
0.2, 0.2, 0.2, 1.00,
|
||||
0.2, 0.2, 0.2, 1.00,
|
||||
0.2, 0.2, 0.2, 1.00,
|
||||
};
|
||||
|
||||
static float ozone_sidebar_gradient_top_dark[16] = {
|
||||
0.2, 0.2, 0.2, 1.00,
|
||||
0.2, 0.2, 0.2, 1.00,
|
||||
@ -83,20 +49,6 @@ static float ozone_sidebar_gradient_bottom_dark[16] = {
|
||||
0.2, 0.2, 0.2, 1.00,
|
||||
};
|
||||
|
||||
static float ozone_background_libretro_running_nord[16] = {
|
||||
0.1803922f, 0.2039216f, 0.2509804f, 0.75f,
|
||||
0.1803922f, 0.2039216f, 0.2509804f, 0.75f,
|
||||
0.1803922f, 0.2039216f, 0.2509804f, 1.0f,
|
||||
0.1803922f, 0.2039216f, 0.2509804f, 1.0f,
|
||||
};
|
||||
|
||||
static float ozone_sidebar_background_nord[16] = {
|
||||
0.2078431f, 0.2352941f, 0.2901961f, 1.0f,
|
||||
0.2078431f, 0.2352941f, 0.2901961f, 1.0f,
|
||||
0.2078431f, 0.2352941f, 0.2901961f, 1.0f,
|
||||
0.2078431f, 0.2352941f, 0.2901961f, 1.0f,
|
||||
};
|
||||
|
||||
static float ozone_sidebar_gradient_top_nord[16] = {
|
||||
0.2078431f, 0.2352941f, 0.2901961f, 1.0f,
|
||||
0.2078431f, 0.2352941f, 0.2901961f, 1.0f,
|
||||
@ -111,20 +63,6 @@ static float ozone_sidebar_gradient_bottom_nord[16] = {
|
||||
0.2078431f, 0.2352941f, 0.2901961f, 1.0f,
|
||||
};
|
||||
|
||||
static float ozone_background_libretro_running_gruvbox_dark[16] = {
|
||||
0.1568627f, 0.1568627f, 0.1568627f, 0.75f,
|
||||
0.1568627f, 0.1568627f, 0.1568627f, 0.75f,
|
||||
0.1568627f, 0.1568627f, 0.1568627f, 1.0f,
|
||||
0.1568627f, 0.1568627f, 0.1568627f, 1.0f,
|
||||
};
|
||||
|
||||
static float ozone_sidebar_background_gruvbox_dark[16] = {
|
||||
0.1960784f, 0.1882353f, 0.1843137f, 1.0f,
|
||||
0.1960784f, 0.1882353f, 0.1843137f, 1.0f,
|
||||
0.1960784f, 0.1882353f, 0.1843137f, 1.0f,
|
||||
0.1960784f, 0.1882353f, 0.1843137f, 1.0f,
|
||||
};
|
||||
|
||||
static float ozone_sidebar_gradient_top_gruvbox_dark[16] = {
|
||||
0.1960784f, 0.1882353f, 0.1843137f, 1.0f,
|
||||
0.1960784f, 0.1882353f, 0.1843137f, 1.0f,
|
||||
@ -139,6 +77,62 @@ static float ozone_sidebar_gradient_bottom_gruvbox_dark[16] = {
|
||||
0.1960784f, 0.1882353f, 0.1843137f, 1.0f,
|
||||
};
|
||||
|
||||
static float ozone_sidebar_background_light[16] = {
|
||||
0.94, 0.94, 0.94, 1.00,
|
||||
0.94, 0.94, 0.94, 1.00,
|
||||
0.94, 0.94, 0.94, 1.00,
|
||||
0.94, 0.94, 0.94, 1.00,
|
||||
};
|
||||
|
||||
static float ozone_sidebar_background_dark[16] = {
|
||||
0.2, 0.2, 0.2, 1.00,
|
||||
0.2, 0.2, 0.2, 1.00,
|
||||
0.2, 0.2, 0.2, 1.00,
|
||||
0.2, 0.2, 0.2, 1.00,
|
||||
};
|
||||
|
||||
static float ozone_sidebar_background_nord[16] = {
|
||||
0.2078431f, 0.2352941f, 0.2901961f, 1.0f,
|
||||
0.2078431f, 0.2352941f, 0.2901961f, 1.0f,
|
||||
0.2078431f, 0.2352941f, 0.2901961f, 1.0f,
|
||||
0.2078431f, 0.2352941f, 0.2901961f, 1.0f,
|
||||
};
|
||||
|
||||
static float ozone_sidebar_background_gruvbox_dark[16] = {
|
||||
0.1960784f, 0.1882353f, 0.1843137f, 1.0f,
|
||||
0.1960784f, 0.1882353f, 0.1843137f, 1.0f,
|
||||
0.1960784f, 0.1882353f, 0.1843137f, 1.0f,
|
||||
0.1960784f, 0.1882353f, 0.1843137f, 1.0f,
|
||||
};
|
||||
|
||||
static float ozone_background_libretro_running_light[16] = {
|
||||
0.690, 0.690, 0.690, 0.75,
|
||||
0.690, 0.690, 0.690, 0.75,
|
||||
0.922, 0.922, 0.922, 1.0,
|
||||
0.922, 0.922, 0.922, 1.0
|
||||
};
|
||||
|
||||
static float ozone_background_libretro_running_dark[16] = {
|
||||
0.176, 0.176, 0.176, 0.75,
|
||||
0.176, 0.176, 0.176, 0.75,
|
||||
0.178, 0.178, 0.178, 1.0,
|
||||
0.178, 0.178, 0.178, 1.0,
|
||||
};
|
||||
|
||||
static float ozone_background_libretro_running_nord[16] = {
|
||||
0.1803922f, 0.2039216f, 0.2509804f, 0.75f,
|
||||
0.1803922f, 0.2039216f, 0.2509804f, 0.75f,
|
||||
0.1803922f, 0.2039216f, 0.2509804f, 1.0f,
|
||||
0.1803922f, 0.2039216f, 0.2509804f, 1.0f,
|
||||
};
|
||||
|
||||
static float ozone_background_libretro_running_gruvbox_dark[16] = {
|
||||
0.1568627f, 0.1568627f, 0.1568627f, 0.75f,
|
||||
0.1568627f, 0.1568627f, 0.1568627f, 0.75f,
|
||||
0.1568627f, 0.1568627f, 0.1568627f, 1.0f,
|
||||
0.1568627f, 0.1568627f, 0.1568627f, 1.0f,
|
||||
};
|
||||
|
||||
static float ozone_background_libretro_running_boysenberry[16] = {
|
||||
0.27058823529, 0.09803921568, 0.14117647058, 0.75f,
|
||||
0.27058823529, 0.09803921568, 0.14117647058, 0.75f,
|
||||
@ -251,33 +245,6 @@ static float ozone_sidebar_gradient_bottom_dracula[16] = {
|
||||
0.2666666, 0.2784314, 0.3529412, 1.0f,
|
||||
};
|
||||
|
||||
static float ozone_background_libretro_running_ocean_blue[16] = {
|
||||
0.05, 0.79, 0.87, 0.75f,
|
||||
0.05, 0.79, 0.87, 0.75f,
|
||||
0.05, 0.79, 0.87, 0.75f,
|
||||
0.05, 0.79, 0.87, 0.75f
|
||||
};
|
||||
|
||||
static float ozone_sidebar_background_ocean_blue[16] = {
|
||||
0.05, 0.79, 0.87, 1.0f,
|
||||
0.05, 0.79, 0.87, 1.0f,
|
||||
0.05, 0.79, 0.87, 1.0f,
|
||||
0.05, 0.79, 0.87, 1.0f,
|
||||
};
|
||||
|
||||
static float ozone_sidebar_gradient_top_ocean_blue[16] = {
|
||||
0.04, 0.64, 0.71, 1.0f,
|
||||
0.04, 0.64, 0.71, 1.0f,
|
||||
0.05, 0.79, 0.87, 1.0f,
|
||||
0.05, 0.79, 0.87, 1.0f,
|
||||
};
|
||||
|
||||
static float ozone_sidebar_gradient_bottom_ocean_blue[16] = {
|
||||
0.05, 0.79, 0.87, 1.0f,
|
||||
0.05, 0.79, 0.87, 1.0f,
|
||||
0.04, 0.64, 0.71, 1.0f,
|
||||
0.04, 0.64, 0.71, 1.0f,
|
||||
};
|
||||
|
||||
static float ozone_border_0_light[16] = COLOR_HEX_TO_FLOAT(0x50EFD9, 1.00);
|
||||
static float ozone_border_1_light[16] = COLOR_HEX_TO_FLOAT(0x0DB6D5, 1.00);
|
||||
@ -303,9 +270,6 @@ static float ozone_border_1_twilight_zone[16] = COLOR_HEX_TO_FLOAT(0x9B61CC, 1.0
|
||||
static float ozone_border_0_dracula[16] = COLOR_HEX_TO_FLOAT(0xC3A0E0, 1.0f);
|
||||
static float ozone_border_1_dracula[16] = COLOR_HEX_TO_FLOAT(0x9B61CC, 1.0f);
|
||||
|
||||
static float ozone_border_0_ocean_blue[16] = COLOR_HEX_TO_FLOAT(0x000000, 0);
|
||||
static float ozone_border_1_ocean_blue[16] = COLOR_HEX_TO_FLOAT(0xFFFFFF, 1.0f);
|
||||
|
||||
|
||||
ozone_theme_t ozone_theme_light = {
|
||||
COLOR_HEX_TO_FLOAT(0xEBEBEB, 1.00), /* background */
|
||||
@ -593,38 +557,6 @@ ozone_theme_t ozone_theme_dracula = {
|
||||
"dracula" /* name */
|
||||
};
|
||||
|
||||
ozone_theme_t ozone_theme_ocean_blue = {
|
||||
COLOR_HEX_TO_FLOAT(0x0DC9DE, 1.0f), /* background */
|
||||
ozone_background_libretro_running_ocean_blue, /* background_libretro_running */
|
||||
|
||||
COLOR_HEX_TO_FLOAT(0x065E69, 1.0f), /* header_footer_separator */
|
||||
COLOR_HEX_TO_FLOAT(0x065E69, 1.0f), /* text */
|
||||
COLOR_HEX_TO_FLOAT(0x17E8FF, 1.0f), /* selection */
|
||||
COLOR_HEX_TO_FLOAT(0xFFFFFF, 0.5f), /* selection_border */
|
||||
COLOR_HEX_TO_FLOAT(0x054C54, 1.0f), /* entries_border */
|
||||
COLOR_HEX_TO_FLOAT(0x065E69, 1.0f), /* entries_icon */
|
||||
COLOR_HEX_TO_FLOAT(0x000000, 1.0f), /* text_selected */
|
||||
COLOR_HEX_TO_FLOAT(0x0A9BAB, 1.0f), /* message_background */
|
||||
|
||||
0x065E69FF, /* text_rgba */
|
||||
0x000000FF, /* text_selected_rgba */
|
||||
0x054C54FF, /* text_sublabel_rgba */
|
||||
|
||||
/* Screensaver 'tint' (RGB24) */
|
||||
0xAEE5EB, /* screensaver_tint */
|
||||
|
||||
ozone_sidebar_background_ocean_blue, /* sidebar_background */
|
||||
ozone_sidebar_gradient_top_ocean_blue, /* sidebar_top_gradient */
|
||||
ozone_sidebar_gradient_bottom_ocean_blue, /* sidebar_bottom_gradient */
|
||||
|
||||
ozone_border_0_ocean_blue, /* cursor_border_0 */
|
||||
ozone_border_1_ocean_blue, /* cursor_border_1 */
|
||||
|
||||
{0}, /* textures */
|
||||
|
||||
"ocean_blue" /* name */
|
||||
};
|
||||
|
||||
|
||||
ozone_theme_t *ozone_themes[] = {
|
||||
&ozone_theme_light,
|
||||
@ -634,8 +566,7 @@ ozone_theme_t *ozone_themes[] = {
|
||||
&ozone_theme_boysenberry,
|
||||
&ozone_theme_hacking_the_kernel,
|
||||
&ozone_theme_twilight_zone,
|
||||
&ozone_theme_dracula,
|
||||
&ozone_theme_ocean_blue
|
||||
&ozone_theme_dracula
|
||||
|
||||
};
|
||||
|
||||
@ -681,9 +612,6 @@ void ozone_set_color_theme(ozone_handle_t *ozone, unsigned color_theme)
|
||||
case OZONE_COLOR_THEME_DRACULA:
|
||||
theme = &ozone_theme_dracula;
|
||||
break;
|
||||
case OZONE_COLOR_THEME_OCEAN_BLUE:
|
||||
theme = &ozone_theme_ocean_blue;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
@ -68,7 +68,6 @@ extern ozone_theme_t ozone_theme_boysenberry;
|
||||
extern ozone_theme_t ozone_theme_hacking_the_kernel;
|
||||
extern ozone_theme_t ozone_theme_twilight_zone;
|
||||
extern ozone_theme_t ozone_theme_dracula;
|
||||
extern ozone_theme_t ozone_theme_ocean_blue;
|
||||
|
||||
extern ozone_theme_t *ozone_themes[];
|
||||
|
||||
|
@ -365,7 +365,6 @@ enum ozone_color_theme
|
||||
OZONE_COLOR_THEME_HACKING_THE_KERNEL,
|
||||
OZONE_COLOR_THEME_TWILIGHT_ZONE,
|
||||
OZONE_COLOR_THEME_DRACULA,
|
||||
OZONE_COLOR_THEME_OCEAN_BLUE,
|
||||
OZONE_COLOR_THEME_LAST
|
||||
};
|
||||
|
||||
|
@ -4672,11 +4672,6 @@ static void setting_get_string_representation_uint_ozone_menu_color_theme(
|
||||
msg_hash_to_str(
|
||||
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_DRACULA), len);
|
||||
break;
|
||||
case OZONE_COLOR_THEME_OCEAN_BLUE:
|
||||
strlcpy(s,
|
||||
msg_hash_to_str(
|
||||
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_OCEAN_BLUE), len);
|
||||
break;
|
||||
case OZONE_COLOR_THEME_BASIC_WHITE:
|
||||
default:
|
||||
strlcpy(s,
|
||||
@ -7594,7 +7589,7 @@ static void general_write_handler(rarch_setting_t *setting)
|
||||
}
|
||||
break;
|
||||
case MENU_ENUM_LABEL_INPUT_MAX_USERS:
|
||||
command_event(CMD_EVENT_CONTROLLER_INIT, NULL);
|
||||
command_event(CMD_EVENT_CONTROLLER_INIT, NULL);
|
||||
break;
|
||||
case MENU_ENUM_LABEL_INPUT_PLAYER1_JOYPAD_INDEX:
|
||||
case MENU_ENUM_LABEL_INPUT_PLAYER2_JOYPAD_INDEX:
|
||||
@ -18042,7 +18037,7 @@ static bool setting_append_list(
|
||||
SD_FLAG_NONE
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
CONFIG_UINT(
|
||||
list, list_info,
|
||||
&settings->uints.playlist_sublabel_runtime_type,
|
||||
|
@ -601,7 +601,6 @@ enum msg_hash_enums
|
||||
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_HACKING_THE_KERNEL,
|
||||
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_TWILIGHT_ZONE,
|
||||
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_DRACULA,
|
||||
MENU_ENUM_LABEL_VALUE_OZONE_COLOR_THEME_OCEAN_BLUE,
|
||||
|
||||
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_MONOCHROME,
|
||||
MENU_ENUM_LABEL_VALUE_XMB_ICON_THEME_MONOCHROME_INVERTED,
|
||||
|
Loading…
x
Reference in New Issue
Block a user