+1, too :)

And yes, I am quite sure we didn't have the facility to switch icon sets
in 2002 when implementing high contrast support.

Malte.

Mathias Bauer wrote, On 01/25/08 18:28:
> 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
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to