| 1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/brush_slot_params.xml |
|---|---|
| 2 | |
| 3 | #ifndef GENERATED_BRUSH_SLOT_PARAMS_H_INCLUDED |
| 4 | #define GENERATED_BRUSH_SLOT_PARAMS_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 "ui/box.h" |
| 11 | |
| 12 | namespace app { |
| 13 | namespace gen { |
| 14 | |
| 15 | class BrushSlotParams : public ui::VBox { |
| 16 | public: |
| 17 | BrushSlotParams() { |
| 18 | app::load_widget("brush_slot_params.xml", "brush_slot_params", this); |
| 19 | app::finder(this) |
| 20 | >> "brush_params">> m_brushParams |
| 21 | >> "brush_type">> m_brushType |
| 22 | >> "brush_size">> m_brushSize |
| 23 | >> "brush_angle">> m_brushAngle |
| 24 | >> "color_params">> m_colorParams |
| 25 | >> "fg_color">> m_fgColor |
| 26 | >> "bg_color">> m_bgColor |
| 27 | >> "image_color">> m_imageColor |
| 28 | >> "ink_params">> m_inkParams |
| 29 | >> "ink_type">> m_inkType |
| 30 | >> "ink_opacity">> m_inkOpacity |
| 31 | >> "extra_params">> m_extraParams |
| 32 | >> "shade">> m_shade |
| 33 | >> "pixel_perfect">> m_pixelPerfect |
| 34 | ; |
| 35 | } |
| 36 | |
| 37 | app::ButtonSet* brushParams() const { return m_brushParams; } |
| 38 | app::ButtonSet::Item* brushType() const { return m_brushType; } |
| 39 | app::ButtonSet::Item* brushSize() const { return m_brushSize; } |
| 40 | app::ButtonSet::Item* brushAngle() const { return m_brushAngle; } |
| 41 | app::ButtonSet* colorParams() const { return m_colorParams; } |
| 42 | app::ButtonSet::Item* fgColor() const { return m_fgColor; } |
| 43 | app::ButtonSet::Item* bgColor() const { return m_bgColor; } |
| 44 | app::ButtonSet::Item* imageColor() const { return m_imageColor; } |
| 45 | app::ButtonSet* inkParams() const { return m_inkParams; } |
| 46 | app::ButtonSet::Item* inkType() const { return m_inkType; } |
| 47 | app::ButtonSet::Item* inkOpacity() const { return m_inkOpacity; } |
| 48 | app::ButtonSet* extraParams() const { return m_extraParams; } |
| 49 | app::ButtonSet::Item* shade() const { return m_shade; } |
| 50 | app::ButtonSet::Item* pixelPerfect() const { return m_pixelPerfect; } |
| 51 | |
| 52 | private: |
| 53 | app::ButtonSet* m_brushParams; |
| 54 | app::ButtonSet::Item* m_brushType; |
| 55 | app::ButtonSet::Item* m_brushSize; |
| 56 | app::ButtonSet::Item* m_brushAngle; |
| 57 | app::ButtonSet* m_colorParams; |
| 58 | app::ButtonSet::Item* m_fgColor; |
| 59 | app::ButtonSet::Item* m_bgColor; |
| 60 | app::ButtonSet::Item* m_imageColor; |
| 61 | app::ButtonSet* m_inkParams; |
| 62 | app::ButtonSet::Item* m_inkType; |
| 63 | app::ButtonSet::Item* m_inkOpacity; |
| 64 | app::ButtonSet* m_extraParams; |
| 65 | app::ButtonSet::Item* m_shade; |
| 66 | app::ButtonSet::Item* m_pixelPerfect; |
| 67 | }; |
| 68 | |
| 69 | } // namespace gen |
| 70 | } // namespace app |
| 71 | |
| 72 | #endif |
| 73 |