|Re: overlay for shell/composite? [message #518715 is a reply to message #518224]
||Thu, 04 March 2010 19:30
| Grant Gayed
Registered: July 2009
There isn't a way to do a transparent overlay, but you can draw on the
Composite, either by adding a Paint listener, or by drawing to an Image and
setting it as the Composite's background (Control.setBackgroundImage(...)).
Capturing an image of an unrendered Control is not supported.
"Lars Fischer" <firstname.lastname@example.org> wrote in message
> I would like to display some lines on a composite, depending on the
> structure of the used layoutmanager. E.g. lines around the grid of a
> Is there a way to have a transparent overlay over the composite? Or can
> I fill the background with a dynamically painted image?
> Second question: I know, I can capture an image of an widget or
> composite with gc#copyArea. Is it possible to do this without realy
> displaying the widget to the user?
> I would like to take a capture of a (hidden) composite, and use this as
> background or overlay for an other really displayed second composite.
> Thanks in advance!
Powered by FUDForum
. Page generated in 0.02180 seconds