[SDL] Re: shaped windows

Donny Viszneki smxrk at yahoo.com
Thu May 27 10:53:58 PDT 2004


--- Sebastian Posch <sebastian.posch at chello.at> wrote:
> thanks,
> 
> FYI i just found the following entry in TODO of SDL
> 1.2.7:
> * Shaped windows, windows without borders
> 
> so i guess there is a chance of making it into sdl
> sometime.
> and yeah, you're right, wxWindows is called
> wxWidgets now.

Well I can honestly say I hope it's not a very high
priority for SDL to have shaped windows. Window
shaping is a composition layer effect, it should have
nothing to do with SDL. What kind of application would
you want to make a shaped window for that you would
want to use SDL for anyhow? Shaped windows are for
GUIs that are small and sleek and a rectangle isn't
the best shape for it. Or just for eye candy. In
either case you really should be using your windowing
environment's window composition system.

> 
> 
> <From: Donny Viszneki <smxrk <at> yahoo.com>
> <Subject: Re: shaped windows
> <Newsgroups: gmane.comp.lib.sdl
> <Date: Wed, 26 May 2004 20:49:46 -0700
> <
> <SDL IMHO is not appropriate for this type of
> <application. Moreover, MS Windows Window-Regioning
> is,
> <obviously, Windows specific. If you want to use
> <Window-Regioning, you might be able to come up with
> a
> <simple hack (probably using overlays) combined with
> <Window-Regioning to create an SDL app with a shaped
> <window. However, both from a design perspective and
> <from a technological perspective, Window-Regioning
> is
> <a Composition-layer effect, and therefore it
> follows
> <that you should be writing an application that uses
> <your windowing system's window composition to
> display
> <your application. If you want to do shaped Windows
> in
> <a cross-platform app, the best approach
> idealogically
> <and technologically would be to try and come up
> with a
> <way to use Window-Regioning in a cross-platform
> <toolkit like wxWindows (note: I heard they changed
> <their name,) and work from there.
> <
> <Sorry for such a long paragraph.
>     
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl


	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 




More information about the SDL mailing list