1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/tga_options.xml
2
3#ifndef GENERATED_TGA_OPTIONS_H_INCLUDED
4#define GENERATED_TGA_OPTIONS_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/label.h"
12#include "ui/window.h"
13
14namespace app {
15namespace gen {
16
17 class TgaOptions : public ui::Window {
18 public:
19 TgaOptions() : ui::Window(ui::Window::WithTitleBar) {
20 app::load_widget("tga_options.xml", "tga_options", this);
21 app::finder(this)
22 >> "bits_per_pixel_label" >> m_bitsPerPixelLabel
23 >> "bits_per_pixel" >> m_bitsPerPixel
24 >> "compress" >> m_compress
25 >> "dont_show" >> m_dontShow
26 >> "ok" >> m_ok
27 ;
28 }
29
30 ui::Label* bitsPerPixelLabel() const { return m_bitsPerPixelLabel; }
31 ui::ComboBox* bitsPerPixel() const { return m_bitsPerPixel; }
32 ui::CheckBox* compress() const { return m_compress; }
33 ui::CheckBox* dontShow() const { return m_dontShow; }
34 ui::Button* ok() const { return m_ok; }
35
36 private:
37 ui::Label* m_bitsPerPixelLabel;
38 ui::ComboBox* m_bitsPerPixel;
39 ui::CheckBox* m_compress;
40 ui::CheckBox* m_dontShow;
41 ui::Button* m_ok;
42 };
43
44} // namespace gen
45} // namespace app
46
47#endif
48