Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jun 24, 2006, 3:49:33 AM (19 years ago)
Author:
bensch
Message:

trunk: much better loading of the Font

File:
1 edited

Legend:

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

    r8764 r8765  
    4040  /** @returns a Pointer to the Array of Glyphs */
    4141  inline Glyph** getGlyphArray() const { return this->data->getGlyphArray(); };
    42   /** @returns the a pointer to the TTF */
    43   inline TTF_Font* getTTF() const { return this->data->getTTF(); };
    4442
    4543  inline int getMaxHeight() const { return data->getMaxHeight(); };
     
    4846
    4947
    50   void createAsciiImage(const std::string& fileName, unsigned int size) const;
     48  static void createAsciiImage(const std::string& ttfFile, const std::string& fileName, unsigned int size);
    5149
    5250  void debug() const;
Note: See TracChangeset for help on using the changeset viewer.