On Tue, Jan 13, 2009 at 1:31 PM, Richard Lewis <[email protected]> wrote:
> I'm just investigating Weblocks and wondered how easy it would be to
> implement an alternate rendering method for widgets, such as rendering
> them using Mozilla's XUL or using SVG instead of HTML? Or whether
> anyone has already done this?
Widgets are generally not abstracted on a type of renderer (it's
implicitly assumed to be HTML), so you'd have to change quite a bit of
code. In general, Weblocks is heavily geared towards rendering HTML,
so porting existing widgets to render XUL/SVG would be tricky.

It shouldn't be too hard to create new widgets that do this, though.

> Also, I haven't read the API in detail yet, but does Weblocks provide
> abstractions for doing general drawing (move-to and line-to -type
> functions)? (I'm guessing probably not.)
No, Weblocks has no support for this (that I know of).

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"weblocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/weblocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to