From 7bb1f9f2ce74dde82f72329c3a9e2b9d5a988970 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Fri, 6 Feb 2026 23:22:59 +0300 Subject: [PATCH] cleanup --- src/graphics/ui/elements/Frame.cpp | 4 ---- src/graphics/ui/elements/Frame.hpp | 7 ------- 2 files changed, 11 deletions(-) diff --git a/src/graphics/ui/elements/Frame.cpp b/src/graphics/ui/elements/Frame.cpp index 41e928965..f99673f22 100644 --- a/src/graphics/ui/elements/Frame.cpp +++ b/src/graphics/ui/elements/Frame.cpp @@ -62,7 +62,3 @@ const std::string& gui::Frame::getOutputTexture() const { const std::string& gui::Frame::getFrameId() const { return frameId; } - -gui::Frame::State& gui::Frame::getState() { - return state; -} diff --git a/src/graphics/ui/elements/Frame.hpp b/src/graphics/ui/elements/Frame.hpp index ec34a3c69..40d88dff6 100644 --- a/src/graphics/ui/elements/Frame.hpp +++ b/src/graphics/ui/elements/Frame.hpp @@ -8,9 +8,6 @@ class UiDocument; namespace gui { class Frame final : public Container { public: - struct State { - }; - Frame(GUI& gui, std::string id, std::string outputTexture); virtual ~Frame(); @@ -21,12 +18,8 @@ namespace gui { const std::string& getOutputTexture() const; const std::string& getFrameId() const; - - /// @brief Frame state is controlled in gui::GUI - State& getState(); private: std::string frameId; - State state {}; std::unique_ptr fbo; std::string outputTexture; };