1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/layer_properties.xml |
---|---|
2 | |
3 | #ifndef GENERATED_LAYER_PROPERTIES_H_INCLUDED |
4 | #define GENERATED_LAYER_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/combobox.h" |
11 | #include "ui/entry.h" |
12 | #include "ui/grid.h" |
13 | #include "ui/slider.h" |
14 | #include "ui/window.h" |
15 | |
16 | namespace app { |
17 | namespace gen { |
18 | |
19 | class LayerProperties : public ui::Window { |
20 | public: |
21 | LayerProperties() : ui::Window(ui::Window::WithTitleBar) { |
22 | app::load_widget("layer_properties.xml", "layer_properties", this); |
23 | app::finder(this) |
24 | >> "properties_grid">> m_propertiesGrid |
25 | >> "name">> m_name |
26 | >> "user_data">> m_userData |
27 | >> "mode">> m_mode |
28 | >> "tileset">> m_tileset |
29 | >> "opacity">> m_opacity |
30 | ; |
31 | } |
32 | |
33 | ui::Grid* propertiesGrid() const { return m_propertiesGrid; } |
34 | ui::Entry* name() const { return m_name; } |
35 | ui::Button* userData() const { return m_userData; } |
36 | ui::ComboBox* mode() const { return m_mode; } |
37 | ui::Button* tileset() const { return m_tileset; } |
38 | ui::Slider* opacity() const { return m_opacity; } |
39 | |
40 | private: |
41 | ui::Grid* m_propertiesGrid; |
42 | ui::Entry* m_name; |
43 | ui::Button* m_userData; |
44 | ui::ComboBox* m_mode; |
45 | ui::Button* m_tileset; |
46 | ui::Slider* m_opacity; |
47 | }; |
48 | |
49 | } // namespace gen |
50 | } // namespace app |
51 | |
52 | #endif |
53 |