1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/gif_options.xml
2
3#ifndef GENERATED_GIF_OPTIONS_H_INCLUDED
4#define GENERATED_GIF_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/window.h"
11
12namespace app {
13namespace gen {
14
15 class GifOptions : public ui::Window {
16 public:
17 GifOptions() : ui::Window(ui::Window::WithTitleBar) {
18 app::load_widget("gif_options.xml", "gif_options", this);
19 app::finder(this)
20 >> "interlaced" >> m_interlaced
21 >> "loop" >> m_loop
22 >> "preserve_palette_order" >> m_preservePaletteOrder
23 >> "dont_show" >> m_dontShow
24 >> "ok" >> m_ok
25 ;
26 }
27
28 ui::CheckBox* interlaced() const { return m_interlaced; }
29 ui::CheckBox* loop() const { return m_loop; }
30 ui::CheckBox* preservePaletteOrder() const { return m_preservePaletteOrder; }
31 ui::CheckBox* dontShow() const { return m_dontShow; }
32 ui::Button* ok() const { return m_ok; }
33
34 private:
35 ui::CheckBox* m_interlaced;
36 ui::CheckBox* m_loop;
37 ui::CheckBox* m_preservePaletteOrder;
38 ui::CheckBox* m_dontShow;
39 ui::Button* m_ok;
40 };
41
42} // namespace gen
43} // namespace app
44
45#endif
46