1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/export_sprite_sheet.xml |
---|---|
2 | |
3 | #ifndef GENERATED_EXPORT_SPRITE_SHEET_H_INCLUDED |
4 | #define GENERATED_EXPORT_SPRITE_SHEET_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/combobox.h" |
14 | #include "ui/entry.h" |
15 | #include "ui/grid.h" |
16 | #include "ui/panel.h" |
17 | #include "ui/window.h" |
18 | |
19 | namespace app { |
20 | namespace gen { |
21 | |
22 | class ExportSpriteSheet : public ui::Window { |
23 | public: |
24 | ExportSpriteSheet() : ui::Window(ui::Window::WithTitleBar) { |
25 | app::load_widget("export_sprite_sheet.xml", "export_sprite_sheet", this); |
26 | app::finder(this) |
27 | >> "section_tabs">> m_sectionTabs |
28 | >> "section_layout_tab">> m_sectionLayoutTab |
29 | >> "section_sprite_tab">> m_sectionSpriteTab |
30 | >> "section_borders_tab">> m_sectionBordersTab |
31 | >> "section_output_tab">> m_sectionOutputTab |
32 | >> "expand_sections">> m_expandSections |
33 | >> "panel">> m_panel |
34 | >> "section_layout">> m_sectionLayout |
35 | >> "sheet_type">> m_sheetType |
36 | >> "constraint_type">> m_constraintType |
37 | >> "width_constraint">> m_widthConstraint |
38 | >> "height_constraint">> m_heightConstraint |
39 | >> "merge_dups">> m_mergeDups |
40 | >> "ignore_empty">> m_ignoreEmpty |
41 | >> "section_sprite_separator">> m_sectionSpriteSeparator |
42 | >> "close_sprite_section">> m_closeSpriteSection |
43 | >> "section_sprite">> m_sectionSprite |
44 | >> "source">> m_source |
45 | >> "layers">> m_layers |
46 | >> "split_layers">> m_splitLayers |
47 | >> "frames">> m_frames |
48 | >> "split_tags">> m_splitTags |
49 | >> "section_borders_separator">> m_sectionBordersSeparator |
50 | >> "close_borders_section">> m_closeBordersSection |
51 | >> "section_borders">> m_sectionBorders |
52 | >> "border_padding">> m_borderPadding |
53 | >> "shape_padding">> m_shapePadding |
54 | >> "inner_padding">> m_innerPadding |
55 | >> "trim_sprite_enabled">> m_trimSpriteEnabled |
56 | >> "trim_enabled">> m_trimEnabled |
57 | >> "trim_container">> m_trimContainer |
58 | >> "grid_trim_enabled">> m_gridTrimEnabled |
59 | >> "extrude_enabled">> m_extrudeEnabled |
60 | >> "section_output_separator">> m_sectionOutputSeparator |
61 | >> "close_output_section">> m_closeOutputSection |
62 | >> "section_output">> m_sectionOutput |
63 | >> "image_enabled">> m_imageEnabled |
64 | >> "image_filename">> m_imageFilename |
65 | >> "data_enabled">> m_dataEnabled |
66 | >> "data_filename">> m_dataFilename |
67 | >> "data_meta">> m_dataMeta |
68 | >> "data_format">> m_dataFormat |
69 | >> "list_layers">> m_listLayers |
70 | >> "list_tags">> m_listTags |
71 | >> "list_slices">> m_listSlices |
72 | >> "data_filename_format_placeholder">> m_dataFilenameFormatPlaceholder |
73 | >> "data_filename_format">> m_dataFilenameFormat |
74 | >> "open_generated">> m_openGenerated |
75 | >> "preview">> m_preview |
76 | >> "export_button">> m_exportButton |
77 | ; |
78 | } |
79 | |
80 | app::ButtonSet* sectionTabs() const { return m_sectionTabs; } |
81 | app::ButtonSet::Item* sectionLayoutTab() const { return m_sectionLayoutTab; } |
82 | app::ButtonSet::Item* sectionSpriteTab() const { return m_sectionSpriteTab; } |
83 | app::ButtonSet::Item* sectionBordersTab() const { return m_sectionBordersTab; } |
84 | app::ButtonSet::Item* sectionOutputTab() const { return m_sectionOutputTab; } |
85 | ui::Button* expandSections() const { return m_expandSections; } |
86 | ui::Panel* panel() const { return m_panel; } |
87 | ui::Grid* sectionLayout() const { return m_sectionLayout; } |
88 | ui::ComboBox* sheetType() const { return m_sheetType; } |
89 | ui::ComboBox* constraintType() const { return m_constraintType; } |
90 | app::ExprEntry* widthConstraint() const { return m_widthConstraint; } |
91 | app::ExprEntry* heightConstraint() const { return m_heightConstraint; } |
92 | ui::CheckBox* mergeDups() const { return m_mergeDups; } |
93 | ui::CheckBox* ignoreEmpty() const { return m_ignoreEmpty; } |
94 | ui::HBox* sectionSpriteSeparator() const { return m_sectionSpriteSeparator; } |
95 | ui::Button* closeSpriteSection() const { return m_closeSpriteSection; } |
96 | ui::Grid* sectionSprite() const { return m_sectionSprite; } |
97 | ui::ComboBox* source() const { return m_source; } |
98 | ui::ComboBox* layers() const { return m_layers; } |
99 | ui::CheckBox* splitLayers() const { return m_splitLayers; } |
100 | ui::ComboBox* frames() const { return m_frames; } |
101 | ui::CheckBox* splitTags() const { return m_splitTags; } |
102 | ui::HBox* sectionBordersSeparator() const { return m_sectionBordersSeparator; } |
103 | ui::Button* closeBordersSection() const { return m_closeBordersSection; } |
104 | ui::Grid* sectionBorders() const { return m_sectionBorders; } |
105 | app::ExprEntry* borderPadding() const { return m_borderPadding; } |
106 | app::ExprEntry* shapePadding() const { return m_shapePadding; } |
107 | app::ExprEntry* innerPadding() const { return m_innerPadding; } |
108 | ui::CheckBox* trimSpriteEnabled() const { return m_trimSpriteEnabled; } |
109 | ui::CheckBox* trimEnabled() const { return m_trimEnabled; } |
110 | ui::VBox* trimContainer() const { return m_trimContainer; } |
111 | ui::CheckBox* gridTrimEnabled() const { return m_gridTrimEnabled; } |
112 | ui::CheckBox* extrudeEnabled() const { return m_extrudeEnabled; } |
113 | ui::HBox* sectionOutputSeparator() const { return m_sectionOutputSeparator; } |
114 | ui::Button* closeOutputSection() const { return m_closeOutputSection; } |
115 | ui::Grid* sectionOutput() const { return m_sectionOutput; } |
116 | ui::CheckBox* imageEnabled() const { return m_imageEnabled; } |
117 | ui::Button* imageFilename() const { return m_imageFilename; } |
118 | ui::CheckBox* dataEnabled() const { return m_dataEnabled; } |
119 | ui::Button* dataFilename() const { return m_dataFilename; } |
120 | ui::HBox* dataMeta() const { return m_dataMeta; } |
121 | ui::ComboBox* dataFormat() const { return m_dataFormat; } |
122 | ui::CheckBox* listLayers() const { return m_listLayers; } |
123 | ui::CheckBox* listTags() const { return m_listTags; } |
124 | ui::CheckBox* listSlices() const { return m_listSlices; } |
125 | ui::HBox* dataFilenameFormatPlaceholder() const { return m_dataFilenameFormatPlaceholder; } |
126 | ui::Entry* dataFilenameFormat() const { return m_dataFilenameFormat; } |
127 | ui::CheckBox* openGenerated() const { return m_openGenerated; } |
128 | ui::CheckBox* preview() const { return m_preview; } |
129 | ui::Button* exportButton() const { return m_exportButton; } |
130 | |
131 | private: |
132 | app::ButtonSet* m_sectionTabs; |
133 | app::ButtonSet::Item* m_sectionLayoutTab; |
134 | app::ButtonSet::Item* m_sectionSpriteTab; |
135 | app::ButtonSet::Item* m_sectionBordersTab; |
136 | app::ButtonSet::Item* m_sectionOutputTab; |
137 | ui::Button* m_expandSections; |
138 | ui::Panel* m_panel; |
139 | ui::Grid* m_sectionLayout; |
140 | ui::ComboBox* m_sheetType; |
141 | ui::ComboBox* m_constraintType; |
142 | app::ExprEntry* m_widthConstraint; |
143 | app::ExprEntry* m_heightConstraint; |
144 | ui::CheckBox* m_mergeDups; |
145 | ui::CheckBox* m_ignoreEmpty; |
146 | ui::HBox* m_sectionSpriteSeparator; |
147 | ui::Button* m_closeSpriteSection; |
148 | ui::Grid* m_sectionSprite; |
149 | ui::ComboBox* m_source; |
150 | ui::ComboBox* m_layers; |
151 | ui::CheckBox* m_splitLayers; |
152 | ui::ComboBox* m_frames; |
153 | ui::CheckBox* m_splitTags; |
154 | ui::HBox* m_sectionBordersSeparator; |
155 | ui::Button* m_closeBordersSection; |
156 | ui::Grid* m_sectionBorders; |
157 | app::ExprEntry* m_borderPadding; |
158 | app::ExprEntry* m_shapePadding; |
159 | app::ExprEntry* m_innerPadding; |
160 | ui::CheckBox* m_trimSpriteEnabled; |
161 | ui::CheckBox* m_trimEnabled; |
162 | ui::VBox* m_trimContainer; |
163 | ui::CheckBox* m_gridTrimEnabled; |
164 | ui::CheckBox* m_extrudeEnabled; |
165 | ui::HBox* m_sectionOutputSeparator; |
166 | ui::Button* m_closeOutputSection; |
167 | ui::Grid* m_sectionOutput; |
168 | ui::CheckBox* m_imageEnabled; |
169 | ui::Button* m_imageFilename; |
170 | ui::CheckBox* m_dataEnabled; |
171 | ui::Button* m_dataFilename; |
172 | ui::HBox* m_dataMeta; |
173 | ui::ComboBox* m_dataFormat; |
174 | ui::CheckBox* m_listLayers; |
175 | ui::CheckBox* m_listTags; |
176 | ui::CheckBox* m_listSlices; |
177 | ui::HBox* m_dataFilenameFormatPlaceholder; |
178 | ui::Entry* m_dataFilenameFormat; |
179 | ui::CheckBox* m_openGenerated; |
180 | ui::CheckBox* m_preview; |
181 | ui::Button* m_exportButton; |
182 | }; |
183 | |
184 | } // namespace gen |
185 | } // namespace app |
186 | |
187 | #endif |
188 |