|
psychic-ui 0.0.0
|
#include <Menu.hpp>
Public Member Functions | |
| RadioMenuItem (std::shared_ptr< MenuRadioGroup > itemGroup, const std::string &itemLabel, std::string itemValue, const std::string &itemShortcut="", const std::string &itemIcon="") | |
| bool | checked () const |
| 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::shared_ptr< MenuRadioGroup > | group {} |
| std::string | value {} |
| bool | closes {false} |
| Public Attributes inherited from psychic_ui::MenuItem | |
| std::string | label {} |
| std::string | shortcut {} |
| std::string | icon {} |
| bool | enabled {true} |
| bool | danger {false} |
One of a group's values, checked while it is the group's: choosing it makes it the group's value (the menu stays open, unless closes)