Inheritance diagram for CTabButton:
Public Member Functions | |
CTabButton (const CRect &size, CControlListener *listener, long tag, CBitmap *background, const char *inName) | |
virtual | ~CTabButton () |
virtual void | draw (CDrawContext *pContext) |
called if the view should draw itself | |
void | mouse (CDrawContext *pContext, CPoint &where, long button) |
called if a mouse click event occurs | |
virtual void | onDragEnter (CDrawContext *context, CDragContainer *drag, const CPoint &where) |
called if a drag is entering this view | |
void | setTextFont (const CFont &font) |
void | setActiveTextColor (const CColor &color) |
void | setInactiveTextColor (const CColor &color) |
void | setTextSize (const long &textSize) |
Protected Attributes | |
char * | name |
CFont | textFont |
CColor | activeTextColor |
CColor | inactiveTextColor |
long | fontSize |
|
|
|
|
|
called if the view should draw itself
Reimplemented from COnOffButton. |
|
called if a mouse click event occurs
Reimplemented from COnOffButton. |
|
called if a drag is entering this view
Reimplemented from CView. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|