|
Re: pygame display position: msg#00147python.pygame
On 9/16/05, Roel Smulders <mstrblstrprdctns-PkbjNfxxIARBDgjK7y7TUQ@xxxxxxxxxxxxxxxx> wrote: > Hi! > > I am working on some zoomable objects, that react to the screen getting > resized. > > Is there a way to > a) get the current desktopsize Not that I know of... you might need to get platform specific things for this. Not all platforms even have a desktop. Perhaps search the SDL mailing lists, or ask there. > b) get the window-position on the desktop same as above. > c) react to the 'close' event of that window (little cross in the upper > right corner has to actually work) and have a screen that is able to resize > (and have some code fired when it does)? A QUIT event happens. Also check out the VIDEORESIZE event for when the video size changes. > > With kind regards, Roelie > > > Cheer. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | pygame display position: 00147, Roel Smulders |
|---|---|
| Next by Date: | SPE: 00147, Jason |
| Previous by Thread: | pygame display positioni: 00147, Roel Smulders |
| Next by Thread: | SPE: 00147, Jason |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |