Re: How did Gnome/KDE do it?



On Tue, 30 Nov 2004 12:03:02 -0800 (PST), G B
<gbpublicemailaddress yahoo com> wrote:
How did Gnome/KDE make, for example, the linux
terminal, or any window who's background can be set to
the desktop (I'm not interested in setting the BG
image to the desktop in particular, but an arbitrary
image), and allow scrolling text over that image.

Note, I don't mean tile the background of a text edit
widget and scroll down the tiles upon which the text
is permanently place, but actual scrolling text over a
non-scrolling image.

Hint: I notice that the text scrolling is done line by
line, not by a single, or arbitrary number of pixels.
Thanks,

For now, transperency in terminals is a matter of grabing the desktop
image and rendering the text to that, since X composite extentions arent
really available yet ;-)

When rendering labels in Gtk+, labels render directly to the parent window
every time the parent window recieves an expose from the X server... 
So every time the background, the position of the label, or the alignment of
the label changes, the label gets re-rendered.

I'm not entirely sure this answers your question though :-/

Cheers,
                                                     -Tristan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]