mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-05 23:09:02 +00:00
Changed: #973 Added an icon for X11
This commit is contained in:
parent
64c6a0f756
commit
6ec37523e6
1 changed files with 17 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue