Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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.cc

    r4709 r4746  
    7171   This also ereases the text from the textList of the TextEngine
    7272*/
    73 Text::~Text(void)
     73Text::~Text()
    7474{
    7575  TextEngine::getInstance()->deleteText(this);
     
    167167   this is only for TEXT_STATIC-mode
    168168*/
    169 void Text::createTexture(void)
     169void Text::createTexture()
    170170{
    171171  SDL_Surface* tmpSurf;
     
    187187   \brief draws the Font
    188188*/
    189 void Text::draw(void) const
     189void Text::draw() const
    190190{
    191191  // setting the Position of this Text.
     
    271271   \brief prints out some nice debug information about this text
    272272*/
    273 void Text::debug(void) const
     273void Text::debug() const
    274274{
    275275  PRINT(0)("=== TEXT: %s ===\n", this->text);
     
    415415   \brief destructs a font
    416416*/
    417 Font::~Font(void)
     417Font::~Font()
    418418{
    419419  // deleting the List of all Texts
     
    509509   \returns the maximum height of the Font, if the font was initialized, 0 otherwise
    510510*/
    511 int Font::getMaxHeight(void)
     511int Font::getMaxHeight()
    512512{
    513513  if (likely (this->font != NULL))
     
    522522   the ascent is the pixels of the font above the baseline
    523523*/
    524 int Font::getMaxAscent(void)
     524int Font::getMaxAscent()
    525525{
    526526  if (likely(this->font != NULL))
     
    535535   the descent is the pixels of the font below the baseline
    536536*/
    537 int Font::getMaxDescent(void)
     537int Font::getMaxDescent()
    538538{
    539539  if (likely(this->font != NULL))
     
    568568}
    569569
    570 GLuint Font::createFastTexture(void)
     570GLuint Font::createFastTexture()
    571571{
    572572  /* interesting GLYPHS:
     
    730730   openGL-version < 1.2 compatibility ( and because it is realy easy like this :))
    731731*/
    732 int Font::findOptimalFastTextureSize(void)
     732int Font::findOptimalFastTextureSize()
    733733{
    734734  int i;
     
    775775   \brief a simple function to get some interesting information about this class
    776776*/
    777 void Font::debug(void)
     777void Font::debug()
    778778{
    779779  // print the loaded font's style
     
    832832   \brief function to enable TTF_Fonts
    833833*/
    834 void TextEngine::enableFonts(void)
     834void TextEngine::enableFonts()
    835835{
    836836  if (!TTF_WasInit())
     
    848848   \brief function to disable TTF_fonts
    849849*/
    850 void TextEngine::disableFonts(void)
     850void TextEngine::disableFonts()
    851851{
    852852  if (TTF_WasInit())
     
    900900   \brief deletes all the Text, and tries to delete all allocated fonts
    901901*/
    902 void TextEngine::flush(void)
     902void TextEngine::flush()
    903903{
    904904  tIterator<Text>* textIterator = textList->getIterator();
     
    915915   \brief draws all the Texts that have been initialized
    916916*/
    917 void TextEngine::draw(void) const
     917void TextEngine::draw() const
    918918{
    919919  // entering 3D-mode
     
    937937   \todo there should also be something outputted about Font
    938938*/
    939 void TextEngine::debug(void) const
     939void TextEngine::debug() const
    940940{
    941941  PRINT(0)("+-------------------------------+\n");
     
    960960   \returns true if match, false otherwise
    961961*/
    962 bool TextEngine::checkVersion(void)
     962bool TextEngine::checkVersion()
    963963{
    964964  SDL_version compile_version;
Note: See TracChangeset for help on using the changeset viewer.