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