1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/cel_properties.xml |
---|---|
2 | |
3 | #ifndef GENERATED_CEL_PROPERTIES_H_INCLUDED |
4 | #define GENERATED_CEL_PROPERTIES_H_INCLUDED |
5 | #pragma once |
6 | |
7 | #include "app/find_widget.h" |
8 | #include "app/load_widget.h" |
9 | #include "ui/button.h" |
10 | #include "ui/grid.h" |
11 | #include "ui/slider.h" |
12 | #include "ui/window.h" |
13 | |
14 | namespace app { |
15 | namespace gen { |
16 | |
17 | class CelProperties : public ui::Window { |
18 | public: |
19 | CelProperties() : ui::Window(ui::Window::WithTitleBar) { |
20 | app::load_widget("cel_properties.xml", "cel_properties", this); |
21 | app::finder(this) |
22 | >> "properties_grid">> m_propertiesGrid |
23 | >> "opacity">> m_opacity |
24 | >> "user_data">> m_userData |
25 | ; |
26 | } |
27 | |
28 | ui::Grid* propertiesGrid() const { return m_propertiesGrid; } |
29 | ui::Slider* opacity() const { return m_opacity; } |
30 | ui::Button* userData() const { return m_userData; } |
31 | |
32 | private: |
33 | ui::Grid* m_propertiesGrid; |
34 | ui::Slider* m_opacity; |
35 | ui::Button* m_userData; |
36 | }; |
37 | |
38 | } // namespace gen |
39 | } // namespace app |
40 | |
41 | #endif |
42 |