StandardWindow>>defaultColor
        "Answer the default color/fill style for the receiver"
        
        ^self theme windowColor

to me I would put windowColor as a variable of the window.

Stef


On May 14, 2013, at 4:55 PM, Stéphane Ducasse <[email protected]> wrote:

> esteban
> 
> I discussed with damien and I think that now I got the solution. In fact the 
> architecture should be the same than the 
> one of settings.
> 
> Every widget should have custom hooks and setter, getter and default values.
> The hooks should be annotated or registered seomwhere.
> Then the widget code simply uses the hooks normally.
> 
> Now a theme changes should push new values onto these hooks.
> 
> This will lead to a flow that is totally different. Nobody should write 
> UITheme builder or even Smalltalk ui theme.
> I will try to build a small experiment but I'm sure that this is the solution
> 
> Nobody call settings nowadays (as it was the case with Preferences in the 
> past). 
> 
> Stef


Reply via email to