1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/send_crash.xml |
---|---|
2 | |
3 | #ifndef GENERATED_SEND_CRASH_H_INCLUDED |
4 | #define GENERATED_SEND_CRASH_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/button.h" |
11 | #include "ui/link_label.h" |
12 | #include "ui/window.h" |
13 | |
14 | namespace app { |
15 | namespace gen { |
16 | |
17 | class SendCrash : public ui::Window { |
18 | public: |
19 | SendCrash() : ui::Window(ui::Window::WithTitleBar) { |
20 | app::load_widget("send_crash.xml", "send_crash", this); |
21 | app::finder(this) |
22 | >> "official">> m_official |
23 | >> "filename">> m_filename |
24 | >> "dev">> m_dev |
25 | >> "dev_filename">> m_devFilename |
26 | >> "delete_file">> m_deleteFile |
27 | ; |
28 | } |
29 | |
30 | ui::VBox* official() const { return m_official; } |
31 | ui::LinkLabel* filename() const { return m_filename; } |
32 | ui::VBox* dev() const { return m_dev; } |
33 | ui::LinkLabel* devFilename() const { return m_devFilename; } |
34 | ui::Button* deleteFile() const { return m_deleteFile; } |
35 | |
36 | private: |
37 | ui::VBox* m_official; |
38 | ui::LinkLabel* m_filename; |
39 | ui::VBox* m_dev; |
40 | ui::LinkLabel* m_devFilename; |
41 | ui::Button* m_deleteFile; |
42 | }; |
43 | |
44 | } // namespace gen |
45 | } // namespace app |
46 | |
47 | #endif |
48 |