Estandarizados los colores en hexadecimal

This commit is contained in:
2024-09-27 16:52:26 +02:00
parent 5ca4ee0bb8
commit c1bf0b8aed
2 changed files with 6 additions and 6 deletions

View File

@@ -36,11 +36,11 @@
const color_t bgColor = {0x27, 0x27, 0x36}; const color_t bgColor = {0x27, 0x27, 0x36};
const color_t noColor = {0xFF, 0xFF, 0xFF}; const color_t noColor = {0xFF, 0xFF, 0xFF};
const color_t shdwTxtColor = {0x43, 0x43, 0x4F}; const color_t shdwTxtColor = {0x43, 0x43, 0x4F};
const color_t separator = {0x0D, 0x1A, 0x2B}; const color_t separatorColor = {0x0D, 0x1A, 0x2B};
const color_t scoreboardColor = {46, 63, 71}; const color_t scoreboardColor = {0x2E, 0x3F, 0x47};
const color_t difficultyEasyColor = {75, 105, 47}; const color_t difficultyEasyColor = {0x4B, 0x69, 0x2F};
const color_t difficultyNormalColor = {255, 122, 0}; const color_t difficultyNormalColor = {0xFF, 0x7A, 0x00};
const color_t difficultyHardColor = {118, 66, 138}; const color_t difficultyHardColor = {0x76, 0x42, 0x8A};
const color_t flashColor = {0xFF, 0xFF, 0xFF}; const color_t flashColor = {0xFF, 0xFF, 0xFF};
const color_t fadeColor = {0x27, 0x27, 0x36}; const color_t fadeColor = {0x27, 0x27, 0x36};
const color_t orangeColor = {0xFF, 0x7A, 0x00}; const color_t orangeColor = {0xFF, 0x7A, 0x00};

View File

@@ -402,6 +402,6 @@ void Scoreboard::createPanelTextures()
void Scoreboard::renderSeparator() void Scoreboard::renderSeparator()
{ {
// Dibuja la linea que separa el marcador de la zona de juego // Dibuja la linea que separa el marcador de la zona de juego
SDL_SetRenderDrawColor(renderer, separator.r, separator.g, separator.b, 255); SDL_SetRenderDrawColor(renderer, separatorColor.r, separatorColor.g, separatorColor.b, 255);
SDL_RenderDrawLine(renderer, 0, 0, rect.w, 0); SDL_RenderDrawLine(renderer, 0, 0, rect.w, 0);
} }