| 1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/color_curve_point.xml |
|---|---|
| 2 | |
| 3 | #ifndef GENERATED_COLOR_CURVE_POINT_H_INCLUDED |
| 4 | #define GENERATED_COLOR_CURVE_POINT_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 ColorCurvePoint : public ui::Window { |
| 17 | public: |
| 18 | ColorCurvePoint() : ui::Window(ui::Window::WithTitleBar) { |
| 19 | app::load_widget("color_curve_point.xml", "color_curve_point", this); |
| 20 | app::finder(this) |
| 21 | >> "x">> m_x |
| 22 | >> "y">> m_y |
| 23 | >> "ok">> m_ok |
| 24 | >> "delete_button">> m_deleteButton |
| 25 | ; |
| 26 | } |
| 27 | |
| 28 | app::ExprEntry* x() const { return m_x; } |
| 29 | app::ExprEntry* y() const { return m_y; } |
| 30 | ui::Button* ok() const { return m_ok; } |
| 31 | ui::Button* deleteButton() const { return m_deleteButton; } |
| 32 | |
| 33 | private: |
| 34 | app::ExprEntry* m_x; |
| 35 | app::ExprEntry* m_y; |
| 36 | ui::Button* m_ok; |
| 37 | ui::Button* m_deleteButton; |
| 38 | }; |
| 39 | |
| 40 | } // namespace gen |
| 41 | } // namespace app |
| 42 | |
| 43 | #endif |
| 44 |