Changeset 5347 in orxonox.OLD for trunk/src/lib/graphics/text_engine/font.h
- Timestamp:
- Oct 10, 2005, 3:07:04 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/graphics/text_engine/font.h
r5344 r5347 31 31 //! A struct for handling glyphs 32 32 /** 33 33 * a Glyph is one letter of a certain font 34 34 */ 35 35 struct Glyph … … 56 56 /// FONT /// 57 57 //////////// 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. 59 59 class Font : public BaseObject 60 60 { … … 64 64 Font(const char* fontFile, 65 65 unsigned int fontSize); 66 Font(const char* imageFile); 66 67 Font(char** xpmArray); 67 68 virtual ~Font(); … … 102 103 private: 103 104 static Font* defaultFont; //!< a default font, that is used, if other fonts were unable to be loaded. 104 // information about the Font105 // information about the Font 105 106 TTF_Font* font; //!< The font we use for this. 106 107 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.