| 1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/despeckle.xml |
|---|---|
| 2 | |
| 3 | #ifndef GENERATED_DESPECKLE_H_INCLUDED |
| 4 | #define GENERATED_DESPECKLE_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/box.h" |
| 11 | |
| 12 | namespace app { |
| 13 | namespace gen { |
| 14 | |
| 15 | class Despeckle : public ui::HBox { |
| 16 | public: |
| 17 | Despeckle() { |
| 18 | app::load_widget("despeckle.xml", "despeckle", this); |
| 19 | app::finder(this) |
| 20 | >> "width">> m_width |
| 21 | >> "height">> m_height |
| 22 | ; |
| 23 | } |
| 24 | |
| 25 | app::ExprEntry* width() const { return m_width; } |
| 26 | app::ExprEntry* height() const { return m_height; } |
| 27 | |
| 28 | private: |
| 29 | app::ExprEntry* m_width; |
| 30 | app::ExprEntry* m_height; |
| 31 | }; |
| 32 | |
| 33 | } // namespace gen |
| 34 | } // namespace app |
| 35 | |
| 36 | #endif |
| 37 |