Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Nov 24, 2005, 7:43:08 PM (18 years ago)
Author:
bensch
Message:

orxonox/trunk: removed support for text-render-static

File:
1 edited

Legend:

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

    r5421 r5767  
    5454class Font : public BaseObject
    5555{
    56   friend class Text;
    57 
    5856  public:
    5957    Font(const char* fontFile,
     
    7775    /** @returns the default Font */
    7876    inline static Font* getDefaultFont() { if (Font::defaultFont == NULL) initDefaultFont(); return Font::defaultFont; };
     77    /** @returns the a pointer to the TTF */
     78    inline TTF_Font* getTTF() const { return this->fontTTF; };
    7979
    8080    void createAsciiImage(const char* fileName);
Note: See TracChangeset for help on using the changeset viewer.