Nice work!
For buttons, the focus corner radius is controlled by the theme method:
#buttonFocusIndicatorCornerRadiusFor:
Regards, Gary
----- Original Message -----
From: "Sven Van Caekenberghe" <[email protected]>
To: <[email protected]>
Sent: Sunday, September 05, 2010 8:37 AM
Subject: Re: [Pharo-project] glamorous theme :)
On 05 Sep 2010, at 09:08, Tudor Girba wrote:
Hi Sven,
I am not sure I understand what you are referring to. Could you be more
explicit?
Sorry: if you switch to the Pro theme (UIThemePro from the
Polymorph-Themes-Pro package, PharoInbox) and do "UITheme
exampleBasicControls." you get the following window:
--------------------------------------------------------------------------------
The Default Button has an ugly blue border (well the blue border has the
wrong shape). Every dialog has this ugly button that's why it is a pity
because the Theme is otherwise quite nice.
I really got lost trying to fix this (I lack knowledge of all this drawing
code). But you probably encountered similar problems.
The reason I chose square shapes is that as long as we do not have proper
and fast antialiasing, it requires images (like in the watery2 theme)
which are time consuming to produce, or it just does not look nice.
Having a fast theme is also a definitive plus, sure.
Cheers,
Doru
On 5 Sep 2010, at 08:23, Sven Van Caekenberghe wrote:
Hi Doru,
Nice indeed, clean & professional, x-platform. I see that you managed to
get 'button with focus' (blue border) drawn correctly, even though you
subclass 'Watery2' which has round buttons, which was a problem with the
Pro theme. I tried to solve it, but I got lost. Maybe you can see what is
wrong there ? (see my mail aug 30).
Regards,
Sven
On 04 Sep 2010, at 23:18, Tudor Girba 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
--------------------------------------------------------------------------------
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project