#include <Highlight.h>
Public Member Functions | |
| Highlight (const faces::Face *const face) | |
| ~Highlight (void) | |
| const faces::Face * | GetFace () const |
| void | DrawFocus (float time, const ml7::Vector2 &offset=ml7::Vector2(0.0f, 0.0f)) |
| void | DrawHover (float time, const ml7::Vector2 &offset=ml7::Vector2(0.0f, 0.0f)) |
| fl7::Highlight::Highlight | ( | const faces::Face *const | face | ) |
Explicit constructor.
| fl7::Highlight::~Highlight | ( | void | ) |
Destructor.
| void fl7::Highlight::DrawFocus | ( | float | time, | |
| const ml7::Vector2 & | offset = ml7::Vector2( 0.0f, 0.0f ) | |||
| ) |
Draws the focus highlight (and only the highlight, not the face itself).
| void fl7::Highlight::DrawHover | ( | float | time, | |
| const ml7::Vector2 & | offset = ml7::Vector2( 0.0f, 0.0f ) | |||
| ) |
Draws the hover highlight (and only the highlight, not the face itself).
| const faces::Face* fl7::Highlight::GetFace | ( | ) | const [inline] |
Returns the face to highlight.
1.7.1