| 1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/slice_properties.xml |
|---|---|
| 2 | |
| 3 | #ifndef GENERATED_SLICE_PROPERTIES_H_INCLUDED |
| 4 | #define GENERATED_SLICE_PROPERTIES_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/entry.h" |
| 12 | #include "ui/grid.h" |
| 13 | #include "ui/label.h" |
| 14 | #include "ui/window.h" |
| 15 | |
| 16 | namespace app { |
| 17 | namespace gen { |
| 18 | |
| 19 | class SliceProperties : public ui::Window { |
| 20 | public: |
| 21 | SliceProperties() : ui::Window(ui::Window::WithTitleBar) { |
| 22 | app::load_widget("slice_properties.xml", "slice_properties", this); |
| 23 | app::finder(this) |
| 24 | >> "properties_grid">> m_propertiesGrid |
| 25 | >> "label1">> m_label1 |
| 26 | >> "name">> m_name |
| 27 | >> "user_data">> m_userData |
| 28 | >> "bounds_x">> m_boundsX |
| 29 | >> "bounds_y">> m_boundsY |
| 30 | >> "bounds_w">> m_boundsW |
| 31 | >> "bounds_h">> m_boundsH |
| 32 | >> "center">> m_center |
| 33 | >> "center_x">> m_centerX |
| 34 | >> "center_y">> m_centerY |
| 35 | >> "center_w">> m_centerW |
| 36 | >> "center_h">> m_centerH |
| 37 | >> "pivot">> m_pivot |
| 38 | >> "pivot_x">> m_pivotX |
| 39 | >> "pivot_y">> m_pivotY |
| 40 | >> "ok">> m_ok |
| 41 | ; |
| 42 | } |
| 43 | |
| 44 | ui::Grid* propertiesGrid() const { return m_propertiesGrid; } |
| 45 | ui::Label* label1() const { return m_label1; } |
| 46 | ui::Entry* name() const { return m_name; } |
| 47 | ui::Button* userData() const { return m_userData; } |
| 48 | app::ExprEntry* boundsX() const { return m_boundsX; } |
| 49 | app::ExprEntry* boundsY() const { return m_boundsY; } |
| 50 | app::ExprEntry* boundsW() const { return m_boundsW; } |
| 51 | app::ExprEntry* boundsH() const { return m_boundsH; } |
| 52 | ui::CheckBox* center() const { return m_center; } |
| 53 | app::ExprEntry* centerX() const { return m_centerX; } |
| 54 | app::ExprEntry* centerY() const { return m_centerY; } |
| 55 | app::ExprEntry* centerW() const { return m_centerW; } |
| 56 | app::ExprEntry* centerH() const { return m_centerH; } |
| 57 | ui::CheckBox* pivot() const { return m_pivot; } |
| 58 | app::ExprEntry* pivotX() const { return m_pivotX; } |
| 59 | app::ExprEntry* pivotY() const { return m_pivotY; } |
| 60 | ui::Button* ok() const { return m_ok; } |
| 61 | |
| 62 | private: |
| 63 | ui::Grid* m_propertiesGrid; |
| 64 | ui::Label* m_label1; |
| 65 | ui::Entry* m_name; |
| 66 | ui::Button* m_userData; |
| 67 | app::ExprEntry* m_boundsX; |
| 68 | app::ExprEntry* m_boundsY; |
| 69 | app::ExprEntry* m_boundsW; |
| 70 | app::ExprEntry* m_boundsH; |
| 71 | ui::CheckBox* m_center; |
| 72 | app::ExprEntry* m_centerX; |
| 73 | app::ExprEntry* m_centerY; |
| 74 | app::ExprEntry* m_centerW; |
| 75 | app::ExprEntry* m_centerH; |
| 76 | ui::CheckBox* m_pivot; |
| 77 | app::ExprEntry* m_pivotX; |
| 78 | app::ExprEntry* m_pivotY; |
| 79 | ui::Button* m_ok; |
| 80 | }; |
| 81 | |
| 82 | } // namespace gen |
| 83 | } // namespace app |
| 84 | |
| 85 | #endif |
| 86 |