March 26, 2014
5:08 p.m.
Hilaire Fernandes wrote:
I will propose a simple hierarchy for the theme:
UITheme +-UIPharoTheme +-UIVistaryTheme +-UIWateryTheme
I will propose to delete all the other themes as they should belong to other package.
Hilaire
Just curious to learn... I saw mentioned somewhere that it was bad to subclass themes. What is inherently wrong with that? For example Pharo3Theme was inheriting from UIWateryTheme ? If I wanted my own theme, the same as UIThemeWatery but a different baseColor, should I do... UITheme subclass: MyTheme and copy all methods from UIThemeWatery then modify MyTheme class >> baseColor or do... UIThemeWatery subclass: MyTheme and add MyTheme class >> baseColor cheers -ben