Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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


Ignore:
Timestamp:
Jul 1, 2005, 12:48:48 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: changed (void) → ()

File:
1 edited

Legend:

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

    r4662 r4746  
    108108  friend class TextEngine;
    109109 public:
    110   ~Text(void);
     110  ~Text();
    111111
    112112  void setBindNode(PNode* bindNode);
     
    124124  void createTexture();
    125125
    126   void draw(void) const;
    127 
    128   void debug(void) const;
     126  void draw() const;
     127
     128  void debug() const;
    129129
    130130 private:
     
    175175
    176176  /** \returns a Pointer to the Array of Glyphs */
    177   inline Glyph** getGlyphArray(void) const {return glyphArray;}
     177  inline Glyph** getGlyphArray() const {return glyphArray;}
    178178  /** \returns the texture to the fast-texture */
    179   inline GLuint getFastTextureID(void) const {return fastTextureID;}
    180 
    181  private:
    182   int getMaxHeight(void);
    183   int getMaxAscent(void);
    184   int getMaxDescent(void);
     179  inline GLuint getFastTextureID() const {return fastTextureID;}
     180
     181 private:
     182  int getMaxHeight();
     183  int getMaxAscent();
     184  int getMaxDescent();
    185185  Glyph* getGlyphMetrics(Uint16 character);
    186186
     
    188188
    189189  void initGlyphs(Uint16 from, Uint16 count);
    190   int findOptimalFastTextureSize(void);
    191 
    192   void debug(void);
     190  int findOptimalFastTextureSize();
     191
     192  void debug();
    193193
    194194 private:
     
    216216{
    217217 public:
    218   virtual ~TextEngine(void);
     218  virtual ~TextEngine();
    219219  /** \returns a Pointer to the only object of this Class */
    220   inline static TextEngine* getInstance(void) { if (!singletonRef) singletonRef = new TextEngine();  return singletonRef; };
     220  inline static TextEngine* getInstance() { if (!singletonRef) singletonRef = new TextEngine();  return singletonRef; };
    221221
    222222  Text* createText(const char* fontFile,
     
    228228
    229229  void deleteText(Text* text);
    230   void flush(void);
    231 
    232   void draw(void) const;
    233 
    234   void debug(void) const;
    235 
    236  private:
    237   TextEngine(void);
     230  void flush();
     231
     232  void draw() const;
     233
     234  void debug() const;
     235
     236 private:
     237  TextEngine();
    238238  static TextEngine* singletonRef;
    239239
    240240  // general
    241   static void enableFonts(void);
    242   static void disableFonts(void);
    243   static bool checkVersion(void);
     241  static void enableFonts();
     242  static void disableFonts();
     243  static bool checkVersion();
    244244
    245245 private:
Note: See TracChangeset for help on using the changeset viewer.