Render task definition for text plugin. The render task is responsible for rendering a specified page. More...
#include <text_tasks.h>


| Public Member Functions | |
| RenderTask (unsigned int _id, TextView *_view, const Position &_pos, void *_user_data, unsigned char *_bmp) | |
| Constructors and destructors. | |
| virtual | ~RenderTask () | 
| virtual void | execute () | 
| Execute task with task context. | |
Render task definition for text plugin. The render task is responsible for rendering a specified page.
Definition at line 119 of file text_tasks.h.
| text::RenderTask::RenderTask | ( | unsigned int | _id, | |
| TextView * | _view, | |||
| const Position & | _pos, | |||
| void * | _user_data, | |||
| unsigned char * | _bmp | |||
| ) | 
Constructors and destructors.
Definition at line 134 of file text_tasks.cpp.
| text::RenderTask::~RenderTask | ( | ) |  [virtual] | 
Definition at line 147 of file text_tasks.cpp.
| void text::RenderTask::execute | ( | ) |  [virtual] | 
Execute task with task context.
Implements common::Task.
Definition at line 151 of file text_tasks.cpp.
References utils::Signal< A1, A2, A3, A4, A5 >::broadcast(), text::TextView::render(), and text::TextView::render_done_signal.
00152 { 00153 Position end_pos = text_view->render(bmp, start_pos); 00154 00155 // Tell listener that render done. 00156 text_view->render_done_signal.broadcast(id, start_pos, end_pos, user_data); 00157 }

 1.6.2-20100208
 1.6.2-20100208