Changed: #973 Added an icon for X11

This commit is contained in:
kervala 2010-07-17 18:21:02 +02:00
parent e5a7112be1
commit 462537d869

View file

@ -914,6 +914,23 @@ void prelogInit()
// Set the title
Driver->setWindowTitle(CI18N::get("TheSagaOfRyzom"));
#if defined(NL_OS_UNIX) && !defined(NL_OS_MAC)
vector<CBitmap> bitmaps;
string fileName = "/usr/share/pixmaps/ryzom.png";
CIFile file;
if (file.open(fileName))
{
CBitmap bitmap;
if (bitmap.load(file))
bitmaps.push_back(bitmap);
}
Driver->setWindowIcon(bitmaps);
#endif
sint32 posX = 0, posY = 0;
if (ClientCfg.Windowed)