You are not logged in.

#1 2007-01-06 00:05:54

russ816
Member
Registered: 2006-06-09
Posts: 18

Interface Animation

I've been wondering lately if it is possible to animate the interface of an application? ie: Mac OS X.  If you not, is this a limitation of GTK (or other window managers), and what would be needed to start a framework for this?

Any thoughts?

Offline

#2 2007-01-06 05:15:54

twiistedkaos
Member
Registered: 2006-05-20
Posts: 666

Re: Interface Animation

russ816 wrote:

I've been wondering lately if it is possible to animate the interface of an application? ie: Mac OS X.  If you not, is this a limitation of GTK (or other window managers), and what would be needed to start a framework for this?

Any thoughts?

Erm, Might want to be more specific on what you're trying to do. But I have personally programming splash screens, animated buttons, ect in GTK.

Offline

#3 2007-01-06 19:35:42

russ816
Member
Registered: 2006-06-09
Posts: 18

Re: Interface Animation

For instance, this application http://www.newsfirerss.com/

The list on the left. When new items arrive the category name will fade out slightly and float to the top.

A lot of Mac applications have this sort of little animation in them. I just think it makes a nice touch.

Offline

#4 2007-01-06 22:38:40

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: Interface Animation

Well sure. You can draw whatever you like. Doesn't Firefox do something similar in the download manager? I don't think any of the popular GUI toolkits are designed to do this though, so it wouldn't be an "out of the box" thing to program.

Offline

#5 2007-01-06 23:45:52

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: Interface Animation

You should have a look at etk, ewl, edje, evas, etc. Basically everything e17 related should be able to do what you want.

Offline

#6 2007-01-09 19:39:22

russ816
Member
Registered: 2006-06-09
Posts: 18

Re: Interface Animation

http://www.apple.com/macosx/leopard/coreanimation.html

Heres what I'm talking about, I just forgot what it was called.

I know what enlightenment is capable of, but is this at all possible in Gnome (GTK)?

Offline

#7 2007-01-09 20:25:32

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Interface Animation

I don't know what you mean when you say "is this at all possible"

TTBOMK, GTK doesn't have toolkit support for animations, really, beyond the ability for animated icons, inherently animated widgets like progress bars and so on. However,  it is *possible* to build such tools on top of GTK. You'd have to write the repaint routines yourself to do each frame of the animation and update the display on a timer or in the idle routine.

I think Cairo is also designed for such scenarios, amoung others.

Dusty

Offline

#8 2007-01-09 21:03:10

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: Interface Animation

If you want to spin pictures around on the screen I suppose you'll need to write your own system. I can't really tell what Core Animation is for from the video, but there's no reason you can't accomplish whatever it does by drawing your own pictures, possibly with OpenGL. You could make this work within a GTK app, but it doesn't provide a built-in framework.

Offline

#9 2007-01-09 21:48:36

russ816
Member
Registered: 2006-06-09
Posts: 18

Re: Interface Animation

Cool. I'll start looking at what Cairo can do. Thanks for the info.

Offline

#10 2007-01-09 22:56:24

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Interface Animation

It must sure be possible in GTK (although I haven't verified, especially as it's completely alien to me). However, typically you are able to completely customise the look and feel of each component at run-time. All you need is a reasonable timing-framework (either home-brew, or hopefully existing lib) and you perform gradual tweaks of component properties over a given time-frame.

This stuff is pretty straight-forward in Java though. The Swing toolkit is very powerful. See the latest Jacman for evidence to the ease at animation effects.

Offline

Board footer

Powered by FluxBB