Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [e4-dev] Contacts Demo 'Fading' patch - XWT Trigger

By inspiring this patch provided by Eric, I have added the fade transition in e4 contact demo for XWT. The fade transition is added in two areas:

1.       Theme switch

When you change the Theme by Menu, the entire window is animated

2.       Contact selection.

When you select a contact, the detail content view part is animated.

 

Definitively, the animation is very import feature to develop an application with fashion UI.

 

Last week, I was invited by a Defense industry company. They want to innovate their UI framework. Here is an example of the UI they look for:

http://s3.amazonaws.com/vertigo/FamilyShowOverview-broadband.wmv

which is developed in XAML/WPF.  They are looking for a solution similar for Java.

 

During this meeting, they have expressed the strong interest on e4 and XWT, and  they require the animation support as well.

 

In XWT, we have started to work on Dynamic UI. The first feature will be “trigger”:

1.       UI Property trigger

2.       UI Event trigger

3.       Data trigger.

I have created a bug on this topic:

                https://bugs.eclipse.org/bugs/show_bug.cgi?id=291990

 

Best regards

Yves YANG

From: e4-dev-bounces@xxxxxxxxxxx [mailto:e4-dev-bounces@xxxxxxxxxxx] On Behalf Of Eric Moffatt
Sent: Monday, June 08, 2009 10:25 PM
To: E4 Project developer mailing list
Subject: Re: [e4-dev] Contacts Demo 'Fading' patch

 


Thanks Remy...here's an updated patch that explicitly checks whether the system supports 'advanced graphics' (ie.. setAlpha). While this won't fade on Fluxbox it shouldn't hang you up either...

<Chatzilla wit Remy determines that 'Fluxbox' needs even more help...;->

Here's a patch that should at least run without hanging on any box. Whether or not you see the fade effect will depend on whether 'setAlpha' works or not...YMMV (which is why I'm posting the patch)



Eric


Remy Chi Jian Suen <remy.suen@xxxxxxxxx>
Sent by: e4-dev-bounces@xxxxxxxxxxx

06/08/2009 02:27 PM

Please respond to
E4 Project developer mailing list <e4-dev@xxxxxxxxxxx>

To

E4 Project developer mailing list <e4-dev@xxxxxxxxxxx>

cc

Subject

Re: [e4-dev] Contacts Demo 'Fading' patch

 




On Mon, Jun 8, 2009 at 2:10 PM, Eric Moffatt<emoffatt@xxxxxxxxxx> wrote:
> Here's a patch that I cribbed from the 'FaderAnimationFeedback' in 3.5 that
> adds a slick 'cross fade' effect to the CSS style switching. Try it out.
> ..;-).

Note that if you use a Linux/gtk+ build and your window manager
doesn't support compositing (I use Fluxbox), you will be stuck in an
infinite loop because getAlpha() will always return 255. :)
http://library.gnome.org/devel/gtk/stable/GtkWidget.html#gtk-widget-is-composited

Remy
_______________________________________________
e4-dev mailing list
e4-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/e4-dev

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.53/2156 - Release Date: 06/07/09 05:53:00


Back to the top