Changeset 5362 in orxonox.OLD for trunk/src/lib/graphics/text_engine
- Timestamp:
- Oct 11, 2005, 1:36:08 AM (19 years ago)
- Location:
- trunk/src/lib/graphics/text_engine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/text_engine/text.cc
r5357 r5362 55 55 } 56 56 57 /** 58 * initializes Text 59 */ 57 60 void Text::init() 58 61 { … … 112 115 113 116 /** 114 * 117 * Sets a new Text to the font 115 118 * @param text the new text to set 116 119 */ … … 167 170 168 171 /** 169 * creates a texture out of the given parameters 172 * creates a texture out of the given parameters !! TEXT_STATIC !! - mode 170 173 * 171 174 * this has to be called every time by the user, to if changes were made. -
trunk/src/lib/graphics/text_engine/text.h
r5345 r5362 34 34 ** Use this type, if you want to create fast changing 35 35 ** text like a counter. 36 */typedef enum TEXT_RENDER_TYPE 36 */ 37 typedef enum TEXT_RENDER_TYPE 37 38 { 38 39 TEXT_RENDER_STATIC = 1, … … 49 50 }; 50 51 51 52 ////////////53 /// TEXT ///54 ////////////55 52 //! Represents one textElement. 56 53 class Text : public Element2D … … 69 66 /** @param blending the blending intensity to set (between 0.0 and 1.0) */ 70 67 inline void setBlending(float blending) { this->blending = blending; }; 71 72 68 /** sets the Color of the Text to render (values in [0-1]) @param r red @param g green @param b blue */ 73 69 void setColor(float r, float g, float b) { this->color = Vector(r,g,b); };
Note: See TracChangeset
for help on using the changeset viewer.