1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/main_window.xml
2
3#ifndef GENERATED_MAIN_WINDOW_H_INCLUDED
4#define GENERATED_MAIN_WINDOW_H_INCLUDED
5#pragma once
6
7#include "app/find_widget.h"
8#include "app/load_widget.h"
9#include "ui/box.h"
10#include "ui/splitter.h"
11#include "ui/window.h"
12
13namespace app {
14namespace gen {
15
16 class MainWindow : public ui::Window {
17 public:
18 MainWindow() : ui::Window(ui::Window::DesktopWindow) {
19 app::load_widget("main_window.xml", "main_window", this);
20 app::finder(this)
21 >> "menu_bar_placeholder" >> m_menuBarPlaceholder
22 >> "tabs_placeholder" >> m_tabsPlaceholder
23 >> "color_bar_splitter" >> m_colorBarSplitter
24 >> "color_bar_placeholder" >> m_colorBarPlaceholder
25 >> "context_bar_placeholder" >> m_contextBarPlaceholder
26 >> "timeline_splitter" >> m_timelineSplitter
27 >> "workspace_placeholder" >> m_workspacePlaceholder
28 >> "timeline_placeholder" >> m_timelinePlaceholder
29 >> "tool_bar_placeholder" >> m_toolBarPlaceholder
30 >> "status_bar_placeholder" >> m_statusBarPlaceholder
31 ;
32 }
33
34 ui::HBox* menuBarPlaceholder() const { return m_menuBarPlaceholder; }
35 ui::HBox* tabsPlaceholder() const { return m_tabsPlaceholder; }
36 ui::Splitter* colorBarSplitter() const { return m_colorBarSplitter; }
37 ui::VBox* colorBarPlaceholder() const { return m_colorBarPlaceholder; }
38 ui::VBox* contextBarPlaceholder() const { return m_contextBarPlaceholder; }
39 ui::Splitter* timelineSplitter() const { return m_timelineSplitter; }
40 ui::HBox* workspacePlaceholder() const { return m_workspacePlaceholder; }
41 ui::VBox* timelinePlaceholder() const { return m_timelinePlaceholder; }
42 ui::VBox* toolBarPlaceholder() const { return m_toolBarPlaceholder; }
43 ui::HBox* statusBarPlaceholder() const { return m_statusBarPlaceholder; }
44
45 private:
46 ui::HBox* m_menuBarPlaceholder;
47 ui::HBox* m_tabsPlaceholder;
48 ui::Splitter* m_colorBarSplitter;
49 ui::VBox* m_colorBarPlaceholder;
50 ui::VBox* m_contextBarPlaceholder;
51 ui::Splitter* m_timelineSplitter;
52 ui::HBox* m_workspacePlaceholder;
53 ui::VBox* m_timelinePlaceholder;
54 ui::VBox* m_toolBarPlaceholder;
55 ui::HBox* m_statusBarPlaceholder;
56 };
57
58} // namespace gen
59} // namespace app
60
61#endif
62