Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 23, 2006, 6:38:05 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: non-compiling new Version of the Data-Font

File:
1 edited

Legend:

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

    r8751 r8753  
    4343
    4444  /** @returns the default Font */
    45   inline static Font* getDefaultFont() { if (Font::defaultFont == NULL) initDefaultFont(); return Font::defaultFont; };
     45  //inline static Font* getDefaultFont() { if (Font::defaultFont == NULL) initDefaultFont(); return Font::defaultFont; };
     46
     47
    4648
    4749  void createAsciiImage(const std::string& fileName, unsigned int size) const;
    48   static void initDefaultFont();
    49   static void removeDefaultFont();
    5050
    51 
     51  void debug() const ;
    5252private:
    5353  void init();
     
    5656  bool createFastTexture();
    5757
     58
    5859  void initGlyphs(Uint16 from, Uint16 count);
    5960  int findOptimalFastTextureSize();
    6061
    61   void debug();
     62
     63  static FontDataPointer initDefaultFont();
    6264
    6365private:
    64   static Font*  defaultFont;         //!< a default font, that is used, if other fonts were unable to be loaded.
     66  static FontDataPointer    defaultFontData;     //!< a default font, that is used, if other fonts were unable to be loaded.
    6567
    66   fontDataPointer data;
     68  FontDataPointer           data;                //!< A Data-Pointer to a Font.
    6769};
    6870
Note: See TracChangeset for help on using the changeset viewer.