Add Odyssey theme to DJUI

This commit is contained in:
Agent X 2024-06-05 19:33:00 -04:00
parent 6305c20410
commit d1bbc05ece
12 changed files with 55 additions and 2 deletions

View file

@ -156,6 +156,7 @@ FONT_ALIASED = "Hladký"
LIGHT_THEME = "Světlo" LIGHT_THEME = "Světlo"
DARK_THEME = "Tmavý" DARK_THEME = "Tmavý"
MARIO_THEME = "Mario" MARIO_THEME = "Mario"
ODYSSEY_THEME = "Odyssey"
FILE_SELECT_THEME = "Výběr souboru" FILE_SELECT_THEME = "Výběr souboru"
[DYNOS] [DYNOS]

View file

@ -156,6 +156,7 @@ FONT_ALIASED = "Glad"
LIGHT_THEME = "Licht" LIGHT_THEME = "Licht"
DARK_THEME = "Donker" DARK_THEME = "Donker"
MARIO_THEME = "Mario" MARIO_THEME = "Mario"
ODYSSEY_THEME = "Odyssey"
FILE_SELECT_THEME = "Bestand selecteren" FILE_SELECT_THEME = "Bestand selecteren"
[DYNOS] [DYNOS]

View file

@ -156,6 +156,7 @@ FONT_ALIASED = "Aliased"
LIGHT_THEME = "Light" LIGHT_THEME = "Light"
DARK_THEME = "Dark" DARK_THEME = "Dark"
MARIO_THEME = "Mario" MARIO_THEME = "Mario"
ODYSSEY_THEME = "Odyssey"
FILE_SELECT_THEME = "File Select" FILE_SELECT_THEME = "File Select"
[DYNOS] [DYNOS]

View file

@ -156,6 +156,7 @@ FONT_ALIASED = "Lisse"
LIGHT_THEME = "Clair" LIGHT_THEME = "Clair"
DARK_THEME = "Sombre" DARK_THEME = "Sombre"
MARIO_THEME = "Mario" MARIO_THEME = "Mario"
ODYSSEY_THEME = "Odyssey"
FILE_SELECT_THEME = "Sélection de fichier" FILE_SELECT_THEME = "Sélection de fichier"
[DYNOS] [DYNOS]

View file

@ -156,6 +156,7 @@ FONT_ALIASED = "Glatt"
LIGHT_THEME = "Litch" LIGHT_THEME = "Litch"
DARK_THEME = "Dunkel" DARK_THEME = "Dunkel"
MARIO_THEME = "Mario" MARIO_THEME = "Mario"
ODYSSEY_THEME = "Odyssey"
FILE_SELECT_THEME = "Dateiauswahl" FILE_SELECT_THEME = "Dateiauswahl"
[DYNOS] [DYNOS]

View file

@ -154,6 +154,7 @@ FONT_ALIASED = "Liscio"
LIGHT_THEME = "Luce" LIGHT_THEME = "Luce"
DARK_THEME = "Scuro" DARK_THEME = "Scuro"
MARIO_THEME = "Mario" MARIO_THEME = "Mario"
ODYSSEY_THEME = "Odyssey"
FILE_SELECT_THEME = "Selezione file" FILE_SELECT_THEME = "Selezione file"
[DYNOS] [DYNOS]

View file

@ -156,6 +156,7 @@ FONT_ALIASED = "Gładki"
LIGHT_THEME = "Światło" LIGHT_THEME = "Światło"
DARK_THEME = "Ciemny" DARK_THEME = "Ciemny"
MARIO_THEME = "Mario" MARIO_THEME = "Mario"
ODYSSEY_THEME = "Odyssey"
FILE_SELECT_THEME = "Wybór Pliku" FILE_SELECT_THEME = "Wybór Pliku"
[DYNOS] [DYNOS]

View file

@ -156,6 +156,7 @@ FONT_ALIASED = "Suave"
LIGHT_THEME = "Claro" LIGHT_THEME = "Claro"
DARK_THEME = "Escuro" DARK_THEME = "Escuro"
MARIO_THEME = "Mario" MARIO_THEME = "Mario"
ODYSSEY_THEME = "Odyssey"
FILE_SELECT_THEME = "Escolha de arquivo" FILE_SELECT_THEME = "Escolha de arquivo"
[DYNOS] [DYNOS]

View file

@ -155,6 +155,7 @@ FONT_ALIASED = "Гладкий"
LIGHT_THEME = "Свет" LIGHT_THEME = "Свет"
DARK_THEME = "Темный" DARK_THEME = "Темный"
MARIO_THEME = "Mario" MARIO_THEME = "Mario"
ODYSSEY_THEME = "Одиссеи"
FILE_SELECT_THEME = "Выбор файла" FILE_SELECT_THEME = "Выбор файла"
[DYNOS] [DYNOS]

View file

@ -156,6 +156,7 @@ FONT_ALIASED = "Alias"
LIGHT_THEME = "Claro" LIGHT_THEME = "Claro"
DARK_THEME = "Oscuro" DARK_THEME = "Oscuro"
MARIO_THEME = "Mario" MARIO_THEME = "Mario"
ODYSSEY_THEME = "Odyssey"
FILE_SELECT_THEME = "Selección de archivo" FILE_SELECT_THEME = "Selección de archivo"
[DYNOS] [DYNOS]

View file

@ -160,7 +160,48 @@ static struct DjuiTheme sDjuiThemeMario = {
} }
}, },
.panels = { .panels = {
.hudFontHeader = true .hudFontHeader = false
}
};
static struct DjuiTheme sDjuiThemeOdyssey = {
.id = "ODYSSEY_THEME",
.name = "ODYSSEY_THEME",
.interactables = {
.textColor = {
11, 11, 11, 255
},
.defaultRectColor = {
255, 255, 255, 255
},
.cursorDownRectColor = {
204, 228, 247, 255
},
.hoveredRectColor = {
229, 241, 251, 255
},
.defaultBorderColor = {
200, 200, 200, 255
},
.cursorDownBorderColor = {
0, 84, 153, 255
},
.hoveredBorderColor = {
0, 120, 215, 255
}
},
.threePanels = {
.rectColor = {
247, 0, 37, 200
},
.borderColor = {
255, 255, 255, 200
}
},
.panels = {
.hudFontHeader = false
} }
}; };
@ -168,7 +209,8 @@ struct DjuiTheme* gDjuiThemes[] = {
&sDjuiThemeLight, &sDjuiThemeLight,
&sDjuiThemeDark, &sDjuiThemeDark,
&sDjuiThemeFileSelect, &sDjuiThemeFileSelect,
&sDjuiThemeMario &sDjuiThemeMario,
&sDjuiThemeOdyssey
}; };
struct DjuiColor djui_theme_shade_color(struct DjuiColor color, f32 mult) { struct DjuiColor djui_theme_shade_color(struct DjuiColor color, f32 mult) {

View file

@ -9,6 +9,7 @@ enum DjuiThemeType {
DJUI_THEME_DARK, DJUI_THEME_DARK,
DJUI_THEME_FILE_SELECT, DJUI_THEME_FILE_SELECT,
DJUI_THEME_MARIO, DJUI_THEME_MARIO,
DJUI_THEME_ODYSSEY,
DJUI_THEME_MAX DJUI_THEME_MAX
}; };