1 #ifndef BLOBS_UI_LABEL_HPP_
2 #define BLOBS_UI_LABEL_HPP_
5 #include "../graphics/Texture.hpp"
20 explicit Label(const graphics::Font &);
24 Label *Text(const std::string &);
25 Label *Font(const graphics::Font &);
26 Label *Foreground(const glm::vec4 &);
27 Label *Background(const glm::vec4 &);
29 glm::vec2 Size() override;
30 void Draw(app::Assets &, graphics::Viewport &) noexcept override;
36 const graphics::Font *font;
38 graphics::Texture tex;