<div dir="ltr">Hi All,<br><br>months ago, I start project, called MadButterfly, to
make a toolkit that UI designer can describe UI in SVG and programmer
can manipulate the objects corresponding to SVG tags and interact with
users of the application. After few days of work, my friend told me
that Andre <span>Schmidt had post his idea and demo, <a href="http://lists.o-hand.com/clutter/1375.html" target="_blank">http://lists.o-hand.com/clutter/1375.html</a>, in clutter mailing list. Yes,it is exactly what I am making.<br>
<br>MadButterfly is based on Cairo only and no more, maybe Xlib. It is
actually a translator + a library. The translator is a short program
written in Python. It translate SVG files into C soruce files that
create corresponding objects in C. Then, you the programmer can
manipulate objects created by the generated code. I had made several
examples for it. A simple drop menu example, a calculator, and a small,
but not completed, game "tank". <br>
<br>The project is, now, here,<br> <a href="http://www.assembla.com/spaces/MadButterfly" target="_blank">http://www.assembla.com/spaces/MadButterfly</a><br>you need pmake, the "make" used by *BSD, and Cairo to try it.<br>
After build and install it, you can try examples in examples/ sub-directory.<br>
It is working fine in FreeBSD, now. But, it may suffer high-loading in Linux.<br>Because, it relies heavily on system call gettimeofday() to animate graphics. But, it will be fixed after trying TSC for Linux.<br><br></span></div>