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"
DARK_THEME = "Tmavý"
MARIO_THEME = "Mario"
ODYSSEY_THEME = "Odyssey"
FILE_SELECT_THEME = "Výběr souboru"
[DYNOS]

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -160,7 +160,48 @@ static struct DjuiTheme sDjuiThemeMario = {
}
},
.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,
&sDjuiThemeDark,
&sDjuiThemeFileSelect,
&sDjuiThemeMario
&sDjuiThemeMario,
&sDjuiThemeOdyssey
};
struct DjuiColor djui_theme_shade_color(struct DjuiColor color, f32 mult) {

View File

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