1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/tag_properties.xml
2
3#ifndef GENERATED_TAG_PROPERTIES_H_INCLUDED
4#define GENERATED_TAG_PROPERTIES_H_INCLUDED
5#pragma once
6
7#include "app/find_widget.h"
8#include "app/load_widget.h"
9#include "app/ui/expr_entry.h"
10#include "ui/button.h"
11#include "ui/combobox.h"
12#include "ui/entry.h"
13#include "ui/grid.h"
14#include "ui/window.h"
15
16namespace app {
17namespace gen {
18
19 class TagProperties : public ui::Window {
20 public:
21 TagProperties() : ui::Window(ui::Window::WithTitleBar) {
22 app::load_widget("tag_properties.xml", "tag_properties", this);
23 app::finder(this)
24 >> "properties_grid" >> m_propertiesGrid
25 >> "name" >> m_name
26 >> "user_data" >> m_userData
27 >> "from" >> m_from
28 >> "to" >> m_to
29 >> "anidir" >> m_anidir
30 >> "ok" >> m_ok
31 ;
32 }
33
34 ui::Grid* propertiesGrid() const { return m_propertiesGrid; }
35 ui::Entry* name() const { return m_name; }
36 ui::Button* userData() const { return m_userData; }
37 app::ExprEntry* from() const { return m_from; }
38 app::ExprEntry* to() const { return m_to; }
39 ui::ComboBox* anidir() const { return m_anidir; }
40 ui::Button* ok() const { return m_ok; }
41
42 private:
43 ui::Grid* m_propertiesGrid;
44 ui::Entry* m_name;
45 ui::Button* m_userData;
46 app::ExprEntry* m_from;
47 app::ExprEntry* m_to;
48 ui::ComboBox* m_anidir;
49 ui::Button* m_ok;
50 };
51
52} // namespace gen
53} // namespace app
54
55#endif
56