Boost logo

Boost :

From: Stefan Seefeld (seefeld_at_[hidden])
Date: 2005-10-09 07:51:13


John Torjo wrote:
>>Have you read the Fresco doc that Stefan gave a link to? The point
>>is that life would be sooo much better if there is no distinction
>>between a "widget" and a "graphic". Think abstraction and genericity!
>>Here's the relevant quote:
>>
>
>
> Yes, this sounds very cool!
>
> I do think, however, that there should be a distinction between widget
> and graphic -- that is, the widget contains the logic, while the
> graphic(s) draw the UI. This is how I've implemented surfaces.

What about a model-view-controller alike separation ? In Fresco you'd
create a widget through a 'WidgetKit', passing it a model to bind to,
and would obtain a compound graphic that is a nice citizen of the scene
graph.

Regards,
                Stefan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk