Añadido el color del borde para cada habitación

This commit is contained in:
2022-09-05 13:51:55 +02:00
parent 87d7bd03ff
commit a121850adb
13 changed files with 37 additions and 20 deletions

View File

@@ -145,7 +145,7 @@ color_t stringToColor(std::string str)
{
const std::string palette = "spectrum";
if (palette = "spectrum")
if (palette == "spectrum")
{
if (str == "black")
{
@@ -177,12 +177,12 @@ color_t stringToColor(std::string str)
return {0xEE, 0x00, 0x00};
}
else if (str == "purple")
else if (str == "magenta")
{
return {0xFF, 0x00, 0xFF};
}
else if (str == "light_purple")
else if (str == "light_magenta")
{
return {0xEE, 0x00, 0xEE};
}
@@ -260,12 +260,12 @@ color_t stringToColor(std::string str)
return {0xD8, 0x55, 0x25};
}
else if (str == "purple")
else if (str == "magenta")
{
return {0xA1, 0x55, 0x89};
}
else if (str == "light_purple")
else if (str == "light_magenta")
{
return {0xCD, 0x7A, 0x50};
}