summaryrefslogtreecommitdiff
path: root/src/ui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui.h')
-rw-r--r--src/ui.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui.h b/src/ui.h
index 16027ae..34127fe 100644
--- a/src/ui.h
+++ b/src/ui.h
@@ -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);
};