Changeset 9718 in orxonox.OLD for branches/new_class_id/src/lib/graphics/text_engine/font.h
- Timestamp:
- Sep 1, 2006, 11:56:54 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/new_class_id/src/lib/graphics/text_engine/font.h
r9715 r9718 20 20 { 21 21 ObjectListDeclaration(Font); 22 22 public: 23 typedef FontData::Glyph Glyph; 23 24 public: 24 25 Font(); … … 40 41 41 42 /** @returns a Pointer to the Array of Glyphs */ 42 inline Glyph**getGlyphArray() const { return this->data->getGlyphArray(); };43 inline const Glyph* const * const getGlyphArray() const { return this->data->getGlyphArray(); }; 43 44 44 45 inline int getMaxHeight() const { return data->getMaxHeight(); }; … … 55 56 static void initDefaultFont(); 56 57 57 void setTexture(const TextureData Pointer& texDataPointer);58 void setTexture(const TextureData::Pointer& texDataPointer); 58 59 59 60 private: 60 FontData Pointerdata; //!< A Data-Pointer to a Font.61 FontData::Pointer data; //!< A Data-Pointer to a Font. 61 62 62 static FontData PointerdefaultFontData; //!< a default font, that is used, if other fonts were unable to be loaded.63 static FontData::Pointer defaultFontData; //!< a default font, that is used, if other fonts were unable to be loaded. 63 64 }; 64 65
Note: See TracChangeset
for help on using the changeset viewer.