1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/duplicate_sprite.xml
2
3#ifndef GENERATED_DUPLICATE_SPRITE_H_INCLUDED
4#define GENERATED_DUPLICATE_SPRITE_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/entry.h"
11#include "ui/label.h"
12#include "ui/window.h"
13
14namespace app {
15namespace gen {
16
17 class DuplicateSprite : public ui::Window {
18 public:
19 DuplicateSprite() : ui::Window(ui::Window::WithTitleBar) {
20 app::load_widget("duplicate_sprite.xml", "duplicate_sprite", this);
21 app::finder(this)
22 >> "src_name" >> m_srcName
23 >> "dst_name" >> m_dstName
24 >> "flatten" >> m_flatten
25 >> "ok" >> m_ok
26 ;
27 }
28
29 ui::Label* srcName() const { return m_srcName; }
30 ui::Entry* dstName() const { return m_dstName; }
31 ui::CheckBox* flatten() const { return m_flatten; }
32 ui::Button* ok() const { return m_ok; }
33
34 private:
35 ui::Label* m_srcName;
36 ui::Entry* m_dstName;
37 ui::CheckBox* m_flatten;
38 ui::Button* m_ok;
39 };
40
41} // namespace gen
42} // namespace app
43
44#endif
45