RetroArch
Functions | Variables
ozone_theme.c File Reference
#include "ozone.h"
#include "ozone_theme.h"
#include "ozone_display.h"
Include dependency graph for ozone_theme.c:

Functions

void ozone_set_color_theme (ozone_handle_t *ozone, unsigned color_theme)
 
unsigned ozone_get_system_theme (void)
 

Variables

ozone_theme_t ozone_theme_light
 
ozone_theme_t ozone_theme_dark
 
ozone_theme_tozone_themes []
 
unsigned ozone_themes_count = sizeof(ozone_themes) / sizeof(ozone_themes[0])
 
unsigned last_color_theme = 0
 
bool last_use_preferred_system_color_theme = false
 
ozone_theme_tozone_default_theme = &ozone_theme_light
 

Function Documentation

◆ ozone_get_system_theme()

unsigned ozone_get_system_theme ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ozone_set_color_theme()

void ozone_set_color_theme ( ozone_handle_t ozone,
unsigned  color_theme 
)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ last_color_theme

unsigned last_color_theme = 0

◆ last_use_preferred_system_color_theme

bool last_use_preferred_system_color_theme = false

◆ ozone_default_theme

ozone_theme_t* ozone_default_theme = &ozone_theme_light

◆ ozone_theme_dark

ozone_theme_t ozone_theme_dark
Initial value:
= {
COLOR_HEX_TO_FLOAT(0x2D2D2D, 1.00),
COLOR_HEX_TO_FLOAT(0xFFFFFF, 1.00),
COLOR_HEX_TO_FLOAT(0xFFFFFF, 1.00),
COLOR_HEX_TO_FLOAT(0x212227, 1.00),
COLOR_HEX_TO_FLOAT(0x2DA3CB, 1.00),
COLOR_HEX_TO_FLOAT(0x51514F, 1.00),
COLOR_HEX_TO_FLOAT(0xFFFFFF, 1.00),
COLOR_HEX_TO_FLOAT(0x00D9AE, 1.00),
COLOR_HEX_TO_FLOAT(0x464646, 1.00),
0xFFFFFFFF,
0x00FFC5FF,
0x9F9FA1FF,
{0},
"dark"
}
static float ozone_border_1_dark[16]
Definition: ozone_theme.h:105
static float ozone_sidebar_gradient_bottom_dark[16]
Definition: ozone_theme.h:94
static float ozone_background_libretro_running_dark[16]
Definition: ozone_theme.h:114
static float ozone_border_0_dark[16]
Definition: ozone_theme.h:104
static float ozone_sidebar_background_dark[16]
Definition: ozone_theme.h:80
#define COLOR_HEX_TO_FLOAT(hex, alpha)
Definition: ozone_theme.h:29
static float ozone_sidebar_gradient_top_dark[16]
Definition: ozone_theme.h:87

◆ ozone_theme_light

ozone_theme_t ozone_theme_light
Initial value:
= {
COLOR_HEX_TO_FLOAT(0xEBEBEB, 1.00),
COLOR_HEX_TO_FLOAT(0x2B2B2B, 1.00),
COLOR_HEX_TO_FLOAT(0x333333, 1.00),
COLOR_HEX_TO_FLOAT(0xFFFFFF, 1.00),
COLOR_HEX_TO_FLOAT(0x10BEC5, 1.00),
COLOR_HEX_TO_FLOAT(0xCDCDCD, 1.00),
COLOR_HEX_TO_FLOAT(0x333333, 1.00),
COLOR_HEX_TO_FLOAT(0x374CFF, 1.00),
COLOR_HEX_TO_FLOAT(0xF0F0F0, 1.00),
0x333333FF,
0x374CFFFF,
0x878787FF,
{0},
"light"
}
static float ozone_border_0_light[16]
Definition: ozone_theme.h:101
static float ozone_sidebar_gradient_bottom_light[16]
Definition: ozone_theme.h:73
static float ozone_sidebar_background_light[16]
Definition: ozone_theme.h:59
static float ozone_background_libretro_running_light[16]
Definition: ozone_theme.h:107
#define COLOR_HEX_TO_FLOAT(hex, alpha)
Definition: ozone_theme.h:29
static float ozone_sidebar_gradient_top_light[16]
Definition: ozone_theme.h:66
static float ozone_border_1_light[16]
Definition: ozone_theme.h:102

◆ ozone_themes

ozone_theme_t* ozone_themes[]
Initial value:
= {
}
ozone_theme_t ozone_theme_light
Definition: ozone_theme.c:21
ozone_theme_t ozone_theme_dark
Definition: ozone_theme.c:50

◆ ozone_themes_count

unsigned ozone_themes_count = sizeof(ozone_themes) / sizeof(ozone_themes[0])