Detailed Description
Text module Module that handles texts
Typedef Documentation
Internal text structure
Definition at line 52 of file orxText.h.
Function Documentation
| orxDLLAPI orxTEXT* orxFASTCALL orxText_Create |
( |
) |
|
Creates an empty text
- Returns:
- orxTEXT / orxNULL
| orxDLLAPI orxTEXT* orxFASTCALL orxText_CreateFromConfig |
( |
const orxSTRING |
_zConfigID ) |
|
Creates a text from config
- Parameters:
-
- Returns:
- orxTEXT / orxNULL
Deletes a text
- Parameters:
-
| [in] | _pstText | Concerned text |
- Returns:
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
| orxDLLAPI void orxFASTCALL orxText_Exit |
( |
) |
|
Exits from the text module
| orxDLLAPI orxFONT* orxFASTCALL orxText_GetFont |
( |
const orxTEXT * |
_pstText ) |
|
Gets text font
- Parameters:
-
| [in] | _pstText | Concerned text |
- Returns:
- Text font / orxNULL
| orxDLLAPI const orxSTRING orxFASTCALL orxText_GetName |
( |
const orxTEXT * |
_pstText ) |
|
Gets text name
- Parameters:
-
| [in] | _pstText | Concerned text |
- Returns:
- Text name / orxNULL
| orxDLLAPI orxSTATUS orxFASTCALL orxText_GetSize |
( |
const orxTEXT * |
_pstText, |
|
|
orxFLOAT * |
_pfWidth, |
|
|
orxFLOAT * |
_pfHeight |
|
) |
| |
Gets text size
- Parameters:
-
| [in] | _pstText | Concerned text |
| [out] | _pfWidth | Text's width |
| [out] | _pfHeight | Text's height |
- Returns:
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
| orxDLLAPI const orxSTRING orxFASTCALL orxText_GetString |
( |
const orxTEXT * |
_pstText ) |
|
Gets text string
- Parameters:
-
| [in] | _pstText | Concerned text |
- Returns:
- Text string / orxSTRING_EMPTY
| orxDLLAPI orxSTATUS orxFASTCALL orxText_Init |
( |
) |
|
Inits the text module
- Returns:
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
Sets text font
- Parameters:
-
| [in] | _pstText | Concerned text |
| [in] | _pstFont | Font / orxNULL to use default |
- Returns:
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
| orxDLLAPI orxSTATUS orxFASTCALL orxText_SetString |
( |
orxTEXT * |
_pstText, |
|
|
const orxSTRING |
_zString |
|
) |
| |
Sets text string
- Parameters:
-
| [in] | _pstText | Concerned text |
| [in] | _zString | String to contain |
- Returns:
- orxSTATUS_SUCCESS / orxSTATUS_FAILURE
| orxDLLAPI void orxFASTCALL orxText_Setup |
( |
) |
|