Unrectangular Windows

Hello !

Does anybody know how to create an unrectangular window
like this on Win32 or OSX or Linux ?

CU

Hello Torsten,

Monday, March 13, 2006, 1:58:07 PM, you wrote:

TG> Does anybody know how to create an unrectangular window
TG> like this on Win32 or OSX or Linux ?

TG> http://pouet.net/screenshots/6077.gif

It’s a hack. The window is rectangular and covers the space. when the
WM_PAINT (windows) message comes through, it does a blit based on
what’s underneath. Some message fudgery makes sure mouse clicks etc
get passed through.–
Best regards,
Peter mailto:@Peter_Mulholland

Hello !

It’s a hack. The window is rectangular and covers the space. when the
WM_PAINT (windows) message comes through, it does a blit based on
what’s underneath. Some message fudgery makes sure mouse clicks etc get
passed through.

Is there any code available for Win32, Linux or OSX ?

CU

Try taking a look at this flipcode article:

http://www.flipcode.com/articles/article_win32skins.shtmlOn 3/13/06, Torsten Giebl wrote:

It’s a hack. The window is rectangular and covers the space. when the
WM_PAINT (windows) message comes through, it does a blit based on
what’s underneath. Some message fudgery makes sure mouse clicks etc get
passed through.

Is there any code available for Win32, Linux or OSX ?


Cheers,
Rasmus Neckelmann

Hello !

Try taking a look at this flipcode article:

http://www.flipcode.com/articles/article_win32skins.shtml

Great. Thanks. Maybe i can get a SDL
application working that way.

CU

Hi, I was thinking for a new renderer I was planning for work, there might
be a way to do this “perfectly” using pbuffer extensions and Windows 2000
layered windows.

I was thinking perhaps if you blit the alpha plane of OpenGL (or an SDL
surface) per frame, you can use that alpha plane as the values for the
layered window. That might slow the FPS down quite a bit for non-static
scenes (i.e. almost everything :))

Is there a big demand for this?

Matthew> Hello !

Try taking a look at this flipcode article:

http://www.flipcode.com/articles/article_win32skins.shtml

Great. Thanks. Maybe i can get a SDL
application working that way.

CU


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl