Re: [pygame] SDL 1.2.10 video API enhancements
by renesd other posts by this author
Aug 22 2006 5:19PM messages near this date
[pygame] SDL 1.2.10 video API enhancements
|
Re: [pygame] SDL 1.2.10 video API enhancements
Those attributes are now in the display.Info() object.
Pretty handy, since you can check the desktop size now.
Committed revision 943.
On 8/23/06, Kevin Bluck <kevin.bluck@[...].com> wrote:
> I noticed that pygame does not surface a couple of relatively recent SDL
> video API enhancements that are very useful when you're trying to
> respect the user's existing video settings.
>
> The SDL_VideoInfo struct has some additional data members, in particular
> current_w and current_h
>
> http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fVideoInfo
>
> SDL_SetVideoMode() width and height parameters may both be set to 0. It
> will then use the width and height of the currently set video mode, or
> the desktop mode if no mode has yet been set.
>
> http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fSetVideoMode
>
> Of course, including these will require at least SDL 1.2.10 The present
> dependencies ( http://www.pygame.org/ftp/win32-dependencies.zip) appear
> to reference 1.2.7 Are there any plans to move ahead to latest stable
> 1.2.11?
>
>
> Regards,
>
> --- Kevin
>
>
>
Thread:
Kevin Bluck
renesd
Richard Jones
renesd
renesd
|