1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/palette_popup.xml |
---|---|
2 | |
3 | #ifndef GENERATED_PALETTE_POPUP_H_INCLUDED |
4 | #define GENERATED_PALETTE_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 PalettePopup : public ui::VBox { |
18 | public: |
19 | PalettePopup() { |
20 | app::load_widget("palette_popup.xml", "palette_popup", this); |
21 | app::finder(this) |
22 | >> "search">> m_search |
23 | >> "view">> m_view |
24 | >> "load_pal">> m_loadPal |
25 | >> "open_folder">> m_openFolder |
26 | ; |
27 | } |
28 | |
29 | app::SearchEntry* search() const { return m_search; } |
30 | ui::View* view() const { return m_view; } |
31 | ui::Button* loadPal() const { return m_loadPal; } |
32 | ui::Button* openFolder() const { return m_openFolder; } |
33 | |
34 | private: |
35 | app::SearchEntry* m_search; |
36 | ui::View* m_view; |
37 | ui::Button* m_loadPal; |
38 | ui::Button* m_openFolder; |
39 | }; |
40 | |
41 | } // namespace gen |
42 | } // namespace app |
43 | |
44 | #endif |
45 |