Bugfix for login window

Content and general development discussion, including maps, quests, and server code from the development team.
Post Reply
ville-v
Peon
Peon
Posts: 18
Joined: Tue Sep 02, 2008 12:54 pm

Bugfix for login window

Post by ville-v » Wed Dec 24, 2008 12:08 pm

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:

Code: Select all

graphics->drawImage(login_wallpaper, 0, 0);
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:

Code: Select all

graphics->drawImage(login_wallpaper, graphics->getWidth() / 2 - 400, graphics->getHeight() / 2 - 300);
Quiche_on_a_leash
Novice
Novice
Posts: 221
Joined: Fri Oct 20, 2006 5:44 pm

Re: Bugfix for login window

Post by Quiche_on_a_leash » Wed Dec 24, 2008 12:40 pm

This has already been resolved in the 0.0.27 release.
"The image is now centered and a gray is now drawn behind it..."
ville-v
Peon
Peon
Posts: 18
Joined: Tue Sep 02, 2008 12:54 pm

Re: Bugfix for login window

Post by ville-v » Wed Dec 24, 2008 12:52 pm

Quiche_on_a_leash wrote:This has already been resolved in the 0.0.27 release.
"The image is now centered and a gray is now drawn behind it..."
Where can I find such version? I downloaded both trunk and branches/0.0 from svn and the aforementioned line was present in both. Are the newest sources not in svn?
User avatar
Crush
TMW Adviser
TMW Adviser
Posts: 8046
Joined: Thu Aug 25, 2005 5:08 pm
Location: Germany

Re: Bugfix for login window

Post by Crush » Wed Dec 24, 2008 1:00 pm

We do not use SVN anymore. We switched to Git a while ago. You can find information about how to access our git repositories here: http://wiki.themanaworld.org/index.php/Git_Repository
  • former Manasource Programmer
  • former TMW Pixel artist
  • NOT a game master

Please do not send me any inquiries regarding player accounts on TMW.


You might have heard a certain rumor about me. This rumor is completely false. You might also have heard the other rumor about me. This rumor is 100% accurate.
User avatar
Rotonen
TMW Adviser
TMW Adviser
Posts: 3154
Joined: Wed Sep 08, 2004 8:48 pm
Location: Espoo, Finland

Re: Bugfix for login window

Post by Rotonen » Wed Dec 24, 2008 4:47 pm

http://sourceforge.net/project/showfile ... _id=106790

Also if you want to keep up to date on our releases, subscribe to the email notifications.

If you want to keep up to date on development, there are nice atom feeds for our repositories on Gitorious.
This message used to be meaningful.
Post Reply