#include <omgui/win32/menuitems.h>
Inherits omgui::api::MenuItem.
Inherited by omgui::win32::Separator [virtual].
Public Member Functions | |
| virtual void | enable (bool value) |
| virtual bool | enabled () const |
| virtual menu_id | get_id () const |
| const MENUITEMINFO & | get_info () const |
| virtual string | get_label () const |
| MenuItem (const MenuItem &item) | |
| MenuItem (menu_id id, const string &label) | |
| virtual void | set_label (const string &label) |
Protected Member Functions | |
| void | init_info (menu_id id) |
| MenuItem () | |
| Separator uses this constructor. | |
Protected Attributes | |
| MENUITEMINFO | m_info |
| string | m_label |
| omgui::win32::MenuItem::MenuItem | ( | const MenuItem & | item | ) |
| omgui::win32::MenuItem::MenuItem | ( | ) | [protected] |
Separator uses this constructor.
| void omgui::win32::MenuItem::enable | ( | bool | value | ) | [virtual] |
Implements omgui::api::MenuItem.
| bool omgui::win32::MenuItem::enabled | ( | ) | const [virtual] |
Implements omgui::api::MenuItem.
| menu_id omgui::win32::MenuItem::get_id | ( | ) | const [virtual] |
Implements omgui::api::MenuItem.
| const MENUITEMINFO & omgui::win32::MenuItem::get_info | ( | ) | const |
| string omgui::win32::MenuItem::get_label | ( | ) | const [virtual] |
Implements omgui::api::MenuItem.
| void omgui::win32::MenuItem::init_info | ( | menu_id | id | ) | [protected] |
| void omgui::win32::MenuItem::set_label | ( | const string & | label | ) | [virtual] |
Implements omgui::api::MenuItem.
MENUITEMINFO omgui::win32::MenuItem::m_info [protected] |
string omgui::win32::MenuItem::m_label [protected] |