1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/user_data.xml
2
3#ifndef GENERATED_USER_DATA_H_INCLUDED
4#define GENERATED_USER_DATA_H_INCLUDED
5#pragma once
6
7#include "app/find_widget.h"
8#include "app/load_widget.h"
9#include "app/ui/color_button.h"
10#include "ui/box.h"
11#include "ui/entry.h"
12#include "ui/label.h"
13
14namespace app {
15namespace gen {
16
17 class UserData : public ui::HBox {
18 public:
19 UserData() {
20 app::load_widget("user_data.xml", "user_data", this);
21 app::finder(this)
22 >> "color_label" >> m_colorLabel
23 >> "entry_label" >> m_entryLabel
24 >> "color" >> m_color
25 >> "entry" >> m_entry
26 ;
27 }
28
29 ui::Label* colorLabel() const { return m_colorLabel; }
30 ui::Label* entryLabel() const { return m_entryLabel; }
31 app::ColorButton* color() const { return m_color; }
32 ui::Entry* entry() const { return m_entry; }
33
34 private:
35 ui::Label* m_colorLabel;
36 ui::Label* m_entryLabel;
37 app::ColorButton* m_color;
38 ui::Entry* m_entry;
39 };
40
41} // namespace gen
42} // namespace app
43
44#endif
45