Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 11, 2005, 4:43:13 PM (19 years ago)
Author:
bensch
Message:

orxonox/branches/textEngine: Blending of text enabled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/textEngine/src/lib/graphics/font/text_engine.h

    r3774 r3777  
    101101  void setText(const char* text);
    102102  void setPosition(int x, int y);
     103  /** \param blending the blending intensity to set (between 0.0 and 1.0) */
     104  inline void setBlending(float blending) {this->blending = blending;}
    103105
    104106  // Static Text
     
    119121  char* text;                    //!< The text to display
    120122  SDL_Color color;               //!< The color of the font.
     123  float blending;                //!< The blending intensity.
    121124  // placement in openGL
    122125  GLuint texture;                //!< A GL-texture to hold the text
Note: See TracChangeset for help on using the changeset viewer.