Surface bliting to desktop

Is there anyway to set a colorkey in the screen surface to make it transparent
on the desktop? just like, for example, mplayer (or any other player) the GUI
has no frame and its shape it’s not a rectangle. (I use SDL_NOFRAME flag to
get no border, but I need transparency too…)
does anyone know how to do this?

Mon.

Is there anyway to set a colorkey in the screen surface to make it transparent
on the desktop? just like, for example, mplayer (or any other player) the GUI
has no frame and its shape it’s not a rectangle. (I use SDL_NOFRAME flag to
get no border, but I need transparency too…)
does anyone know how to do this?

Yes:
http://www.libsdl.org/projects/gtk-demo/

This demo, in addition to showing using SDL with GTk, also shows how to
create an SDL window with transparency on X11.

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Hey folks,

Im not sure if I have ever posted this to the list, but it may be of
interest. Me and a grupe of programmers have ported the SpriteWorld game
SDK (a macintosh only game development library) to SDL. It currently
runs on Linux, Windows, MacOS 9, MacOS X, and reportedly runs on
SymbianOS, and FreeBSD. The library is calld SpriteWorld X it is under a
freeware licence.

The fetures in SpriteWorld X are specifically geard to high-performance
2D games:

-Scrolling
-Tiling
-Sprites
-Colision Dtection

etc.

Currently there is no Documentation for the library, but it is a near
verbatim port of the origional SpriteWorld, so using the documents found
at www.spriteworld.org will give you a good understanding of the
SpriteWorld X API.

SpriteWorld X, along with some demo applications, can be downloaded at:

http://sourceforge.net/projects/spriteworldx/

-Mike

Hey folks,

[NOTE: Sorry for sending this twice, but my last version was titled
incorrectly. My appologies.]

Im not sure if I have ever posted this to the list, but it may be of
interest. Me and a grupe of programmers have ported the SpriteWorld game
SDK (a macintosh only game development library) to SDL. It currently
runs on Linux, Windows, MacOS 9, MacOS X, and reportedly runs on
SymbianOS, and FreeBSD. The library is calld SpriteWorld X it is under a
freeware licence.

The fetures in SpriteWorld X are specifically geard to high-performance
2D games:

-Scrolling
-Tiling
-Sprites
-Colision Dtection

etc.

Currently there is no Documentation for the library, but it is a near
verbatim port of the origional SpriteWorld, so using the documents found
at www.spriteworld.org will give you a good understanding of the
SpriteWorld X API.

SpriteWorld X, along with some demo applications, can be downloaded at:

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