Public Member Functions | Public Attributes

CButton Class Reference

Inherits Control, and Control.

Inherited by ArrowDn, ArrowUp, CButtonEx, CContextButton, CContextButton, and Tag.

List of all members.

Public Member Functions

 CButton (int left, int top, string@ caption)
 CButton (int left, int top, int width, int height, string& down)
 CButton (int left, int top, int width, int height, string& up, string& down)
 CButton (string& iniKey, string& down)
void SetCaption (string@ caption)
void Draw ()
 CButton (int left, int top, string@ caption)
void SetCaption (string@ caption)
void Draw ()

Public Attributes

string caption
Sprite spriteUp
Sprite spriteDown
int textBorder

Constructor & Destructor Documentation

CButton ( int  left,
int  top,
string caption 
)
CButton ( int  left,
int  top,
int  width,
int  height,
string down 
)
CButton ( int  left,
int  top,
int  width,
int  height,
string up,
string down 
)
CButton ( string iniKey,
string down 
)
CButton ( int  left,
int  top,
string caption 
)

Member Function Documentation

void SetCaption ( string caption  ) 
void Draw (  ) 

Reimplemented from Control.

void SetCaption ( string caption  ) 
void Draw (  ) 

Reimplemented from Control.


Member Data Documentation