Public Member Functions | Public Attributes

CContextMenu Class Reference

Inherits Control, Window, and Window.

List of all members.

Public Member Functions

void Init ()
int Width ()
void OnShow ()
 Sets controls visibility depending on the context.
void Init ()
int Width ()
void OnShow ()
WindowAddButton (string caption, int context_flags, int ispid, string command)
 CContextMenu (IGuiManager@ manager)
void Show (int x, int y)
bool MouseUp (int click)

Public Attributes

CButtontitle
CKillerButtonkiller
CPossessButtonpossess
CCleanButtonclean
CTradeButtontrade
CTeleportButtonteleport
CAirstrikeButtonairstrike
CXpButtonxp
CSpawnNpcButtonspawnNpc
CPickButtonpick
CAttackButtonattack
CMoveToButtonmoveTo
CStopButtonstop
CNeutralizeButtonneutralize
array< CButtonEx@> buttons
int arranged
CSomeButtonsome

Constructor & Destructor Documentation

CContextMenu ( IGuiManager manager  ) 

Member Function Documentation

void Init (  ) 

Reimplemented from Window.

int Width (  ) 

Reimplemented from Window.

void OnShow (  ) 

Sets controls visibility depending on the context.

void Init (  ) 

Reimplemented from Window.

int Width (  ) 

Reimplemented from Window.

void OnShow (  ) 
Window@ AddButton ( string  caption,
int  context_flags,
int  ispid,
string  command 
)
void Show ( int  x,
int  y 
)

Reimplemented from Window.

bool MouseUp ( int  click  ) 

Member Data Documentation

array<CButtonEx@> buttons
int arranged