Generic Tooltip Support class. More...
#include <ctooltipsupport.h>
Public Member Functions | |
CTooltipSupport (CFrame *frame, int delay=1000) | |
~CTooltipSupport () | |
Reference Counting Methods | |
virtual void | forget () |
decrease refcount and delete object if refcount == 0 | |
virtual void | remember () |
increase refcount | |
long | getNbReference () const |
get refcount | |
Message Methods | |
virtual CMessageResult | notify (CBaseObject *sender, const char *message) |
Protected Member Functions | |
void | showTooltip () |
void | hideTooltip () |
CMessageResult | notify (CBaseObject *sender, const char *msg) |
void | onMouseEntered (CView *view, CFrame *frame) |
void | onMouseExited (CView *view, CFrame *frame) |
void | onMouseMoved (CFrame *frame, const CPoint &where) |
void | onMouseDown (CFrame *frame, const CPoint &where) |
Protected Attributes | |
CVSTGUITimer * | timer |
CFrame * | frame |
CView * | currentView |
void * | platformObject |
int | delay |
int | state |
CPoint | lastMouseMove |
Generic Tooltip Support class.
CTooltipSupport | ( | CFrame * | frame, | |
int | delay = 1000 | |||
) |
~CTooltipSupport | ( | ) |
virtual void forget | ( | ) | [inline, virtual, inherited] |
decrease refcount and delete object if refcount == 0
Reimplemented in CDrawContext.
long getNbReference | ( | ) | const [inline, inherited] |
get refcount
void hideTooltip | ( | ) | [protected] |
virtual CMessageResult notify | ( | CBaseObject * | sender, | |
const char * | message | |||
) | [inline, virtual, inherited] |
CMessageResult notify | ( | CBaseObject * | sender, | |
const char * | msg | |||
) | [protected] |
Reimplemented from IMouseObserver.
Implements IMouseObserver.
Implements IMouseObserver.
Reimplemented from IMouseObserver.
virtual void remember | ( | ) | [inline, virtual, inherited] |
increase refcount
void showTooltip | ( | ) | [protected] |
CView* currentView [protected] |
int delay [protected] |
CPoint lastMouseMove [protected] |
void* platformObject [protected] |
int state [protected] |
CVSTGUITimer* timer [protected] |