Tinkering with a way to do modal UIs for things like inventory etc.
This commit is contained in:
parent
db441000f8
commit
d8400d0a76
9 changed files with 120 additions and 92 deletions
|
@ -203,6 +203,10 @@ void SFMLRender::render_text(const std::wstring &text, sf::Color default_fg, sf:
|
|||
}
|
||||
}
|
||||
|
||||
void SFMLRender::draw_sprite(sf::Sprite &sprite, sf::Shader *shader) {
|
||||
$window.draw(sprite, shader);
|
||||
}
|
||||
|
||||
/*
|
||||
* Does not render the panel, you have to do that so you can control
|
||||
* when things render.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue