[SDL] Re: shaped windows
smxrk at yahoo.com
Thu May 27 10:53:58 PDT 2004
--- Sebastian Posch <sebastian.posch at chello.at> wrote:
> FYI i just found the following entry in TODO of SDL
> * Shaped windows, windows without borders
> so i guess there is a chance of making it into sdl
> 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
> <obviously, Windows specific. If you want to use
> <Window-Regioning, you might be able to come up with
> <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
> <a Composition-layer effect, and therefore it
> <that you should be writing an application that uses
> <your windowing system's window composition to
> <your application. If you want to do shaped Windows
> <a cross-platform app, the best approach
> <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
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger.
More information about the SDL