|
psychic-ui 0.0.0
|
#include <Menu.hpp>
Public Member Functions | |
| SubMenuItem (const std::string &itemLabel, std::vector< std::shared_ptr< MenuItem > > items, const std::string &itemShortcut="", const std::string &itemIcon="") | |
| Public Member Functions inherited from psychic_ui::MenuItem | |
| MenuItem (std::string itemLabel, std::string itemShortcut="", std::string itemIcon="") | |
| MenuItem (const MenuItem &)=delete | |
| MenuItem & | operator= (const MenuItem &)=delete |
| MenuItem (MenuItem &&)=delete | |
| MenuItem & | operator= (MenuItem &&)=delete |
Public Attributes | |
| std::vector< std::shared_ptr< MenuItem > > | items {} |
| Public Attributes inherited from psychic_ui::MenuItem | |
| std::string | label {} |
| std::string | shortcut {} |
| std::string | icon {} |
| bool | enabled {true} |
| bool | danger {false} |
An item that opens a menu of its own beside it