List of all members.
Detailed Description
The class holding the faces and managing events and respective function calls.
Member Typedef Documentation
Constructor & Destructor Documentation
| fl7::Shell::Shell |
( |
void |
|
) |
|
| fl7::Shell::~Shell |
( |
void |
|
) |
[virtual] |
Member Function Documentation
Activates a given window. If the given window is NULL, the currently active window will be deactivated. If a overlaying dialog is active, this operation has no effect.
Closes the given dialog. If the given dialog is not the top-most window, this function has no effect.
Closes the given frame window.
Closes the given popup window. If the given popup is not the top-most window, this function has no effect.
Deactivates a given window. If the given window is not currently active or is the top-most dialog, the operation has no effect.
| void fl7::Shell::Draw |
( |
float |
time |
) |
|
Draws the windows and other faces as well as the mouse cursor.
Returns the absolute position of a given face.
Returns the absolute position of a given client position.
Returns the active window control (or NULL if no window active).
| D3DCOLOR fl7::Shell::GetBaseColor |
( |
|
) |
const [inline] |
Returns the base color everything will be mixed up with.
Returns the sound to play on click events.
Returns the client position of a given absolute position.
Returns the text in the clipboard to copy and paste.
| const Config& fl7::Shell::GetConfig |
( |
|
) |
const [inline] |
The configuration structure.
| const Image& fl7::Shell::GetCursorImage |
( |
|
) |
const [inline] |
Returns the image describing the appearance of the mouse cursor.
Returns the top-most (visible) face at a given absolute position.
Returns the face having the focus (or NULL if no face focused).
Returns the sound to play on focus events.
Returns the font for displaying text.
Returns the face control having the mouse hovering over it (or NULL).
Returns the sound to play on hover events.
| D3DCOLOR fl7::Shell::GetMixedColor |
( |
D3DCOLOR |
color |
) |
const |
Returns the given color mixed up with the base color.
| D3DCOLOR fl7::Shell::GetMixedColor |
( |
const faces::Face * |
face |
) |
const |
Returns the effective color of a given face mixed up with the base color.
| const ml7::Vector2& fl7::Shell::GetResolution |
( |
|
) |
const [inline] |
Returns the imaginary screen resolution.
Returns the texture containing the graphics.
Returns the texture containing the graphics.
| const Image& fl7::Shell::GetVoidCursorImage |
( |
|
) |
const [inline] |
Returns the image describing the appearance of the mouse cursor while "pointing at nothing".
| int fl7::Shell::GetZOrder |
( |
const faces::Window *const |
window |
) |
const |
Returns the z-order of a given window (0 => top-most).
| void fl7::Shell::HideCursor |
( |
|
) |
[inline] |
Makes the mouse cursor invisible.
| bool fl7::Shell::Init |
( |
const Config * |
config = NULL |
) |
|
Initializes the shell (loads texture data, creates font, etc.).
| bool fl7::Shell::IsCursorVisible |
( |
|
) |
const [inline] |
Returns the flag specifying whether to show the mouse cursor or not.
| void fl7::Shell::Move |
( |
float |
time |
) |
|
Moves the windows and performs actions and events.
Opens the given dialog and sets the focus to it to activate it. The dialog can only be deactivated by another dialog overlaying it.
Opens the given frame window and sets the focus to it to activate it.
Opens the given popup window and sets the focus to it to activate it. If the popup control gets deactivated, it will be closed automatically. (This effect does not take place if another popup emerges.)
| void fl7::Shell::PlayClickSound |
( |
|
) |
|
Play the sound for click events.
| void fl7::Shell::PlayFocusSound |
( |
|
) |
|
Play the sound for focus events.
| void fl7::Shell::PlayHoverSound |
( |
|
) |
|
Play the sound for hover events.
| void fl7::Shell::SetBaseColor |
( |
D3DCOLOR |
base_color |
) |
[inline] |
Sets the base color everything will be mixed up with.
Sets the text in the clipboard to copy and paste.
| void fl7::Shell::SetCursorImage |
( |
const Image & |
cursor_image |
) |
[inline] |
Sets the image describing the appearance of the mouse cursor.
Lets the given face have the focus. If another face previously has the focus, it loses the focus. If NULL is passed to the function, no face will be focused. The currently active window will eventually be changed as well.
| void fl7::Shell::SetResolution |
( |
const ml7::Vector2 & |
resolution |
) |
[inline] |
Sets the imaginary screen resolution.
| void fl7::Shell::SetVoidCursorImage |
( |
const Image & |
void_cursor_image |
) |
[inline] |
Sets the image describing the appearance of the mouse cursor while "pointing
at nothing".
| void fl7::Shell::ShowCursor |
( |
|
) |
[inline] |
Makes the mouse cursor visible.
| bool fl7::Shell::Shutdown |
( |
|
) |
|
Shuts down the shell (releases texture etc.).
| Image& fl7::Shell::UpdateCursorImage |
( |
|
) |
[inline] |
Returns the image describing the appearance of the mouse cursor, so you can update it.
| Image& fl7::Shell::UpdateVoidCursorImage |
( |
|
) |
[inline] |
Returns the image describing the appearance of the mouse cursor while "pointing at nothing", so you can update it.
Friends And Related Function Documentation
| void faces::Face::_Logoff |
( |
|
) |
[friend] |
The documentation for this class was generated from the following files: