Christian Lippka - Sun Microsystems Germany wrote: > Hi fellow framework developers, > > currently OOo.org stores a high contrast icon for each icon. The high > high contrast icon is mostly named like the normal icon with an > attached "_h" to the file name. The high contrast icon should be used > if the user switched his desktop to a high contrast theme. > > In the code there are some major hiccups since the feature to have > high contrast icons where later added. So for example for most vcl > controls you must do something like... > > aControl.SetHighContrastImage( Image( ResID(...) ); > > Nowadays we also support switching between different icon sets. > For me it sounds like the high contrast icons are just a special > icon set. So instead of having the high contrast icons beside > the normal icons in each theme I propose to put all high contrast > icons into a separate theme. This has two benefits > > 1. you do not need to deal with high contrast icons in the code > that uses controls. Only the controls must be able to switch > between icon theme, which most of them can do already. > > 2. If you create a new icon theme you do not have to add high contrast > Images, as they are already available in their own theme. > > Thats my proposal, what do you think?
+1 I always had problems to understand why "high contrast icons" should be needed. Treating them as a theme sounds natural. I don't know why this was done in the first place - so even if we obviously agree here we need to find out what basically was the reason to go for an individual set of icons. So perhaps gsl would be a better place to start. Maybe it was just because we implemented high contrast mode before we had been able to switch icon themes?! Now the bad part: I don't think that we will have resources to do that if the necessary effort is more than a few days of work. So what we would need is a plan and some guestimations for the effort. Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[EMAIL PROTECTED]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
