MHEG5  18.9.0
MHEG5 Documentation
Macros | Functions
mh5drawtext.c File Reference

Uses the MHEG class data to provide information required by the. More...

#include <string.h>
#include "mg_drawtext.h"
#include "mh5drawtext.h"
#include "mh5application.h"
#include "mh5object.h"
#include "mh5font.h"
#include "mh5queue.h"
#include "mh5display.h"
#include "mh5debug.h"
#include "mg_api.h"
#include "mh5support.h"
#include "tmcolor.h"

Go to the source code of this file.

Macros

#define FONT_ATTRIBUTES_DEFAULT_SIZE   (24)
 
#define FONT_ATTRIBUTES_DEFAULT_LINESPACE   (28)
 
#define FONT_ATTRIBUTES_DEFAULT_LETTERSPACE   (0)
 
#define MINIMUM_BOX_DIMENSION   8
 
#define DEFAULT_LINK_COLOUR   (RGBT(0x00, 0x00, 0xff, 0x00))
 
#define DEFAULT_ACTIVE_LINK_COLOUR   (RGBT(0xff, 0x00, 0x00, 0x00))
 
#define DEFAULT_VISITED_LINK_COLOUR   (RGBT(0x3f, 0x1f, 0x7f, 0x00))
 
#define OBSCURED_INPUT_CHAR   ('*')
 

Functions

void MHEG5drawText (MHEG5Text *txt)
 
void MHEG5drawEntry (MHEG5Entryfield *entry, entryfieldCursor_t cursor)
 
void MHEG5drawHypertext (MHEG5Hypertext *hypertxt)
 
void MH5_DisplayText (MHEG5Text *txt, S_REGION *overlap)
 
void MH5_DisplayEntry (MHEG5Entryfield *entry, S_REGION *overlap)
 

Detailed Description

Uses the MHEG class data to provide information required by the.

Date
28/05/2008
Author
Adam Sturtridge

Definition in file mh5drawtext.c.

Macro Definition Documentation

#define DEFAULT_ACTIVE_LINK_COLOUR   (RGBT(0xff, 0x00, 0x00, 0x00))

Definition at line 51 of file mh5drawtext.c.

#define DEFAULT_LINK_COLOUR   (RGBT(0x00, 0x00, 0xff, 0x00))

Definition at line 50 of file mh5drawtext.c.

#define DEFAULT_VISITED_LINK_COLOUR   (RGBT(0x3f, 0x1f, 0x7f, 0x00))

Definition at line 52 of file mh5drawtext.c.

#define FONT_ATTRIBUTES_DEFAULT_LETTERSPACE   (0)

Definition at line 44 of file mh5drawtext.c.

#define FONT_ATTRIBUTES_DEFAULT_LINESPACE   (28)

Definition at line 43 of file mh5drawtext.c.

#define FONT_ATTRIBUTES_DEFAULT_SIZE   (24)

Definition at line 42 of file mh5drawtext.c.

#define MINIMUM_BOX_DIMENSION   8

Definition at line 47 of file mh5drawtext.c.

#define OBSCURED_INPUT_CHAR   ('*')

Definition at line 55 of file mh5drawtext.c.

Function Documentation

void MH5_DisplayEntry ( MHEG5Entryfield entry,
S_REGION overlap 
)

Definition at line 671 of file mh5drawtext.c.

void MH5_DisplayText ( MHEG5Text txt,
S_REGION overlap 
)

Definition at line 646 of file mh5drawtext.c.

void MHEG5drawEntry ( MHEG5Entryfield entry,
entryfieldCursor_t  cursor 
)

Definition at line 502 of file mh5drawtext.c.

void MHEG5drawHypertext ( MHEG5Hypertext hypertxt)

Definition at line 578 of file mh5drawtext.c.

void MHEG5drawText ( MHEG5Text txt)

Definition at line 485 of file mh5drawtext.c.