[SDL] moving screen when u change resolution

Petri Latvala adrinael at nuclearzone.org
Fri Jan 28 19:47:42 PST 2005


On Fri, 2005-01-28 at 23:32 +0000, Jon Colverson wrote:
> As mentioned at:
> http://www.libsdl.org/cgi/docwiki.cgi/SDL_5fenvvars
> neither users nor applications should be relying on the environment 
> variables; they aren't part of the API.
> 
> SDL_VIDEO_CENTERED looks like the only variable which provides 
> potentially portable functionality, and as such, I think it would be a 
> good candidate for being added to the C API (presumably as a flag for 
> SDL_SetVideoMode(), which I believe could be added without breaking 
> binary compatability in any direction).

Adding symbols doesn't break the ABI, right?

How about SDL_SetAttribute() (just like SDL_GL_SetAttribute) that allows
one to set SDL_VIDEO_CENTERED etc, and other stuff that's supposed to be
set from the application, not from the user.


-- 
Petri Latvala

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20050129/6e54e362/attachment-0008.pgp>


More information about the SDL mailing list