orx  stable
Portable Game Engine
orxText.h
Go to the documentation of this file.
1 /* Orx - Portable Game Engine
2  *
3  * Copyright (c) 2008-2017 Orx-Project
4  *
5  * This software is provided 'as-is', without any express or implied
6  * warranty. In no event will the authors be held liable for any damages
7  * arising from the use of this software.
8  *
9  * Permission is granted to anyone to use this software for any purpose,
10  * including commercial applications, and to alter it and redistribute it
11  * freely, subject to the following restrictions:
12  *
13  * 1. The origin of this software must not be misrepresented; you must not
14  * claim that you wrote the original software. If you use this software
15  * in a product, an acknowledgment in the product documentation would be
16  * appreciated but is not required.
17  *
18  * 2. Altered source versions must be plainly marked as such, and must not be
19  * misrepresented as being the original software.
20  *
21  * 3. This notice may not be removed or altered from any source
22  * distribution.
23  */
24 
43 #ifndef _orxTEXT_H_
44 #define _orxTEXT_H_
45 
46 #include "orxInclude.h"
47 
48 #include "display/orxFont.h"
49 
50 
52 typedef struct __orxTEXT_t orxTEXT;
53 
54 
57 extern orxDLLAPI void orxFASTCALL orxText_Setup();
58 
62 extern orxDLLAPI orxSTATUS orxFASTCALL orxText_Init();
63 
66 extern orxDLLAPI void orxFASTCALL orxText_Exit();
67 
68 
72 extern orxDLLAPI orxTEXT *orxFASTCALL orxText_Create();
73 
78 extern orxDLLAPI orxTEXT *orxFASTCALL orxText_CreateFromConfig(const orxSTRING _zConfigID);
79 
84 extern orxDLLAPI orxSTATUS orxFASTCALL orxText_Delete(orxTEXT *_pstText);
85 
86 
93 extern orxDLLAPI orxSTATUS orxFASTCALL orxText_GetSize(const orxTEXT *_pstText, orxFLOAT *_pfWidth, orxFLOAT *_pfHeight);
94 
99 extern orxDLLAPI const orxSTRING orxFASTCALL orxText_GetName(const orxTEXT *_pstText);
100 
101 
106 extern orxDLLAPI const orxSTRING orxFASTCALL orxText_GetString(const orxTEXT *_pstText);
107 
112 extern orxDLLAPI orxFONT *orxFASTCALL orxText_GetFont(const orxTEXT *_pstText);
113 
114 
120 extern orxDLLAPI orxSTATUS orxFASTCALL orxText_SetString(orxTEXT *_pstText, const orxSTRING _zString);
121 
127 extern orxDLLAPI orxSTATUS orxFASTCALL orxText_SetFont(orxTEXT *_pstText, orxFONT *_pstFont);
128 
129 #endif /* _orxTEXT_H_ */
130 
orxDLLAPI orxFONT *orxFASTCALL orxText_GetFont(const orxTEXT *_pstText)
orxDLLAPI const orxSTRING orxFASTCALL orxText_GetString(const orxTEXT *_pstText)
orxDLLAPI const orxSTRING orxFASTCALL orxText_GetName(const orxTEXT *_pstText)
orxDLLAPI orxSTATUS orxFASTCALL orxText_Delete(orxTEXT *_pstText)
orxDLLAPI orxSTATUS orxFASTCALL orxText_SetString(orxTEXT *_pstText, const orxSTRING _zString)
orxDLLAPI orxSTATUS orxFASTCALL orxText_SetFont(orxTEXT *_pstText, orxFONT *_pstFont)
orxDLLAPI orxSTATUS orxFASTCALL orxText_GetSize(const orxTEXT *_pstText, orxFLOAT *_pfWidth, orxFLOAT *_pfHeight)
orxDLLAPI void orxFASTCALL orxText_Setup()
orxSTATUS
Definition: orxType.h:243
#define orxDLLAPI
Definition: orxDecl.h:387
orxDLLAPI orxSTATUS orxFASTCALL orxText_Init()
orxDLLAPI void orxFASTCALL orxText_Exit()
orxDLLAPI orxTEXT *orxFASTCALL orxText_Create()
struct __orxTEXT_t orxTEXT
Definition: orxText.h:52
orxDLLAPI orxTEXT *orxFASTCALL orxText_CreateFromConfig(const orxSTRING _zConfigID)
struct __orxFONT_t orxFONT
Definition: orxFont.h:58

Generated for orx by doxygen 1.5.6