| 1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/select_accelerator.xml |
|---|---|
| 2 | |
| 3 | #ifndef GENERATED_SELECT_ACCELERATOR_H_INCLUDED |
| 4 | #define GENERATED_SELECT_ACCELERATOR_H_INCLUDED |
| 5 | #pragma once |
| 6 | |
| 7 | #include "app/find_widget.h" |
| 8 | #include "app/load_widget.h" |
| 9 | #include "ui/box.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 SelectAccelerator : public ui::Window { |
| 18 | public: |
| 19 | SelectAccelerator() : ui::Window(ui::Window::WithTitleBar) { |
| 20 | app::load_widget("select_accelerator.xml", "select_accelerator", this); |
| 21 | app::finder(this) |
| 22 | >> "key_placeholder">> m_keyPlaceholder |
| 23 | >> "clear_button">> m_clearButton |
| 24 | >> "ctrl">> m_ctrl |
| 25 | >> "cmd">> m_cmd |
| 26 | >> "alt">> m_alt |
| 27 | >> "shift">> m_shift |
| 28 | >> "space">> m_space |
| 29 | >> "win">> m_win |
| 30 | >> "assigned_to">> m_assignedTo |
| 31 | >> "ok_button">> m_okButton |
| 32 | >> "cancel_button">> m_cancelButton |
| 33 | ; |
| 34 | } |
| 35 | |
| 36 | ui::HBox* keyPlaceholder() const { return m_keyPlaceholder; } |
| 37 | ui::Button* clearButton() const { return m_clearButton; } |
| 38 | ui::CheckBox* ctrl() const { return m_ctrl; } |
| 39 | ui::CheckBox* cmd() const { return m_cmd; } |
| 40 | ui::CheckBox* alt() const { return m_alt; } |
| 41 | ui::CheckBox* shift() const { return m_shift; } |
| 42 | ui::CheckBox* space() const { return m_space; } |
| 43 | ui::CheckBox* win() const { return m_win; } |
| 44 | ui::Label* assignedTo() const { return m_assignedTo; } |
| 45 | ui::Button* okButton() const { return m_okButton; } |
| 46 | ui::Button* cancelButton() const { return m_cancelButton; } |
| 47 | |
| 48 | private: |
| 49 | ui::HBox* m_keyPlaceholder; |
| 50 | ui::Button* m_clearButton; |
| 51 | ui::CheckBox* m_ctrl; |
| 52 | ui::CheckBox* m_cmd; |
| 53 | ui::CheckBox* m_alt; |
| 54 | ui::CheckBox* m_shift; |
| 55 | ui::CheckBox* m_space; |
| 56 | ui::CheckBox* m_win; |
| 57 | ui::Label* m_assignedTo; |
| 58 | ui::Button* m_okButton; |
| 59 | ui::Button* m_cancelButton; |
| 60 | }; |
| 61 | |
| 62 | } // namespace gen |
| 63 | } // namespace app |
| 64 | |
| 65 | #endif |
| 66 |