On Friday, December 16, 2005, at 12:06 am, johnc wrote: > > Gardeners of the Noble Lisp, > > I have here, a 60~70% finished Lisp software renderer: it draws flat > shaded triangles and lines; at the moment it's using a small library > (tinyPTC) to initialise / de-initialise a framebuffer. I was recently > looking at the Linux framebuffer device and realised that with a bit of > work it could be a Lisp binding for this device. > > So far, no problem. But I'm also wondering exactly how much more > functionality I'd have to implement to make this a backend for McClim? > Is the interface documented anywhere, or do I have to prise it from the > McClim source? >
The McCLIM source is probably the best place to find this information. Basically any MEDIUM-*** functions need some support from the back end, in addition to frame managers and inks. Also remember that the back end is responsible for providing any events to McCLIM proper, so all the (low level) event handling stuff needs to be in the back end too. I think that's pretty much all that the back end *has* to implement; there's a bunch of stuff extra that it *could* implement (native look and feel etc.) but depending on the underlying toolkit (in this case your binding to the framebuffer device I guess) this might not be something you want to bother with (it shouldn't affect the utility of CLIM). This isn't spelled out very well in the CLIM spec IMO, but all the information is in there -- if you can find it ;-) -Duncan > John Connors. > _______________________________________________ > Gardeners mailing list > [email protected] > http://www.lispniks.com/mailman/listinfo/gardeners > _______________________________________________ Gardeners mailing list [email protected] http://www.lispniks.com/mailman/listinfo/gardeners
