Class UI::ImguiMButton
ClassList > UI > ImguiMButton
#include <ImguiMButton.h>
Inherits the following classes: ImguiMenuItem
Public Attributes inherited from ImguiMenuItem
See ImguiMenuItem
| Type | Name |
|---|---|
| bool | mitem_enable = true |
| std::function< bool(bool)> | mitem_func |
| std::string | mitem_name = "" |
| bool | mitem_onclick = { false } |
| bool | mitem_onclick_b = { false } |
| bool | mitem_press = { false } |
| std::string | mitem_shortcut = "" |
| MenuItemType | mitem_type = BUTTON\_MITEM |
Public Functions
| Type | Name |
|---|---|
| ImguiMButton () |
|
| ImguiMButton (std::string _name, std::string _shortcut) |
|
| virtual void | RenderMenuItem (const Context & ctx) override |
| ~ImguiMButton () |
Public Functions inherited from ImguiMenuItem
See ImguiMenuItem
| Type | Name |
|---|---|
| virtual void | BindOption (char * _option) |
| void | BindOption (T * _option, std::function< bool(bool)> _callback=NULL) |
| virtual void | BindSwitch (bool * _switch) |
| void | EnableMenuItem (bool en) |
| ImguiMenuItem () |
|
| ImguiMenuItem (const std::string & name) |
|
| ImguiMenuItem (const std::string & name, const std::string & shortcut) |
|
| ImguiMenuItem (const std::string & name, MenuItemType _type) |
|
| ImguiMenuItem (const std::string & name, const std::string & shortcut, MenuItemType _type) |
|
| virtual void | RenderMenuItem (const Context & ctx) |
| ~ImguiMenuItem () |
Public Functions Documentation
function ImguiMButton [1/2]
UI::ImguiMButton::ImguiMButton ()
function ImguiMButton [2/2]
UI::ImguiMButton::ImguiMButton (
std::string _name,
std::string _shortcut
)
function RenderMenuItem
virtual void UI::ImguiMButton::RenderMenuItem (
const Context & ctx
) override
Implements ImguiMenuItem::RenderMenuItem
function ~ImguiMButton
inline UI::ImguiMButton::~ImguiMButton ()
The documentation for this class was generated from the following file src/UI/menu/ImguiMButton.h