maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N800 (https://talk.maemo.org/forumdisplay.php?f=25)
-   -   Transparency on N800 (https://talk.maemo.org/showthread.php?t=17843)

vash42 2008-03-13 15:25

Transparency on N800
 
Hello everybody,

I am trying to write an application which draw the movement of the cursor on the screen directly on the desktop. Typically, I would want to create an transparent widget on which I can draw strokes. I searched a long time in the GTK documentation and I didn't find anything, I even don't know if it possible to do it.
Another solution would be to use Qt4 which is working on os2008 but the transparent background seems impossible to set up too.
If you know a way to do that...
Thanks

brontide 2008-03-13 15:36

Re: Transparency on N800
 
AFAIK, the maemo platform has no transparency, where you do see it it's been faked by reading the background and then applying ( in software ) alpha and a bitmap.

vash42 2008-03-13 15:42

Re: Transparency on N800
 
Really, but there is the cairo library, made to manage the transparency (composite manager), so I thought it was possible. I need to find another solution or maybe I can do the same way they do when I see transparency, is it difficult?

dblank 2008-03-13 16:54

Re: Transparency on N800
 
Quote:

Originally Posted by vash42 (Post 154457)
Really, but there is the cairo library, made to manage the transparency (composite manager), so I thought it was possible. I need to find another solution or maybe I can do the same way they do when I see transparency, is it difficult?

xcompmgr + transset work, but xcompmgr is very buggy.

cairo-compmgr is probably much better I'd imagine, but it needs newer gtk libs, or something, so I couldn't get it to compile.

Benson 2008-03-13 17:16

Re: Transparency on N800
 
I've not done any such work, but pyculator is translucent; if you're coding in python, that might be a good example.


All times are GMT. The time now is 06:42.

vBulletin® Version 3.8.8