[Any version] Bad default window position
Posted: Sat Oct 20, 2012 1:41 pm
Not actually a bug, but a very annoying thing. If I have taskbar at the left side of my screen, tome window is created under it:

I cannot see the window border(title) so the only way to move it is to use alt+space then move.
I suppose the necessary rect can be obtained by calling SystemParametersInfo(SPI_GETWORKAREA) under windows:
http://msdn.microsoft.com/en-us/library ... s.85).aspx
Retrieves the size of the work area on the primary display monitor. The work area is the portion of the screen not obscured by the system taskbar or by application desktop toolbars. The pvParam parameter must point to a RECT structure that receives the coordinates of the work area, expressed in virtual screen coordinates.
Is it possible to find a cross-platform solution for with SDL?
Also an offtop question. Is it a bug or a feature that every time I enter a low-level dungeon(say scintillating caves at lvl18) I go straight to the last level of it(level 3 of scintillating caves)?

I cannot see the window border(title) so the only way to move it is to use alt+space then move.
I suppose the necessary rect can be obtained by calling SystemParametersInfo(SPI_GETWORKAREA) under windows:
http://msdn.microsoft.com/en-us/library ... s.85).aspx
Retrieves the size of the work area on the primary display monitor. The work area is the portion of the screen not obscured by the system taskbar or by application desktop toolbars. The pvParam parameter must point to a RECT structure that receives the coordinates of the work area, expressed in virtual screen coordinates.
Is it possible to find a cross-platform solution for with SDL?
Also an offtop question. Is it a bug or a feature that every time I enter a low-level dungeon(say scintillating caves at lvl18) I go straight to the last level of it(level 3 of scintillating caves)?