| 32 | }; |
| 33 | |
| 34 | class MenuCategory : public MenuObject{ |
| 35 | public: |
| 36 | std::vector<Lemon::GUI::ContextMenuEntry> items; |
| 37 | |
| 38 | MenuCategory(){ |
| 39 | |
| 40 | } |
| 41 | |
| 42 | MenuCategory(std::string name){ |
| 43 | this->name = name; |
| 44 | } |
| 45 | |
| 46 | void Open(vector2i_t pos) final { |
| 47 | menuWindow->DisplayContextMenu(items, pos); |
| 48 | } |
| 49 | }; |
| 50 | |
| 51 | class MenuItem : public MenuObject{ |
| 52 | std::string exec; |