Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csHint Class Reference

This component will display "floating hints", which will vanish as soon as you move the mouse or press a key. More...

#include <cshints.h>

Inheritance diagram for csHint:

csComponent List of all members.

Public Methods

 csHint (csComponent *iParent, const char *iText, iFont *Font=NULL, int iFontSize=-1)
 Create a floating hint with an text string.

virtual ~csHint ()
 Cleanup before destruction.

virtual void Draw ()
 Draw the hint object.

virtual bool PreHandleEvent (iEvent &Event)
 Handle all events before any others get a chance to eat it.

virtual void SetText (const char *iText)
 Set the text of the hint (also resizes the window).


Detailed Description

This component will display "floating hints", which will vanish as soon as you move the mouse or press a key.

A object of this class is automatically created by csComponent class when it detects that the mouse is unmoved for some time over some non-focused component that has an associated hint.


The documentation for this class was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000