Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


Hi Joseph,

On Tue, 2010-11-23 at 05:12 -0800, Joseph Powers wrote:
Do you mean something like in: clone/libs-gui/vcl/source/app/settings.cxx 

        Ah ! yes - exactly :-)

ULONG StyleSettings::GetAutoSymbolsStyle() const
{
      ...
    if( bCont )
    {
        if( rDesktopEnvironment.equalsIgnoreAsciiCaseAscii( "gnome" ) ||
            rDesktopEnvironment.equalsIgnoreAsciiCaseAscii( "windows" ) )
            nRet = STYLE_SYMBOLS_TANGO;

        So - I guess we should whack this into the backend itself, so we can
override it per platform; particularly if there is a high-contrast
setting there already.

        else if( rDesktopEnvironment.equalsIgnoreAsciiCaseAscii( "kde" ) )
            nRet = STYLE_SYMBOLS_CRYSTAL;
        else if( rDesktopEnvironment.equalsIgnoreAsciiCaseAscii( "kde4" ) )
            nRet = STYLE_SYMBOLS_OXYGEN;

        In particular, OXYGEN or CRYSTAL can be used in GNOME and vv. for Tango
in GNOME I guess.

We already seem to select a per-system default when the icon theme is set to auto.

        Right; we just need to be slightly more clever here, so we can
auto-detect the high-contrast-ness for those impaired users that need it
shouldn't be much code.

        Many thanks !

                Michael.

PS. I wonder if we could hook a per-theme post-load filter into that
icon loading path to implement 'HighContrast Inverse' in the fullness of
time, and low-contrast too ;-) but perhaps that is just crack-smoking
over-engineering.
-- 
 michael.meeks@novell.com  <><, Pseudo Engineer, itinerant idiot


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.