C# Class IrrlichtNETCP.GUIContextMenu

Inheritance: GUIElement
Exibir arquivo Open project: Paulus/irrlichtnetcp

Public Methods

Method Description
AddItem ( string text, int command, bool enabled, bool hasSubMenu ) : int
AddSeparator ( ) : void
GUIContextMenu ( IntPtr raw ) : System
GetItemCommandID ( int id ) : int
GetItemText ( int id ) : string
GetSubMenu ( int id ) : GUIContextMenu
IsItemEnabled ( int id ) : bool
RemoveAllItems ( ) : void
RemoveItem ( int item ) : void
SetItemCommandID ( int index, int id ) : void
SetItemEnabled ( int index, bool enabled ) : void
SetItemText ( int index, string text ) : void

Private Methods

Method Description
GUIContextMenu_AddItem ( IntPtr menu, string text, int commandID, bool enabled, bool hasSubMenu ) : int
GUIContextMenu_AddSeparator ( IntPtr menu ) : void
GUIContextMenu_GetItemCommandID ( IntPtr menu, int id ) : int
GUIContextMenu_GetItemCount ( IntPtr menu ) : int
GUIContextMenu_GetItemText ( IntPtr menu, int index ) : string
GUIContextMenu_GetSelectedItem ( IntPtr menu ) : int
GUIContextMenu_GetSubMenu ( IntPtr menu, int index ) : IntPtr
GUIContextMenu_IsItemEnabled ( IntPtr menu, int id ) : bool
GUIContextMenu_RemoveAllItems ( IntPtr menu ) : void
GUIContextMenu_RemoveItem ( IntPtr menu, int item ) : void
GUIContextMenu_SetItemCommandID ( IntPtr menu, int index, int id ) : void
GUIContextMenu_SetItemEnabled ( IntPtr menu, int index, bool enabled ) : void
GUIContextMenu_SetItemText ( IntPtr menu, int index, string text ) : void

Method Details

AddItem() public method

public AddItem ( string text, int command, bool enabled, bool hasSubMenu ) : int
text string
command int
enabled bool
hasSubMenu bool
return int

AddSeparator() public method

public AddSeparator ( ) : void
return void

GUIContextMenu() public method

public GUIContextMenu ( IntPtr raw ) : System
raw System.IntPtr
return System

GetItemCommandID() public method

public GetItemCommandID ( int id ) : int
id int
return int

GetItemText() public method

public GetItemText ( int id ) : string
id int
return string

GetSubMenu() public method

public GetSubMenu ( int id ) : GUIContextMenu
id int
return GUIContextMenu

IsItemEnabled() public method

public IsItemEnabled ( int id ) : bool
id int
return bool

RemoveAllItems() public method

public RemoveAllItems ( ) : void
return void

RemoveItem() public method

public RemoveItem ( int item ) : void
item int
return void

SetItemCommandID() public method

public SetItemCommandID ( int index, int id ) : void
index int
id int
return void

SetItemEnabled() public method

public SetItemEnabled ( int index, bool enabled ) : void
index int
enabled bool
return void

SetItemText() public method

public SetItemText ( int index, string text ) : void
index int
text string
return void