mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-11 17:59:03 +00:00
Changed: #973 Added an icon for X11
This commit is contained in:
parent
e5a7112be1
commit
462537d869
1 changed files with 17 additions and 0 deletions
|
@ -914,6 +914,23 @@ void prelogInit()
|
||||||
// Set the title
|
// Set the title
|
||||||
Driver->setWindowTitle(CI18N::get("TheSagaOfRyzom"));
|
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;
|
sint32 posX = 0, posY = 0;
|
||||||
|
|
||||||
if (ClientCfg.Windowed)
|
if (ClientCfg.Windowed)
|
||||||
|
|
Loading…
Reference in a new issue