Testing is almost complete, but now I'm in the area where it's a lot of interaction and probably need mocks or a way to inject keys to the gui.
This commit is contained in:
parent
2576b16869
commit
48df9248b2
5 changed files with 51 additions and 11 deletions
|
@ -50,7 +50,7 @@ struct SFMLRender {
|
|||
SFMLRender(SFMLRender &other) = delete;
|
||||
|
||||
sf::Sprite &get_text_sprite(wchar_t tile);
|
||||
bool resize_grid(int new_size, Panel &panel_out);
|
||||
void resize_grid(int new_size, Panel &panel_out);
|
||||
void render_grid(const std::wstring &text, sf::Color default_fg, sf::Color default_bg, float x, float y);
|
||||
void render_text(const std::wstring &text, sf::Color default_fg, sf::Color default_bg, float x, float y);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue