[SDL] Movable windows

draekko draekko at drakonis.dyndns.org
Mon Jul 15 18:10:01 PDT 2002

On Mon, 2002-07-15 at 07:02, Johannes Schmidt wrote:
> On Thursday 04 July 2002 03:43, draekko wrote:
> > Question : Is there an easy way to move a window around that was created
> > through SDL? For example when an app is windowed that it can
> > remember and reset itself to the same screen location when launched.
> > 
> > So far i have looked through the list archive from now back to january,
> > tried google, and finally look through the source and found that
> > SDL_VIDEO_CENTER environment var (which seems to only work for X11) sets
> > up a window so that it centers on the screen. But thats not quite what i
> > was hoping for :)
> > 
> > I also tried hacking SDL to a movewindow function, but my XLib
> > experience is very limited, in the end it didn't work out.
> > 
> > Any insight, clues, sample apps, links to documentation would be
> > appreciate.
> Some time ago, this was listed in the faq but I can't find it anymore.
> If you habe looked through the list archive, you might have found this 
> posting about moving SDL windows under win32 and X11:
> http://www.libsdl.org/pipermail/sdl/2002-February/042259.html

Well i had looked through it :) , i guess i missed it, thank you for the
information, this will indeed be very helpful.


-------------- 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/20020715/1f25d742/attachment-0008.pgp>

More information about the SDL mailing list