Tooltip Class Reference

Inheritance diagram for Tooltip:

Inheritance graph
[legend]
Collaboration diagram for Tooltip:

Collaboration graph
[legend]

Public Member Functions

 Tooltip (intf_thread_t *pIntf, const GenericFont &rFont, int delay)
 Create a tooltip with the given font and delay (in milliseconds).
virtual ~Tooltip ()
void show ()
 Draw the tooltip and show it after the delay.
void hide ()
 Hide the tooltip and cancel the timer if a tooltip is waiting for display.

Friends

class CmdShow

Data Structures

class  CmdShow
 Callback to show the tooltip window.

Constructor & Destructor Documentation

Tooltip::Tooltip ( intf_thread_t pIntf,
const GenericFont rFont,
int  delay 
)

Tooltip::~Tooltip (  )  [virtual]


Member Function Documentation

void Tooltip::show (  ) 

Draw the tooltip and show it after the delay.

References OSTimer::start().

Referenced by WindowManager::showTooltip().

void Tooltip::hide (  ) 

Hide the tooltip and cancel the timer if a tooltip is waiting for display.

References OSTooltip::hide(), and OSTimer::stop().

Referenced by WindowManager::hideTooltip().


Friends And Related Function Documentation

friend class CmdShow [friend]


The documentation for this class was generated from the following files:

Generated on Tue May 25 08:06:25 2010 for VLC by  doxygen 1.5.6