1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/paste_text.xml |
---|---|
2 | |
3 | #ifndef GENERATED_PASTE_TEXT_H_INCLUDED |
4 | #define GENERATED_PASTE_TEXT_H_INCLUDED |
5 | #pragma once |
6 | |
7 | #include "app/find_widget.h" |
8 | #include "app/load_widget.h" |
9 | #include "app/ui/color_button.h" |
10 | #include "app/ui/drop_down_button.h" |
11 | #include "app/ui/expr_entry.h" |
12 | #include "ui/button.h" |
13 | #include "ui/entry.h" |
14 | #include "ui/window.h" |
15 | |
16 | namespace app { |
17 | namespace gen { |
18 | |
19 | class PasteText : public ui::Window { |
20 | public: |
21 | PasteText() : ui::Window(ui::Window::WithTitleBar) { |
22 | app::load_widget("paste_text.xml", "paste_text", this); |
23 | app::finder(this) |
24 | >> "user_text">> m_userText |
25 | >> "font_size">> m_fontSize |
26 | >> "font_face">> m_fontFace |
27 | >> "font_color">> m_fontColor |
28 | >> "antialias">> m_antialias |
29 | >> "ok">> m_ok |
30 | ; |
31 | } |
32 | |
33 | ui::Entry* userText() const { return m_userText; } |
34 | app::ExprEntry* fontSize() const { return m_fontSize; } |
35 | app::DropDownButton* fontFace() const { return m_fontFace; } |
36 | app::ColorButton* fontColor() const { return m_fontColor; } |
37 | ui::CheckBox* antialias() const { return m_antialias; } |
38 | ui::Button* ok() const { return m_ok; } |
39 | |
40 | private: |
41 | ui::Entry* m_userText; |
42 | app::ExprEntry* m_fontSize; |
43 | app::DropDownButton* m_fontFace; |
44 | app::ColorButton* m_fontColor; |
45 | ui::CheckBox* m_antialias; |
46 | ui::Button* m_ok; |
47 | }; |
48 | |
49 | } // namespace gen |
50 | } // namespace app |
51 | |
52 | #endif |
53 |