Changeset 3747 in orxonox.OLD for orxonox/branches/textEngine/src/lib/graphics/font/glfont.h
- Timestamp:
- Apr 7, 2005, 4:21:36 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
orxonox/branches/textEngine/src/lib/graphics/font/glfont.h
r3740 r3747 26 26 27 27 #define FONT_HIGHEST_KNOWN_CHAR 128 //!< The highest character known to the textEngine. 28 29 #define TEXT_STATIC 0 //!< Static Text 30 #define TEXT_DYNAMIC 1 //!< Dynamic Text 31 /** 32 * STATIC means: a font, that is only one GL-face. 33 ** it is very fast, and can be used for all text 34 ** that does not have to be changed anymore, or if 35 ** the the text should look very nice 36 * DYNAMIC means: a very fast font, that will is build 37 ** from multiple quads. 38 ** Use this type, if you want to create fast changing 39 ** text like a counter. 40 */ 28 41 29 42 … … 78 91 // text 79 92 void setBindNode(PNode* bindNode); 93 void setType(int type); 80 94 void setText(const char* text); 81 95 void setStyle(char* renderStyle); … … 95 109 96 110 Glyph** glyphArray; //!< An Array of all the Glyphs stored in the Array of Glyphs. 111 GLuint fastTextureID; //!< The fast textureID. 97 112 98 113 //! Represents one textElement. 99 114 struct Text 100 115 { 116 int type; //!< The type of this Font. 101 117 char* text; //!< The text to display 102 118 SDL_Color color; //!< The color of the font.
Note: See TracChangeset
for help on using the changeset viewer.