X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2FInterface.hpp;h=d6c301981ef45125ac10cbf7a4eeabd7b987dbe6;hb=50f35affb16c78bd3d0b420f5ba37d74fcac391f;hp=1e2e8834ba7a507f369661e4f68ca84eba583749;hpb=1bc6f085c53cdeaa08e2c00e821d4e2e25cae1c8;p=blank.git diff --git a/src/ui/Interface.hpp b/src/ui/Interface.hpp index 1e2e883..d6c3019 100644 --- a/src/ui/Interface.hpp +++ b/src/ui/Interface.hpp @@ -5,6 +5,7 @@ #include "../app/FPSController.hpp" #include "../app/IntervalTimer.hpp" #include "../graphics/Font.hpp" +#include "../graphics/Text.hpp" #include "../model/geometry.hpp" #include "../model/OutlineModel.hpp" #include "../world/Block.hpp" @@ -42,8 +43,6 @@ public: void HandleRelease(const SDL_MouseButtonEvent &); void Handle(const SDL_MouseWheelEvent &); - void Resize(const Viewport &); - void FaceBlock(); void TurnBlock(); @@ -87,11 +86,7 @@ private: OutlineModel outline; glm::mat4 outline_transform; - bool show_counter; - Texture counter_tex; - SpriteModel counter_sprite; - glm::mat4 counter_transform; - float counter_x; + Text counter_text; Config config;