| 1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/modify_selection.xml |
|---|---|
| 2 | |
| 3 | #ifndef GENERATED_MODIFY_SELECTION_H_INCLUDED |
| 4 | #define GENERATED_MODIFY_SELECTION_H_INCLUDED |
| 5 | #pragma once |
| 6 | |
| 7 | #include "app/find_widget.h" |
| 8 | #include "app/load_widget.h" |
| 9 | #include "app/ui/expr_entry.h" |
| 10 | #include "ui/button.h" |
| 11 | #include "ui/label.h" |
| 12 | #include "ui/window.h" |
| 13 | |
| 14 | namespace app { |
| 15 | namespace gen { |
| 16 | |
| 17 | class ModifySelection : public ui::Window { |
| 18 | public: |
| 19 | ModifySelection() : ui::Window(ui::Window::WithTitleBar) { |
| 20 | app::load_widget("modify_selection.xml", "modify_selection", this); |
| 21 | app::finder(this) |
| 22 | >> "by_label">> m_byLabel |
| 23 | >> "quantity">> m_quantity |
| 24 | >> "circle">> m_circle |
| 25 | >> "square">> m_square |
| 26 | >> "ok">> m_ok |
| 27 | ; |
| 28 | } |
| 29 | |
| 30 | ui::Label* byLabel() const { return m_byLabel; } |
| 31 | app::ExprEntry* quantity() const { return m_quantity; } |
| 32 | ui::RadioButton* circle() const { return m_circle; } |
| 33 | ui::RadioButton* square() const { return m_square; } |
| 34 | ui::Button* ok() const { return m_ok; } |
| 35 | |
| 36 | private: |
| 37 | ui::Label* m_byLabel; |
| 38 | app::ExprEntry* m_quantity; |
| 39 | ui::RadioButton* m_circle; |
| 40 | ui::RadioButton* m_square; |
| 41 | ui::Button* m_ok; |
| 42 | }; |
| 43 | |
| 44 | } // namespace gen |
| 45 | } // namespace app |
| 46 | |
| 47 | #endif |
| 48 |