treballant en la intro
This commit is contained in:
@@ -83,6 +83,7 @@ void initParam()
|
||||
param.intro.bg_color = Color::fromHex("543149");
|
||||
param.intro.card_color = Color::fromHex("CBDBFC");
|
||||
param.intro.shadow_color = Color::fromHex("00000080");
|
||||
param.intro.text_distance_from_bottom = 48;
|
||||
}
|
||||
|
||||
// Carga los parámetros desde un archivo
|
||||
@@ -465,6 +466,11 @@ bool setParams(const std::string &var, const std::string &value)
|
||||
param.intro.shadow_color = Color::fromHex(value);
|
||||
}
|
||||
|
||||
else if (var == "intro.text_distance_from_bottom")
|
||||
{
|
||||
param.intro.text_distance_from_bottom = std::stoi(value);
|
||||
}
|
||||
|
||||
// DEBUG
|
||||
else if (var == "debug.color")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user