diff options
Diffstat (limited to 'src/ui.h')
-rw-r--r-- | src/ui.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -2,6 +2,7 @@ #define UI_H #include<SFML/Graphics.hpp> +#include"graphics/text.h" enum class MouseButton{ Left, @@ -37,8 +38,8 @@ class UI{ void finishImUI(); bool button(sf::RenderWindow *win, int id, const std::string &text, sf::Vector2i pos, sf::Vector2i size); - bool radioButton(sf::RenderWindow *win, int id, - const std::string &text, bool state, sf::Vector2i pos, + bool radioButton(sf::RenderWindow *win, Graphics::TextureFont font, + int id, const std::string &text, bool state, sf::Vector2i pos, sf::Vector2i size); }; |