#include <hic_wrap.h>
Public Member Functions | |
virtual void | draw_text (HIC_Rendition const *nr, HIC_Text_Info const *ti) |
Draw_Text (HC_KEY key, const char *name, void *data=0) | |
const char * | GetName () |
virtual | ~Draw_Text () |
Protected Member Functions | |
void * | GetData () |
Draw_Text::Draw_Text | ( | HC_KEY | key, | |
const char * | name, | |||
void * | data = 0 | |||
) |
Constructs a Draw_Text Callback object.
key | Key to the segment on which the callback is set. | |
name | The name of the callback. | |
data | Optional pointer to user data that can then be accessed from the callback. |
virtual Draw_Text::~Draw_Text | ( | ) | [virtual] |
Deletes the callback object.
virtual void Draw_Text::draw_text | ( | HIC_Rendition const * | nr, | |
HIC_Text_Info const * | ti | |||
) | [inline, virtual] |
The function you implement for your callback.
nr | A pointer to a const HIC_Rendition | |
where | A pointer to a const HIC_Point | |
int | A integer variable | |
kstring | A pointer to a const HIC_Karacter(unsigned short variable) |
void* Draw_Text::GetData | ( | ) | [protected] |
Returns the pointer to the user data that may have been provided when the callback was created.
const char* Draw_Text::GetName | ( | ) |
Returns the name of the callback.