On Tue, Sep 7, 2010 at 9:48 PM, Tudor Girba <[email protected]> wrote:

> Hi Laurent,
>
> On the Macbook Pro monitor it works well, but indeed, I also thought this
> would be a problem on less strong monitors.
>
> I now updated the color to get a stronger shade of blue.
>

What do you think of this one (with a pressed look) ?

buttonSelectedFillStyleFor: aButton
 "Return the normal button fillStyle for the given button."
 | toptop top bottom base |
 base := self glamorousBaseColorFor: aButton.
toptop := base muchDarker.
top := base.
 bottom :=  (self glamorousLightSelectionColorFor: aButton) muchLighter.

^(GradientFillStyle ramp: {
 0.0->toptop.
0.1->top.
0.9->bottom.})
 origin: aButton bounds origin;
direction: 0 @ aButton height;
radial: false



Laurent Laffont

http://pharocasts.blogspot.com/
http://magaloma.blogspot.com/



>
> Cheers,
> Doru
>
>
> On 7 Sep 2010, at 08:47, laurent laffont wrote:
>
> > Hi Doru,
> >
> > Using Glamourous I hardly see which button is focused in System Browser
> between instance or class. So I've made mistakes several times yesterday :)
> >
> > I really like this theme, especially on a slow computer.
> >
> >
> > Cheers,
> >
> > Laurent Laffont
> >
> > http://pharocasts.blogspot.com/
> > http://magaloma.blogspot.com/
> >
> >
> > On Sat, Sep 4, 2010 at 11:18 PM, Tudor Girba <[email protected]>
> wrote:
> > Hi,
> >
> > Over the past week I worked on a new theme for Pharo called the Glamorous
> Theme :). The theme is developed in the context of the Glamour project, and
> its goal is to create a look that:
> > - does not look like a specific operating system. In particular, the
> icons should be operating system agnostic, because, for example, people in
> Windows are confused by the red, yellow, green buttons of apple.
> > - uses a limited amount of colors and effects.
> >
> > It is still work in progress, but you can get the current version by
> executing:
> >
> > Gofer new
> >        squeaksource: 'Glamour';
> >        package: 'Glamour-Morphic-Theme';
> >        load.
> > GLMUITheme defaultSettings: nil.
> > GLMUITheme beCurrent.
> > GLMUITheme setPreferredWorldBackground.
> >
> > Cheers,
> > Doru
> >
> > --
> > www.tudorgirba.com
> >
> > "Problem solving efficiency grows with the abstractness level of problem
> understanding."
> >
> >
> >
> >
> > _______________________________________________
> > Pharo-project mailing list
> > [email protected]
> > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
> >
>
> --
> www.tudorgirba.com
>
> "It's not what we do that matters most, it's how we do it."
>
>
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to