blob: 3d521d44a0519bb781194f47663a879564aa00f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "MainWindow.hpp"
namespace cru::theme_builder {
using namespace cru::ui;
using namespace cru::ui::controls;
using namespace cru::platform::gui;
MainWindow::MainWindow() {
window_ = Window::Create();
window_->GetNativeWindow()->SetTitle(u"CruUI Theme Builder");
}
MainWindow::~MainWindow() { delete window_; }
void MainWindow::Show() {
window_->GetNativeWindow()->SetVisibility(WindowVisibilityType::Show);
window_->GetNativeWindow()->SetToForeground();
}
} // namespace cru::theme_builder
|