Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 1, 2006, 11:56:54 PM (19 years ago)
Author:
bensch
Message:

more thoughts on Resources, and soon going to adapt… i think i've got a clue :)

File:
1 edited

Legend:

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

    r9715 r9718  
    2020{
    2121  ObjectListDeclaration(Font);
    22 
     22public:
     23  typedef FontData::Glyph Glyph;
    2324public:
    2425  Font();
     
    4041
    4142  /** @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(); };
    4344
    4445  inline int getMaxHeight() const { return data->getMaxHeight(); };
     
    5556  static void initDefaultFont();
    5657
    57   void setTexture(const TextureDataPointer& texDataPointer);
     58  void setTexture(const TextureData::Pointer& texDataPointer);
    5859
    5960private:
    60   FontDataPointer           data;                //!< A Data-Pointer to a Font.
     61  FontData::Pointer         data;                //!< A Data-Pointer to a Font.
    6162
    62   static FontDataPointer    defaultFontData;     //!< 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.
    6364};
    6465
Note: See TracChangeset for help on using the changeset viewer.