1// Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/script_access.xml
2
3#ifndef GENERATED_SCRIPT_ACCESS_H_INCLUDED
4#define GENERATED_SCRIPT_ACCESS_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 ScriptAccess : public ui::Window {
18 public:
19 ScriptAccess() : ui::Window(ui::Window::WithTitleBar) {
20 app::load_widget("script_access.xml", "script_access", this);
21 app::finder(this)
22 >> "script" >> m_script
23 >> "file_label" >> m_fileLabel
24 >> "file" >> m_file
25 >> "dont_show" >> m_dontShow
26 >> "full" >> m_full
27 >> "allow" >> m_allow
28 >> "stop" >> m_stop
29 ;
30 }
31
32 ui::LinkLabel* script() const { return m_script; }
33 ui::Label* fileLabel() const { return m_fileLabel; }
34 ui::LinkLabel* file() const { return m_file; }
35 ui::CheckBox* dontShow() const { return m_dontShow; }
36 ui::CheckBox* full() const { return m_full; }
37 ui::Button* allow() const { return m_allow; }
38 ui::Button* stop() const { return m_stop; }
39
40 private:
41 ui::LinkLabel* m_script;
42 ui::Label* m_fileLabel;
43 ui::LinkLabel* m_file;
44 ui::CheckBox* m_dontShow;
45 ui::CheckBox* m_full;
46 ui::Button* m_allow;
47 ui::Button* m_stop;
48 };
49
50} // namespace gen
51} // namespace app
52
53#endif
54