1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/timeline_conf.xml |
---|---|
2 | |
3 | #ifndef GENERATED_TIMELINE_CONF_H_INCLUDED |
4 | #define GENERATED_TIMELINE_CONF_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/expr_entry.h" |
11 | #include "ui/box.h" |
12 | #include "ui/button.h" |
13 | #include "ui/grid.h" |
14 | #include "ui/separator.h" |
15 | #include "ui/slider.h" |
16 | |
17 | namespace app { |
18 | namespace gen { |
19 | |
20 | class TimelineConf : public ui::VBox { |
21 | public: |
22 | TimelineConf() { |
23 | app::load_widget("timeline_conf.xml", "timeline_conf", this); |
24 | app::finder(this) |
25 | >> "position">> m_position |
26 | >> "first_frame">> m_firstFrame |
27 | >> "thumb_enabled">> m_thumbEnabled |
28 | >> "thumb_h_separator">> m_thumbHSeparator |
29 | >> "thumb_box">> m_thumbBox |
30 | >> "zoom">> m_zoom |
31 | >> "thumb_overlay_enabled">> m_thumbOverlayEnabled |
32 | >> "thumb_overlay_size">> m_thumbOverlaySize |
33 | >> "merge">> m_merge |
34 | >> "tint">> m_tint |
35 | >> "reset_onionskin">> m_resetOnionskin |
36 | >> "opacity">> m_opacity |
37 | >> "opacity_step">> m_opacityStep |
38 | >> "loop_tag">> m_loopTag |
39 | >> "current_layer">> m_currentLayer |
40 | >> "behind">> m_behind |
41 | >> "infront">> m_infront |
42 | ; |
43 | } |
44 | |
45 | app::ButtonSet* position() const { return m_position; } |
46 | app::ExprEntry* firstFrame() const { return m_firstFrame; } |
47 | ui::CheckBox* thumbEnabled() const { return m_thumbEnabled; } |
48 | ui::Separator* thumbHSeparator() const { return m_thumbHSeparator; } |
49 | ui::Grid* thumbBox() const { return m_thumbBox; } |
50 | ui::Slider* zoom() const { return m_zoom; } |
51 | ui::CheckBox* thumbOverlayEnabled() const { return m_thumbOverlayEnabled; } |
52 | ui::Slider* thumbOverlaySize() const { return m_thumbOverlaySize; } |
53 | ui::RadioButton* merge() const { return m_merge; } |
54 | ui::RadioButton* tint() const { return m_tint; } |
55 | ui::Button* resetOnionskin() const { return m_resetOnionskin; } |
56 | ui::Slider* opacity() const { return m_opacity; } |
57 | ui::Slider* opacityStep() const { return m_opacityStep; } |
58 | ui::CheckBox* loopTag() const { return m_loopTag; } |
59 | ui::CheckBox* currentLayer() const { return m_currentLayer; } |
60 | ui::RadioButton* behind() const { return m_behind; } |
61 | ui::RadioButton* infront() const { return m_infront; } |
62 | |
63 | private: |
64 | app::ButtonSet* m_position; |
65 | app::ExprEntry* m_firstFrame; |
66 | ui::CheckBox* m_thumbEnabled; |
67 | ui::Separator* m_thumbHSeparator; |
68 | ui::Grid* m_thumbBox; |
69 | ui::Slider* m_zoom; |
70 | ui::CheckBox* m_thumbOverlayEnabled; |
71 | ui::Slider* m_thumbOverlaySize; |
72 | ui::RadioButton* m_merge; |
73 | ui::RadioButton* m_tint; |
74 | ui::Button* m_resetOnionskin; |
75 | ui::Slider* m_opacity; |
76 | ui::Slider* m_opacityStep; |
77 | ui::CheckBox* m_loopTag; |
78 | ui::CheckBox* m_currentLayer; |
79 | ui::RadioButton* m_behind; |
80 | ui::RadioButton* m_infront; |
81 | }; |
82 | |
83 | } // namespace gen |
84 | } // namespace app |
85 | |
86 | #endif |
87 |