| 1 | // Don't modify, generated file from /home/lucius/Code/aseprite/data/widgets/tileset_selector.xml | 
|---|---|
| 2 | |
| 3 | #ifndef GENERATED_TILESET_SELECTOR_H_INCLUDED | 
| 4 | #define GENERATED_TILESET_SELECTOR_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 | #include "ui/combobox.h" | 
| 12 | #include "ui/entry.h" | 
| 13 | |
| 14 | namespace app { | 
| 15 | namespace gen { | 
| 16 | |
| 17 | class TilesetSelector : public ui::VBox { | 
| 18 | public: | 
| 19 | TilesetSelector() { | 
| 20 | app::load_widget( "tileset_selector.xml", "tileset_selector", this); | 
| 21 | app::finder(this) | 
| 22 | >> "tilesets">> m_tilesets | 
| 23 | >> "name">> m_name | 
| 24 | >> "grid_width">> m_gridWidth | 
| 25 | >> "grid_height">> m_gridHeight | 
| 26 | >> "base_index">> m_baseIndex | 
| 27 | ; | 
| 28 | } | 
| 29 | |
| 30 | ui::ComboBox* tilesets() const { return m_tilesets; } | 
| 31 | ui::Entry* name() const { return m_name; } | 
| 32 | app::ExprEntry* gridWidth() const { return m_gridWidth; } | 
| 33 | app::ExprEntry* gridHeight() const { return m_gridHeight; } | 
| 34 | app::ExprEntry* baseIndex() const { return m_baseIndex; } | 
| 35 | |
| 36 | private: | 
| 37 | ui::ComboBox* m_tilesets; | 
| 38 | ui::Entry* m_name; | 
| 39 | app::ExprEntry* m_gridWidth; | 
| 40 | app::ExprEntry* m_gridHeight; | 
| 41 | app::ExprEntry* m_baseIndex; | 
| 42 | }; | 
| 43 | |
| 44 | } // namespace gen | 
| 45 | } // namespace app | 
| 46 | |
| 47 | #endif | 
| 48 | 
