1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/jpeg_options.xml
2
3#ifndef GENERATED_JPEG_OPTIONS_H_INCLUDED
4#define GENERATED_JPEG_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/slider.h"
11#include "ui/window.h"
12
13namespace app {
14namespace gen {
15
16 class JpegOptions : public ui::Window {
17 public:
18 JpegOptions() : ui::Window(ui::Window::WithTitleBar) {
19 app::load_widget("jpeg_options.xml", "jpeg_options", this);
20 app::finder(this)
21 >> "quality" >> m_quality
22 >> "dont_show" >> m_dontShow
23 >> "ok" >> m_ok
24 ;
25 }
26
27 ui::Slider* quality() const { return m_quality; }
28 ui::CheckBox* dontShow() const { return m_dontShow; }
29 ui::Button* ok() const { return m_ok; }
30
31 private:
32 ui::Slider* m_quality;
33 ui::CheckBox* m_dontShow;
34 ui::Button* m_ok;
35 };
36
37} // namespace gen
38} // namespace app
39
40#endif
41