MyGUI  3.2.1
Public Member Functions | Data Fields
MyGUI::MenuControl::ItemInfo Struct Reference

#include <MyGUI_MenuControl.h>

Public Member Functions

 ItemInfo (MenuItem *_item, const UString &_name, MenuItemType _type, MenuControl *_submenu, const std::string &_id, Any _data)
 

Data Fields

MenuItemitem
 
UString name
 
MenuItemType type
 
MenuControlsubmenu
 
std::string id
 
Any data
 
int width
 

Detailed Description

Definition at line 40 of file MyGUI_MenuControl.h.

Constructor & Destructor Documentation

MyGUI::MenuControl::ItemInfo::ItemInfo ( MenuItem _item,
const UString _name,
MenuItemType  _type,
MenuControl _submenu,
const std::string &  _id,
Any  _data 
)
inline

Definition at line 42 of file MyGUI_MenuControl.h.

Field Documentation

Any MyGUI::MenuControl::ItemInfo::data

User data

Definition at line 64 of file MyGUI_MenuControl.h.

std::string MyGUI::MenuControl::ItemInfo::id

Item id

Definition at line 62 of file MyGUI_MenuControl.h.

MenuItem* MyGUI::MenuControl::ItemInfo::item

Item

Definition at line 54 of file MyGUI_MenuControl.h.

UString MyGUI::MenuControl::ItemInfo::name

Item name

Definition at line 56 of file MyGUI_MenuControl.h.

MenuControl* MyGUI::MenuControl::ItemInfo::submenu

Sub menu (or nullptr if no submenu)

Definition at line 60 of file MyGUI_MenuControl.h.

MenuItemType MyGUI::MenuControl::ItemInfo::type

Widget have separator after item

Definition at line 58 of file MyGUI_MenuControl.h.

int MyGUI::MenuControl::ItemInfo::width

Item width

Definition at line 66 of file MyGUI_MenuControl.h.


The documentation for this struct was generated from the following file: