You are not logged in.
Pages: 1
I want to write a program that involves some fancy effects (like the kind in a dock such as awn or compiz) and I want to know what library to use - even better what library they use.
Last edited by Lexion (2009-11-25 20:59:43)
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
Well, cairo-dock has some pretty nice effects, and it uses (surprisingly) the cairo libraries. There are some binary packages of cairo libraries for ruby and python too, if you're planning on using either of those languages, it might be worth having a look at. I'm not sure how easy they are to use (never personally wrote a program using them), but it should fulfill your requirements.
Hope that helps,
Lswest
Lswest <- the first letter of my username is a lowercase "L".
"...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it." - Linus Torvalds
Offline
What language(s) are you considering?
Offline
C, C++, python
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
If you're doing a docker, maybe you need to get familiar with the API of your DE and it's window manager? Compiz and KWin provide nice support for animations.
Last edited by xenobrain (2009-11-22 22:14:43)
Offline
A proper docker shouldn't need to worry about which WM or DE it's using, unless you're implementing it as a Plasmoid or something.
Cairo is likely what you need. Cairo, and OpenGL/XRender. I suggest you take a look at the code for Cairo Dock, Avant Window Navigator, etc.
Offline
I looked into Cairo and found it too complex for my needs (I normally wouldn't say that, but I found something simpler). I looked into awn as you recommended, but found that I liked moblin's (a linux distro for netbooks) dock better. It uses clutter, which I tried and liked. I made a simple dock consisting of a bunch of expanding and despanding boxes. Thanks for the quick answers.
urxvtc / wmii / zsh / configs / onebluecat.net
Arch will not hold your hand
Offline
Pages: 1