Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
csHintManager Class Reference
[Floating hints]
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 <csws/cshints.h>
Inheritance diagram for csHintManager:

Public Member Functions | |
csHintManager (csApp *iApp) | |
Initialize the hint manager object. | |
~csHintManager () | |
Destroy the hint manager. | |
void | FreeAll () |
Free all hints. | |
void | FreeItem (void *Item) |
Correctly free hint store objects. | |
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. | |
Static Public Member Functions | |
int | Compare (void *const &Item1, void *const &Item2) |
Compare two hints (by csComponent's). | |
int | CompareKey (void *const &Item, csComponent *const &key) |
Compare a hint with a csComponent. | |
csArrayCmp< void *, csComponent * > | KeyCmp (csComponent *c) |
Return a functor wrapping CompareKey() for a given csComponent. |
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.
Definition at line 72 of file cshints.h.
Constructor & Destructor Documentation
|
Initialize the hint manager object.
|
|
Destroy the hint manager.
|
Member Function Documentation
|
Add a new hint.
|
|
Compare two hints (by csComponent's).
|
|
Compare a hint with a csComponent.
|
|
Free all hints.
|
|
Correctly free hint store objects.
|
|
Examine a mouse event.
|
|
Return a functor wrapping CompareKey() for a given csComponent.
|
|
Remove the hint (if any) associated with this component.
|
|
Set the font and font size for hints.
|
|
Set hints timeout.
|
The documentation for this class was generated from the following file:
- csws/cshints.h
Generated for Crystal Space by doxygen 1.3.9.1