mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
Replaced all usage of SDL_Color outside of render with ColorRGBA
This commit is contained in:
@@ -33,8 +33,8 @@ class CBitmapFont : public IFont
|
||||
|
||||
void loadModFont(const std::string & modName, const ResourceID & resource);
|
||||
|
||||
void renderCharacter(SDL_Surface * surface, const BitmapChar & character, const SDL_Color & color, int &posX, int &posY) const;
|
||||
void renderText(SDL_Surface * surface, const std::string & data, const SDL_Color & color, const Point & pos) const override;
|
||||
void renderCharacter(SDL_Surface * surface, const BitmapChar & character, const ColorRGBA & color, int &posX, int &posY) const;
|
||||
void renderText(SDL_Surface * surface, const std::string & data, const ColorRGBA & color, const Point & pos) const override;
|
||||
public:
|
||||
explicit CBitmapFont(const std::string & filename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user