1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/about.xml
2
3#ifndef GENERATED_ABOUT_H_INCLUDED
4#define GENERATED_ABOUT_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/label.h"
11#include "ui/link_label.h"
12#include "ui/window.h"
13
14namespace app {
15namespace gen {
16
17 class About : public ui::Window {
18 public:
19 About() : ui::Window(ui::Window::WithTitleBar) {
20 app::load_widget("about.xml", "about", this);
21 app::finder(this)
22 >> "title" >> m_title
23 >> "credits" >> m_credits
24 >> "licenses" >> m_licenses
25 >> "ok" >> m_ok
26 ;
27 }
28
29 ui::Label* title() const { return m_title; }
30 ui::LinkLabel* credits() const { return m_credits; }
31 ui::LinkLabel* licenses() const { return m_licenses; }
32 ui::Button* ok() const { return m_ok; }
33
34 private:
35 ui::Label* m_title;
36 ui::LinkLabel* m_credits;
37 ui::LinkLabel* m_licenses;
38 ui::Button* m_ok;
39 };
40
41} // namespace gen
42} // namespace app
43
44#endif
45