Intro: les tarjetes ara tenen sombra
Intro: colors configurables a param
This commit is contained in:
@@ -78,6 +78,11 @@ void initParam()
|
||||
param.notification.pos_h = NotifyPosition::LEFT;
|
||||
param.notification.sound = false;
|
||||
param.notification.color = Color(48, 48, 48);
|
||||
|
||||
// INTRO
|
||||
param.intro.bg_color = Color::fromHex("543149");
|
||||
param.intro.card_color = Color::fromHex("CBDBFC");
|
||||
param.intro.shadow_color = Color::fromHex("00000080");
|
||||
}
|
||||
|
||||
// Carga los parámetros desde un archivo
|
||||
@@ -455,6 +460,11 @@ bool setParams(const std::string &var, const std::string &value)
|
||||
param.intro.card_color = Color::fromHex(value);
|
||||
}
|
||||
|
||||
else if (var == "intro.shadow_color")
|
||||
{
|
||||
param.intro.shadow_color = Color::fromHex(value);
|
||||
}
|
||||
|
||||
// DEBUG
|
||||
else if (var == "debug.color")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user