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; };