1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/color_mode.xml
2
3#ifndef GENERATED_COLOR_MODE_H_INCLUDED
4#define GENERATED_COLOR_MODE_H_INCLUDED
5#pragma once
6
7#include "app/find_widget.h"
8#include "app/load_widget.h"
9#include "ui/box.h"
10#include "ui/button.h"
11#include "ui/combobox.h"
12#include "ui/listbox.h"
13#include "ui/slider.h"
14#include "ui/view.h"
15#include "ui/window.h"
16
17namespace app {
18namespace gen {
19
20 class ColorMode : public ui::Window {
21 public:
22 ColorMode() : ui::Window(ui::Window::WithTitleBar) {
23 app::load_widget("color_mode.xml", "color_mode", this);
24 app::finder(this)
25 >> "color_mode_view" >> m_colorModeView
26 >> "color_mode" >> m_colorMode
27 >> "dithering_placeholder" >> m_ditheringPlaceholder
28 >> "amount" >> m_amount
29 >> "factor" >> m_factor
30 >> "to_gray_combobox" >> m_toGrayCombobox
31 >> "flatten" >> m_flatten
32 >> "advanced_check" >> m_advancedCheck
33 >> "advanced" >> m_advanced
34 >> "rgbmap_algorithm_placeholder" >> m_rgbmapAlgorithmPlaceholder
35 >> "progress" >> m_progress
36 >> "ok" >> m_ok
37 ;
38 }
39
40 ui::View* colorModeView() const { return m_colorModeView; }
41 ui::ListBox* colorMode() const { return m_colorMode; }
42 ui::HBox* ditheringPlaceholder() const { return m_ditheringPlaceholder; }
43 ui::HBox* amount() const { return m_amount; }
44 ui::Slider* factor() const { return m_factor; }
45 ui::ComboBox* toGrayCombobox() const { return m_toGrayCombobox; }
46 ui::CheckBox* flatten() const { return m_flatten; }
47 ui::CheckBox* advancedCheck() const { return m_advancedCheck; }
48 ui::HBox* advanced() const { return m_advanced; }
49 ui::HBox* rgbmapAlgorithmPlaceholder() const { return m_rgbmapAlgorithmPlaceholder; }
50 ui::Slider* progress() const { return m_progress; }
51 ui::Button* ok() const { return m_ok; }
52
53 private:
54 ui::View* m_colorModeView;
55 ui::ListBox* m_colorMode;
56 ui::HBox* m_ditheringPlaceholder;
57 ui::HBox* m_amount;
58 ui::Slider* m_factor;
59 ui::ComboBox* m_toGrayCombobox;
60 ui::CheckBox* m_flatten;
61 ui::CheckBox* m_advancedCheck;
62 ui::HBox* m_advanced;
63 ui::HBox* m_rgbmapAlgorithmPlaceholder;
64 ui::Slider* m_progress;
65 ui::Button* m_ok;
66 };
67
68} // namespace gen
69} // namespace app
70
71#endif
72