You are not logged in.
Pages: 1
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
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
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
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
You should have a look at etk, ewl, edje, evas, etc. Basically everything e17 related should be able to do what you want.
Offline
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
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
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
Cool. I'll start looking at what Cairo can do. Thanks for the info.
Offline
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
Pages: 1