CTooltipSupport Class Reference

Generic Tooltip Support class. More...

#include <ctooltipsupport.h>

List of all members.

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

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

CVSTGUITimertimer
CFrameframe
CViewcurrentView
void * platformObject
int delay
int state
CPoint lastMouseMove

Detailed Description

Generic Tooltip Support class.


Constructor & Destructor Documentation

CTooltipSupport ( CFrame frame,
int  delay = 1000 
)
Parameters:
frame CFrame object
delay tooltip delay time in milliseconds
~CTooltipSupport (  ) 

Member Function Documentation

void showTooltip (  )  [protected]
void hideTooltip (  )  [protected]
CMessageResult notify ( CBaseObject sender,
const char *  msg 
) [protected, virtual]

Reimplemented from CBaseObject.

void onMouseEntered ( CView view,
CFrame frame 
) [protected, virtual]

Implements IMouseObserver.

void onMouseExited ( CView view,
CFrame frame 
) [protected, virtual]

Implements IMouseObserver.

void onMouseMoved ( CFrame frame,
const CPoint where 
) [protected, virtual]

Reimplemented from IMouseObserver.

void onMouseDown ( CFrame frame,
const CPoint where 
) [protected, virtual]

Reimplemented from IMouseObserver.

virtual void forget (  )  [inline, virtual, inherited]

decrease refcount and delete object if refcount == 0

Reimplemented in CDrawContext.

virtual void remember (  )  [inline, virtual, inherited]

increase refcount

long getNbReference (  )  const [inline, inherited]

get refcount


Member Data Documentation

CVSTGUITimer* timer [protected]
CFrame* frame [protected]
CView* currentView [protected]
void* platformObject [protected]
int delay [protected]
int state [protected]
CPoint lastMouseMove [protected]

The documentation for this class was generated from the following files:
Generated on Fri Apr 9 10:19:33 2010 for VSTGUI by  doxygen 1.6.3