A slight improvement to avoid rendering boxes behind text that is default bg color.
This commit is contained in:
parent
be144e2a05
commit
111429b974
3 changed files with 21 additions and 17 deletions
|
@ -49,7 +49,7 @@ struct SFMLRender {
|
|||
sf::Sprite &get_text_sprite(wchar_t tile);
|
||||
bool resize_map(int new_size, Point &view_port);
|
||||
void render_grid(const std::wstring &text, float x, float y);
|
||||
void render_text(const std::wstring &text, float x, float y);
|
||||
void render_text(const std::wstring &text, sf::Color bgcolor, float x, float y);
|
||||
|
||||
void draw(Panel &panel, float x_offset=0.0f, float y_offset=0.0f);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue