mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-07-03 00:39:02 +00:00
Make the progressbar color Customizable.
Scripts can have their own progressbar color as well.
This commit is contained in:
@@ -267,6 +267,7 @@ u32 bgBottomColor;
|
||||
u32 TextColor;
|
||||
u32 selected;
|
||||
u32 unselected;
|
||||
u32 progressBar;
|
||||
|
||||
void loadColors(nlohmann::json &json) {
|
||||
u32 colorTemp;
|
||||
@@ -287,6 +288,9 @@ void loadColors(nlohmann::json &json) {
|
||||
|
||||
colorTemp = getColor(get(json, "info", "unselectedColor"));
|
||||
unselected = colorTemp == 0 ? Config::UnselectedColor : colorTemp;
|
||||
|
||||
colorTemp = getColor(get(json, "info", "progressbarColor"));
|
||||
progressBar = colorTemp == 0 ? Config::progressbarColor : colorTemp;
|
||||
}
|
||||
|
||||
ScriptList::ScriptList() {
|
||||
|
||||
Reference in New Issue
Block a user