Bugfix for login window
Posted: 24 Dec 2008, 11:08
I doubt this is right place to post this, but I did not find any better place.
If you set resolution higher, login window wallpaper stays still in the topleftmost corner and does not stretch. Login wallpaper is drawn in main.cpp, line 763:
I attemped to stretch it, but I could not find such function in the client. This does center it, so the login window looks better:
If you set resolution higher, login window wallpaper stays still in the topleftmost corner and does not stretch. Login wallpaper is drawn in main.cpp, line 763:
Code: Select all
graphics->drawImage(login_wallpaper, 0, 0);
Code: Select all
graphics->drawImage(login_wallpaper, graphics->getWidth() / 2 - 400, graphics->getHeight() / 2 - 300);