1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/frame_properties.xml |
---|---|
2 | |
3 | #ifndef GENERATED_FRAME_PROPERTIES_H_INCLUDED |
4 | #define GENERATED_FRAME_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/label.h" |
12 | #include "ui/window.h" |
13 | |
14 | namespace app { |
15 | namespace gen { |
16 | |
17 | class FrameProperties : public ui::Window { |
18 | public: |
19 | FrameProperties() : ui::Window(ui::Window::WithTitleBar) { |
20 | app::load_widget("frame_properties.xml", "frame_properties", this); |
21 | app::finder(this) |
22 | >> "frame">> m_frame |
23 | >> "frlen">> m_frlen |
24 | >> "ok">> m_ok |
25 | ; |
26 | } |
27 | |
28 | ui::Label* frame() const { return m_frame; } |
29 | app::ExprEntry* frlen() const { return m_frlen; } |
30 | ui::Button* ok() const { return m_ok; } |
31 | |
32 | private: |
33 | ui::Label* m_frame; |
34 | app::ExprEntry* m_frlen; |
35 | ui::Button* m_ok; |
36 | }; |
37 | |
38 | } // namespace gen |
39 | } // namespace app |
40 | |
41 | #endif |
42 |