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?

Regards,
Christian

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

Reply via email to