Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5024 in orxonox.OLD for orxonox/trunk/src/orxonox.cc


Ignore:
Timestamp:
Aug 15, 2005, 1:00:21 PM (20 years ago)
Author:
bensch
Message:

orxonox/trunk: icon and name get displayed correctly again

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/orxonox.cc

    r5019 r5024  
    160160
    161161  GraphicsEngine::getInstance();
    162   GraphicsEngine::getInstance()->setWindowName(PACKAGE_NAME " " PACKAGE_VERSION, PACKAGE_NAME " " PACKAGE_VERSION);
    163162
    164163  GraphicsEngine::getInstance()->initFromIniFile(this->iniParser);
    165164
     165  char* icon = ResourceManager::getFullName("pictures/fighter-top-32x32.bmp");
     166  GraphicsEngine::getInstance()->setWindowName(PACKAGE_NAME " " PACKAGE_VERSION, icon);
     167  delete icon;
    166168  return 0;
    167169}
Note: See TracChangeset for help on using the changeset viewer.