diff options
author | crupest <crupest@outlook.com> | 2022-02-08 16:53:51 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-02-08 16:53:51 +0800 |
commit | 74bb9cd27242b9320f99ff4d2b50c3051576cc14 (patch) | |
tree | 744bac5799c593d1d6f81e7b09581bea626f2cde /src/theme_builder/components/MainWindow.hpp | |
parent | b90c398de829d1ba5329651d75bae82f5e4085fe (diff) | |
download | cru-74bb9cd27242b9320f99ff4d2b50c3051576cc14.tar.gz cru-74bb9cd27242b9320f99ff4d2b50c3051576cc14.tar.bz2 cru-74bb9cd27242b9320f99ff4d2b50c3051576cc14.zip |
...
Diffstat (limited to 'src/theme_builder/components/MainWindow.hpp')
-rw-r--r-- | src/theme_builder/components/MainWindow.hpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/theme_builder/components/MainWindow.hpp b/src/theme_builder/components/MainWindow.hpp deleted file mode 100644 index ef37b7a2..00000000 --- a/src/theme_builder/components/MainWindow.hpp +++ /dev/null @@ -1,28 +0,0 @@ -#pragma once -#include "cru/ui/components/Component.hpp" -#include "cru/ui/controls/Button.hpp" -#include "cru/ui/controls/FlexLayout.hpp" -#include "cru/ui/controls/StackLayout.hpp" -#include "cru/ui/controls/Window.hpp" - -namespace cru::theme_builder { -class MainWindow : public ui::components::Component { - public: - MainWindow(); - - CRU_DELETE_COPY(MainWindow) - CRU_DELETE_MOVE(MainWindow) - - ~MainWindow() override; - - ui::controls::Control* GetRootControl() override { return window_; } - - void Show(); - - private: - ui::controls::Window* window_; - ui::controls::FlexLayout* main_layout_; - ui::controls::StackLayout* preview_layout_; - ui::controls::Button* preview_button_; -}; -} // namespace cru::theme_builder |