SWT does not support per-pixel translucency  on widgets currently. Only on 
images. It would be a good adding to the toolkit.

Silenio




Kirill Grouchnikov <[email protected]> 
Sent by: [email protected]
07/28/2009 01:39 PM
Please respond to
E4 Project developer mailing list <[email protected]>


To
E4 Project developer mailing list <[email protected]>
cc

Subject
Re: [e4-dev] e4 release review slides






Hi 

Perhaps off topic (and belonging in the SWT list).

Does SWT support per-pixel translucency (as in Swing in 6u10-6u14 and 7)? 
I've been trying to create a translucent top-level shell with soft rounded 
corners (as in [1]), but no luck. Using NO_TRIM on the Shell removes the 
decorations, but setRegion() only installs one-bit transparency on the 
shell pixels.

I've tried using a NO_BACKGROUND Canvas with a custom PaintListener that 
sets alpha 128 on the GC of the passed event, and when it comes up, it 
looks right (translucent canvas on top of the underlying window). But once 
i start dragging the shell, it still has the "snapshot" of the original 
location of the screen.

And setting alpha on the Shell itself is not what i'm looking for - i want 
to have different alpha on different parts of the shell. 

Thanks
Kirill

[1] http://www.pushing-pixels.org/?p=1233

From: "Toedter, Kai" <[email protected]>
To: E4 Project developer mailing list <[email protected]>
Sent: Tuesday, July 21, 2009 11:29:32 PM
Subject: RE: [e4-dev] e4 release review slides

Kirill,
 
I have been following both the SceneGraph and your Trident activities in 
the last months. I would love  to see your (swing) demo running in an SWT 
environment and discuss in this list how Trident might fit into e4.
 
Best regards,
 
Kai
 
From: [email protected] [mailto:[email protected]] On 
Behalf Of Kirill Grouchnikov
Sent: Dienstag, 21. Juli 2009 23:03
To: E4 Project developer mailing list
Subject: Re: [e4-dev] e4 release review slides
 
Hi

I have a question about slide 4 - about deferring the advanced animations 
in SWT.

I've been following this list for a few months, and i haven't seen any 
(significant) discussion on this topic. I've recently released the first 
official version of Trident animation library which has built in support 
for both Swing and SWT - including automatic support for threading rules 
and additional UI toolkit-specific features.

The overview of support for UI toolkits is at [1], and examples for SWT 
can be found at [2]-[4]. 

Is this something that would be of interest to the e4 project? The core 
Trident capabilities can be used to built more complex animations such as 
layout transitions, window fades, cross fades etc - as shown in the demo 
Swing application at [5]. And while the demo is in Swing, i am going to 
port it to SWT as well in the next few weeks.

Thanks
Kirill

[1] http://kenai.com/projects/trident/pages/UIToolkitSupport
[2] http://kenai.com/projects/trident/pages/SimpleSWTExample
[3] http://kenai.com/projects/trident/pages/ParallelSWTTimelines
[4] http://kenai.com/projects/trident/pages/KeyFrameExample
[5] http://vimeo.com/4622654
 

From: John Arthorne <[email protected]>
To: [email protected]
Sent: Tuesday, July 21, 2009 10:59:57 AM
Subject: [e4-dev] e4 release review slides


I have prepared the docu-ware required by the Eclipse development process 
for the e4 0.9 release. I have attached a draft of the slides here for e4 
committers to review. Please let me know of any errors or ommissions. 



John 
 
_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev

_______________________________________________
e4-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to