1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/font_popup.xml |
---|---|
2 | |
3 | #ifndef GENERATED_FONT_POPUP_H_INCLUDED |
4 | #define GENERATED_FONT_POPUP_H_INCLUDED |
5 | #pragma once |
6 | |
7 | #include "app/find_widget.h" |
8 | #include "app/load_widget.h" |
9 | #include "app/ui/search_entry.h" |
10 | #include "ui/box.h" |
11 | #include "ui/button.h" |
12 | #include "ui/view.h" |
13 | |
14 | namespace app { |
15 | namespace gen { |
16 | |
17 | class FontPopup : public ui::VBox { |
18 | public: |
19 | FontPopup() { |
20 | app::load_widget("font_popup.xml", "font_popup", this); |
21 | app::finder(this) |
22 | >> "search">> m_search |
23 | >> "view">> m_view |
24 | >> "load_font">> m_loadFont |
25 | ; |
26 | } |
27 | |
28 | app::SearchEntry* search() const { return m_search; } |
29 | ui::View* view() const { return m_view; } |
30 | ui::Button* loadFont() const { return m_loadFont; } |
31 | |
32 | private: |
33 | app::SearchEntry* m_search; |
34 | ui::View* m_view; |
35 | ui::Button* m_loadFont; |
36 | }; |
37 | |
38 | } // namespace gen |
39 | } // namespace app |
40 | |
41 | #endif |
42 |