Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

csHintManager Class Reference

The "hint manager" keeps track of all hints and associated components, and creates the appropiate csHint when it detects mouse is not moved for too long time. More...

#include <cshints.h>

Inheritance diagram for csHintManager:

csVector csBasicVector List of all members.

Public Methods

 csHintManager (csApp *iApp)
 Initialize the hint manager object.

virtual ~csHintManager ()
 Destroy the hint manager.

virtual bool FreeItem (csSome Item)
 Override FreeItem to correctly free hint store objects.

virtual int Compare (csSome Item1, csSome Item2, int Mode) const
 Compare two hints (by csComponent's).

virtual int CompareKey (csSome Item, csConstSome Key, int Mode) const
 Compare a hint with a csComponent.

void Add (const char *iText, csComponent *iComp)
 Add a new hint.

void Remove (csComponent *iComp)
 Remove the hint (if any) associated with this component.

void HandleEvent (iEvent &Event)
 Examine a mouse event.

void SetTimeout (csTicks iTimeout)
 Set hints timeout.

void SetFont (iFont *iNewFont, int iSize)
 Set the font and font size for hints.


Detailed Description

The "hint manager" keeps track of all hints and associated components, and creates the appropiate csHint when it detects mouse is not moved for too long time.


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