#include <font.h>
Detailed Description
Definition at line 96 of file font.h.
Constructor & Destructor Documentation
cTextWrapper::cTextWrapper |
( |
void |
| ) |
|
cTextWrapper::cTextWrapper |
( |
const char * |
Text, |
|
|
const cFont * |
Font, |
|
|
int |
Width |
|
) |
| |
cTextWrapper::~cTextWrapper |
( |
| ) |
|
cTextWrapper::cTextWrapper |
( |
void |
| ) |
|
cTextWrapper::cTextWrapper |
( |
const char * |
Text, |
|
|
const cFont * |
Font, |
|
|
int |
Width |
|
) |
| |
cTextWrapper::~cTextWrapper |
( |
| ) |
|
Member Function Documentation
const char * cTextWrapper::GetLine |
( |
int |
Line | ) |
|
const char* cTextWrapper::GetLine |
( |
int |
Line | ) |
|
Returns the given Line. The first line is numbered 0.
int cTextWrapper::Lines |
( |
void |
| ) |
|
|
inline |
int cTextWrapper::Lines |
( |
void |
| ) |
|
|
inline |
Returns the actual number of lines needed to display the full wrapped text.
Definition at line 113 of file include/vdr/font.h.
References lines.
void cTextWrapper::Set |
( |
const char * |
Text, |
|
|
const cFont * |
Font, |
|
|
int |
Width |
|
) |
| |
Wraps the Text to make it fit into the area defined by the given Width when displayed with the given Font.
Wrapping is done by inserting the necessary number of newline characters into the string.
void cTextWrapper::Set |
( |
const char * |
Text, |
|
|
const cFont * |
Font, |
|
|
int |
Width |
|
) |
| |
const char* cTextWrapper::Text |
( |
void |
| ) |
|
Returns the full wrapped text.
const char * cTextWrapper::Text |
( |
void |
| ) |
|
Returns the full wrapped text.
Definition at line 621 of file font.c.
References eol, and text.
Member Data Documentation
int cTextWrapper::lastLine |
|
private |
char * cTextWrapper::text |
|
private |
The documentation for this class was generated from the following files: