[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sc-devel] Transparent backgrounds in Views
Am 01.12.2007 um 12:24 schrieb thor:
it's possible to
implement transparent background of the views?
Color.clear
Lower alpha values
For example to allow for 2 or more multisliderviews to be on top
of each other but the top one would have transparent background.
There is one problem at the moment:
Ordering of layers is different in cocoa versus swing.
Under cocoa the first layer stays visually on top while the latest is
active.
Somewhat counter-intuitive.
Under swing visually it's the same, but the first created layer is
active.
Actually, from my P.O.V. , the _latest_ built view could be on top
_and_ be active.
One could then programmatically decide which one is active, and
takes mouseevents.
A.T.M. one has to build the views again in a different order for this
(functions are convenient -- just switching focus on existing views
wouldn't work here).
It is just a little more complicated with the different behaviours in
SwingOSC and Cocoa.