2009.10.17 in uncategorized
Clutter Haskell BindingsI've been working on the past few month and a half or so on Clutter bindings for Haskell here. Right now I have most of the basic stuff you would want more or less working. Rectangles fully work as the simplest example actor. Some parts of events work, and alphas. A bunch of other stuff also works, but nothing is actually done. I don't have any documentation yet either.
The most important goal has been achieved. I rewrote the famous Clutter Game originally from the Seed examples. There was an issue for a while where the functions necessary for setting GValues with Char/UChar were commented out in Gtk2hs. I submitted a patch, so now it works if you use gtk2hs from darcs. GValues are rather unholy and very much against the type safe philosophy of Haskell, so I'm working to hide their existence as much as possible (which shouldn't be particularly hard, just a little annoying).
I'm not sure what I'm going to work on next. I realized today that using animation with signals in the property won't work. I think I'll work on getting more parts of events working, and cleaning up the code related to the implicit animation functions, and deal with all the GValues. blog comments powered by Disqus