Changeset 5362 in orxonox.OLD for trunk/src/lib/graphics/text_engine/text.h
- Timestamp:
- Oct 11, 2005, 1:36:08 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.