Arreglos estetics i de colorets en hiscore_table.cpp

This commit is contained in:
2025-01-26 17:48:10 +01:00
parent bad0a10328
commit 59936f13eb
13 changed files with 204 additions and 71 deletions

View File

@@ -164,6 +164,10 @@ void Texture::setColor(Uint8 red, Uint8 green, Uint8 blue)
{
SDL_SetTextureColorMod(texture_, red, green, blue);
}
void Texture::setColor(Color color)
{
SDL_SetTextureColorMod(texture_, color.r, color.g, color.b);
}
// Establece el blending
void Texture::setBlendMode(SDL_BlendMode blending)