1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/export_file.xml
2
3#ifndef GENERATED_EXPORT_FILE_H_INCLUDED
4#define GENERATED_EXPORT_FILE_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/label.h"
13#include "ui/window.h"
14
15namespace app {
16namespace gen {
17
18 class ExportFile : public ui::Window {
19 public:
20 ExportFile() : ui::Window(ui::Window::WithTitleBar) {
21 app::load_widget("export_file.xml", "export_file", this);
22 app::finder(this)
23 >> "output_filename" >> m_outputFilename
24 >> "output_filename_browse" >> m_outputFilenameBrowse
25 >> "resize_label" >> m_resizeLabel
26 >> "resize" >> m_resize
27 >> "area_label" >> m_areaLabel
28 >> "area" >> m_area
29 >> "layers_label" >> m_layersLabel
30 >> "layers" >> m_layers
31 >> "frames_label" >> m_framesLabel
32 >> "frames" >> m_frames
33 >> "anidir_label" >> m_anidirLabel
34 >> "anidir" >> m_anidir
35 >> "pixel_ratio" >> m_pixelRatio
36 >> "for_twitter" >> m_forTwitter
37 >> "adjust_resize" >> m_adjustResize
38 >> "ok" >> m_ok
39 ;
40 }
41
42 ui::Entry* outputFilename() const { return m_outputFilename; }
43 ui::Button* outputFilenameBrowse() const { return m_outputFilenameBrowse; }
44 ui::Label* resizeLabel() const { return m_resizeLabel; }
45 ui::ComboBox* resize() const { return m_resize; }
46 ui::Label* areaLabel() const { return m_areaLabel; }
47 ui::ComboBox* area() const { return m_area; }
48 ui::Label* layersLabel() const { return m_layersLabel; }
49 ui::ComboBox* layers() const { return m_layers; }
50 ui::Label* framesLabel() const { return m_framesLabel; }
51 ui::ComboBox* frames() const { return m_frames; }
52 ui::Label* anidirLabel() const { return m_anidirLabel; }
53 ui::ComboBox* anidir() const { return m_anidir; }
54 ui::CheckBox* pixelRatio() const { return m_pixelRatio; }
55 ui::CheckBox* forTwitter() const { return m_forTwitter; }
56 ui::Button* adjustResize() const { return m_adjustResize; }
57 ui::Button* ok() const { return m_ok; }
58
59 private:
60 ui::Entry* m_outputFilename;
61 ui::Button* m_outputFilenameBrowse;
62 ui::Label* m_resizeLabel;
63 ui::ComboBox* m_resize;
64 ui::Label* m_areaLabel;
65 ui::ComboBox* m_area;
66 ui::Label* m_layersLabel;
67 ui::ComboBox* m_layers;
68 ui::Label* m_framesLabel;
69 ui::ComboBox* m_frames;
70 ui::Label* m_anidirLabel;
71 ui::ComboBox* m_anidir;
72 ui::CheckBox* m_pixelRatio;
73 ui::CheckBox* m_forTwitter;
74 ui::Button* m_adjustResize;
75 ui::Button* m_ok;
76 };
77
78} // namespace gen
79} // namespace app
80
81#endif
82