Christian Lippka - Sun Microsystems Germany schrieb:
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?
Hi Christian,

I think your proposal makes sense to define high contrast icons as a special theme. One thing that must be supported by OpenOffice.org is that a high contrast icon theme is automatically chosen if the user activates a high contrast mode in his OS/Window Manager (e.g. the "Use High Contrast" check box under Windows). System integration is one key feature that still has to work, even if the user could switch the theme manually.

Regards,
Carsten

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

Reply via email to