X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2FInterface.hpp;h=d6c301981ef45125ac10cbf7a4eeabd7b987dbe6;hb=50f35affb16c78bd3d0b420f5ba37d74fcac391f;hp=f3b1252643c93f02c8065c347a90ce7229bc3dcb;hpb=5d2da8a07411ad6417d6ed8d1be997189cf5ce89;p=blank.git diff --git a/src/ui/Interface.hpp b/src/ui/Interface.hpp index f3b1252..d6c3019 100644 --- a/src/ui/Interface.hpp +++ b/src/ui/Interface.hpp @@ -5,11 +5,11 @@ #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" -#include #include @@ -43,8 +43,6 @@ public: void HandleRelease(const SDL_MouseButtonEvent &); void Handle(const SDL_MouseWheelEvent &); - void Resize(const Viewport &); - void FaceBlock(); void TurnBlock(); @@ -88,12 +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; - SDL_Color counter_color; + Text counter_text; Config config;