Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 13, 2005, 10:30:08 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: windowName defineable by the GraphicsEngine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/graphics/graphics_engine.cc

    r4597 r4619  
    9595  this->setResolution(800, 600, 16);
    9696
    97   // Set window labeling
    98   SDL_WM_SetCaption ("Orxonox " PACKAGE_VERSION, "Orxonox " PACKAGE_VERSION);
    9997
    10098  // TO DO: Create a cool icon and use it here
     
    106104  glEnable(GL_DEPTH_TEST);
    107105}
     106
     107
     108/**
     109 * sets the Window Captions and the Name of the icon.
     110 * @param windowName The name of the Window
     111 * @param icon The name of the Icon on the Disc
     112 */
     113void GraphicsEngine::setWindowName(const char* windowName, const char* icon)
     114{
     115  // Set window labeling
     116  SDL_WM_SetCaption (windowName, icon);
     117}
     118
    108119
    109120/**
Note: See TracChangeset for help on using the changeset viewer.