Transparent Window

Hi All,

This is my first post to the list. I am after creating a window, on windows, which is transparent. I want to be able to see the desktop through this window but at the same time be able to render to this window. I would like to be able to do this all within SDL, is this going to be possible?

Thanks, Andy

look for SDL_CreateShapedWindow in sdl sources, maybe you can find the info you need there.
I am not sure about the Shaped windows current status, though.

Andy Bell wrote:> Hi All,

This is my first post to the list. I am after creating a window, on windows, which is transparent. I want to be able to see the desktop through this window but at the same time be able to render to this window. I would like to be able to do this all within SDL, is this going to be possible?

Thanks, Andy


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

SDL_CreateShapedWindow applies a bitmask to a window for pixel-level
on/off transparency. Last time I checked (i.e. during GSoC 2010 as
mentor) it worked on X11, works on Win32 (but doesn’t create the shape
entirely correct) and doesn’t work on OSX (shape not applied for unknown
reasons).On 2/19/12 9:34 AM, RodrigoCard wrote:

look for SDL_CreateShapedWindow in sdl sources, maybe you can find the
info you need there.
I am not sure about the Shaped windows current status, though.

Andy Bell wrote:
Hi All,

This is my first post to the list. I am after creating a window, on
windows, which is transparent. I want to be able to see the desktop
through this window but at the same time be able to render to this
window. I would like to be able to do this all within SDL, is this
going to be possible?

Thanks, Andy


SDL mailing list

http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org