X-Git-Url: https://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fui%2FLabel.hpp;h=1bc7e86bc4f0de8e733818c5eb3bd427b556bf1c;hb=c51b3bbef5c9b8ab52f55d46f08c5992fe574f70;hp=90ed738639e5761df8de90ee4a2817ab48cdc0f8;hpb=56f570e713c42d30109a214e68a2beed96ba1999;p=blobs.git diff --git a/src/ui/Label.hpp b/src/ui/Label.hpp index 90ed738..1bc7e86 100644 --- a/src/ui/Label.hpp +++ b/src/ui/Label.hpp @@ -21,10 +21,10 @@ public: ~Label() override; public: - Label &Text(const std::string &); - Label &Font(const graphics::Font &); - Label &Foreground(const glm::vec4 &); - Label &Background(const glm::vec4 &); + Label *Text(const std::string &); + Label *Font(const graphics::Font &); + Label *Foreground(const glm::vec4 &); + Label *Background(const glm::vec4 &); glm::vec2 Size() override; void Draw(app::Assets &, graphics::Viewport &) noexcept override;