| 1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/css_options.xml | 
|---|---|
| 2 | |
| 3 | #ifndef GENERATED_CSS_OPTIONS_H_INCLUDED | 
| 4 | #define GENERATED_CSS_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 CssOptions : public ui::Window { | 
| 17 | public: | 
| 18 | CssOptions() : ui::Window(ui::Window::WithTitleBar) { | 
| 19 | app::load_widget( "css_options.xml", "css_options", this); | 
| 20 | app::finder(this) | 
| 21 | >> "pixel_scale">> m_pixelScale | 
| 22 | >> "with_vars">> m_withVars | 
| 23 | >> "generate_html">> m_generateHtml | 
| 24 | >> "dont_show">> m_dontShow | 
| 25 | >> "ok">> m_ok | 
| 26 | ; | 
| 27 | } | 
| 28 | |
| 29 | app::ExprEntry* pixelScale() const { return m_pixelScale; } | 
| 30 | ui::CheckBox* withVars() const { return m_withVars; } | 
| 31 | ui::CheckBox* generateHtml() const { return m_generateHtml; } | 
| 32 | ui::CheckBox* dontShow() const { return m_dontShow; } | 
| 33 | ui::Button* ok() const { return m_ok; } | 
| 34 | |
| 35 | private: | 
| 36 | app::ExprEntry* m_pixelScale; | 
| 37 | ui::CheckBox* m_withVars; | 
| 38 | ui::CheckBox* m_generateHtml; | 
| 39 | ui::CheckBox* m_dontShow; | 
| 40 | ui::Button* m_ok; | 
| 41 | }; | 
| 42 | |
| 43 | } // namespace gen | 
| 44 | } // namespace app | 
| 45 | |
| 46 | #endif | 
| 47 | 
