From: Dan P. <ba...@al...> - 2005-11-20 04:25:17
|
On Nov 19, 2005, at 7:46 PM, Sam Steele wrote: > 99% finished with mine already. It's a generic drawable that > doesn't actually draw anything, just moves itself around according > to HID mouse events. It has 2 constructors, the default one will > subAdd() a pointerArrow which draws the arrow pointer from libc99 > in whatever getTint() you have. The other constructor takes a > drawable and subAdd()s it, so you can add a banner w/ a mouse > bitmap. I'm just cleaning it up and commenting it, and then I'll > commit it to SVN. > > I'm also going to clean up and comment the imageSet and menuList > drawables from DCBlap and add those to Tiki too. Awesome.. you guys are way too fast for me now. :D Every time I check my email there's 10 more commits :) FWIW, I just did a clean checkout of Tiki the other day to use it as a utility lib for loading textures and such in a Cocoa app I was tinkering with. Compiles great out of the box on Xcode 2.2, no issues. On that topic I've been developing some wrapper classes in Obj-C around some Tiki objects which are very nice to have around. Specifically I made a TikiTexture object that acts like a Cocoa object but wraps up a Tiki::GL::Texture using Obj-C++ (but Obj-C++ isn't required to interface with it in any way, from the outside). You can then do stuff like: TikiTexture * txr = [TikiTexture fromFile:@"foo.jpg"]; ... [txr select]; And it'll return an auto-released Obj-C object with that texture in it. The second line activates it in GL. You guys interested in this sort of stuff? I can check it in somewhere if so. |