1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/advanced_mode.xml |
---|---|
2 | |
3 | #ifndef GENERATED_ADVANCED_MODE_H_INCLUDED |
4 | #define GENERATED_ADVANCED_MODE_H_INCLUDED |
5 | #pragma once |
6 | |
7 | #include "app/find_widget.h" |
8 | #include "app/load_widget.h" |
9 | #include "ui/button.h" |
10 | #include "ui/label.h" |
11 | #include "ui/window.h" |
12 | |
13 | namespace app { |
14 | namespace gen { |
15 | |
16 | class AdvancedMode : public ui::Window { |
17 | public: |
18 | AdvancedMode() : ui::Window(ui::Window::WithTitleBar) { |
19 | app::load_widget("advanced_mode.xml", "advanced_mode", this); |
20 | app::finder(this) |
21 | >> "warning_label">> m_warningLabel |
22 | >> "donot_show">> m_donotShow |
23 | ; |
24 | } |
25 | |
26 | ui::Label* warningLabel() const { return m_warningLabel; } |
27 | ui::CheckBox* donotShow() const { return m_donotShow; } |
28 | |
29 | private: |
30 | ui::Label* m_warningLabel; |
31 | ui::CheckBox* m_donotShow; |
32 | }; |
33 | |
34 | } // namespace gen |
35 | } // namespace app |
36 | |
37 | #endif |
38 |