A ShowInfoTask sub class to display the ork::Logger messages. More...
#include <ShowLogTask.h>
Public Member Functions | |
ShowLogTask (ptr< Font > f, ptr< Program > p, float fontHeight, vec3i pos) | |
Creates a new ShowLogTask. | |
virtual | ~ShowLogTask () |
Deletes this ShowLogTask. | |
Static Public Attributes | |
static bool | enabled |
True if this task is enabled. | |
Protected Member Functions | |
ShowLogTask () | |
Creates an uninitialized ShowLogTask. | |
virtual void | init (ptr< Font > f, ptr< Program > p, float fontHeight, vec3i pos) |
Initializes this ShowLogTask. | |
virtual void | draw (ptr< Method > context) |
Draws the framerate and the information messages. |
A ShowInfoTask sub class to display the ork::Logger messages.
Creates a new ShowLogTask.
f | the Font used to display Text. | |
p | the program to be used to draw characters. | |
fontHeight | the used font height. | |
pos | x,y position and maximum number of lines of text to display. |
virtual ork::ShowLogTask::~ShowLogTask | ( | ) | [virtual] |
Deletes this ShowLogTask.
ork::ShowLogTask::ShowLogTask | ( | ) | [protected] |
Creates an uninitialized ShowLogTask.
Draws the framerate and the information messages.
context | the method to which this task belongs. |
Reimplemented from ork::ShowInfoTask.
virtual void ork::ShowLogTask::init | ( | ptr< Font > | f, | |
ptr< Program > | p, | |||
float | fontHeight, | |||
vec3i | pos | |||
) | [protected, virtual] |
Initializes this ShowLogTask.
f | the Font used to display Text. | |
p | the program to be used to draw characters. | |
fontHeight | the used font height. | |
pos | x,y position and maximum number of lines of text to display. |
bool ork::ShowLogTask::enabled [static] |
True if this task is enabled.
When disabled the message logs are not displayed.