Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5347 in orxonox.OLD for trunk/src/lib/graphics/text_engine/font.h


Ignore:
Timestamp:
Oct 10, 2005, 3:07:04 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: building Graphics as a lib names libORXgraphics.a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/graphics/text_engine/font.h

    r5344 r5347  
    3131//! A struct for handling glyphs
    3232/**
    33    a Glyph is one letter of a certain font
     33 * a Glyph is one letter of a certain font
    3434 */
    3535struct Glyph
     
    5656/// FONT ///
    5757////////////
    58 //! A class to handle a Font of a certain ttf-File, Size and Color.
     58//! A class to handle a Font of a certain ttf-File/image-file, Size.
    5959class Font : public BaseObject
    6060{
     
    6464    Font(const char* fontFile,
    6565         unsigned int fontSize);
     66    Font(const char* imageFile);
    6667    Font(char** xpmArray);
    6768    virtual ~Font();
     
    102103  private:
    103104    static Font*  defaultFont;         //!< a default font, that is used, if other fonts were unable to be loaded.
    104   // information about the Font
     105    // information about the Font
    105106    TTF_Font*     font;                //!< The font we use for this.
    106107    unsigned int  fontSize;            //!< The size of the font in pixels. each Font has one size.
Note: See TracChangeset for help on using the changeset viewer.