| 1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/outline.xml |
|---|---|
| 2 | |
| 3 | #ifndef GENERATED_OUTLINE_H_INCLUDED |
| 4 | #define GENERATED_OUTLINE_H_INCLUDED |
| 5 | #pragma once |
| 6 | |
| 7 | #include "app/find_widget.h" |
| 8 | #include "app/load_widget.h" |
| 9 | #include "app/ui/button_set.h" |
| 10 | #include "app/ui/color_button.h" |
| 11 | #include "ui/box.h" |
| 12 | |
| 13 | namespace app { |
| 14 | namespace gen { |
| 15 | |
| 16 | class Outline : public ui::VBox { |
| 17 | public: |
| 18 | Outline() { |
| 19 | app::load_widget("outline.xml", "outline", this); |
| 20 | app::finder(this) |
| 21 | >> "color">> m_color |
| 22 | >> "bg_color">> m_bgColor |
| 23 | >> "outline_type">> m_outlineType |
| 24 | >> "outline_matrix">> m_outlineMatrix |
| 25 | >> "place">> m_place |
| 26 | ; |
| 27 | } |
| 28 | |
| 29 | app::ColorButton* color() const { return m_color; } |
| 30 | app::ColorButton* bgColor() const { return m_bgColor; } |
| 31 | app::ButtonSet* outlineType() const { return m_outlineType; } |
| 32 | app::ButtonSet* outlineMatrix() const { return m_outlineMatrix; } |
| 33 | app::ButtonSet* place() const { return m_place; } |
| 34 | |
| 35 | private: |
| 36 | app::ColorButton* m_color; |
| 37 | app::ColorButton* m_bgColor; |
| 38 | app::ButtonSet* m_outlineType; |
| 39 | app::ButtonSet* m_outlineMatrix; |
| 40 | app::ButtonSet* m_place; |
| 41 | }; |
| 42 | |
| 43 | } // namespace gen |
| 44 | } // namespace app |
| 45 | |
| 46 | #endif |
| 47 |