C# Class IrrlichtNETCP.GUIContextMenu

Inheritance: GUIElement
Afficher le fichier Open project: Paulus/irrlichtnetcp

Méthodes publiques

Méthode 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

Méthode 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 méthode

public AddItem ( string text, int command, bool enabled, bool hasSubMenu ) : int
text string
command int
enabled bool
hasSubMenu bool
Résultat int

AddSeparator() public méthode

public AddSeparator ( ) : void
Résultat void

GUIContextMenu() public méthode

public GUIContextMenu ( IntPtr raw ) : System
raw System.IntPtr
Résultat System

GetItemCommandID() public méthode

public GetItemCommandID ( int id ) : int
id int
Résultat int

GetItemText() public méthode

public GetItemText ( int id ) : string
id int
Résultat string

GetSubMenu() public méthode

public GetSubMenu ( int id ) : GUIContextMenu
id int
Résultat GUIContextMenu

IsItemEnabled() public méthode

public IsItemEnabled ( int id ) : bool
id int
Résultat bool

RemoveAllItems() public méthode

public RemoveAllItems ( ) : void
Résultat void

RemoveItem() public méthode

public RemoveItem ( int item ) : void
item int
Résultat void

SetItemCommandID() public méthode

public SetItemCommandID ( int index, int id ) : void
index int
id int
Résultat void

SetItemEnabled() public méthode

public SetItemEnabled ( int index, bool enabled ) : void
index int
enabled bool
Résultat void

SetItemText() public méthode

public SetItemText ( int index, string text ) : void
index int
text string
Résultat void