From 4b27695fea841d54f7f6407b873bbd33709eeab5 Mon Sep 17 00:00:00 2001 From: Petr Mladek Date: Fri, 31 Aug 2012 15:43:46 +0200 Subject: add "Tango Testing" icon theme It is enabled by default for dev build. It will be used for reworking the Tango theme by the design team. The them was requested by Stefan Knorr (Astron) The two intial icons are from Alexander Wilms Change-Id: I9205a3164352442a2cdc02e75e58b15b327dfbd3 --- icon-themes/README | 18 ++++++++++++------ icon-themes/tango_testing/cmd/sc_insertgraphic.png | Bin 0 -> 681 bytes icon-themes/tango_testing/cmd/sc_insertsection.png | Bin 0 -> 259 bytes 3 files changed, 12 insertions(+), 6 deletions(-) create mode 100644 icon-themes/tango_testing/cmd/sc_insertgraphic.png create mode 100644 icon-themes/tango_testing/cmd/sc_insertsection.png (limited to 'icon-themes') diff --git a/icon-themes/README b/icon-themes/README index 90887157614e..4fa769bb780e 100644 --- a/icon-themes/README +++ b/icon-themes/README @@ -24,20 +24,24 @@ How to add a new image set: - Create a directory for it here (let's call it e.g. new_set) -- Add its name (new_set) to WITH_THEMES variable + FIXME: It is important to use an underscore '_' to delimit more words. + scp2 compilation crashes when using a dash '-'. + It evidently splits the name into two strings. + +- Add its name (new_set) to WITH_THEMES variable in configure.in - Add its gid to the Files section of gid_Module_Root_Brand in scp2/source/ooo/module_hidden_ooo.scp and add a corresponding File entry to scp2/source/ooo/file_ooo.scp (see for example gid_Brand_File_ImagesCrystal_Zip) -- Add a vcl constant for it in vcl/inc/settings.hxx, e.g. +- Add a vcl constant for it in vcl/inc/vcl/settings.hxx, e.g. #define STYLE_SYMBOLS_NEW_SET ((ULONG)5) - Map the vcl constant to its real name in - ::rtl::OUString StyleSettings::GetCurrentSymbolsStyleName() const + ::rtl::OUString StyleSettings::ImplSymbolsStyleToName( sal_uLong nStyle ) const and - ULONG StyleSettings::ImplNameToSymbolsStyle( const ::rtl::OUString &rName ) const + sal_uLong StyleSettings::ImplNameToSymbolsStyle( const ::rtl::OUString &rName ) const both in vcl/source/app/settings.cxx, e.g. case STYLE_SYMBOLS_NEW_SET: return ::rtl::OUString::createFromAscii( "new_set" ); and @@ -50,7 +54,8 @@ How to add a new image set: < "New set" ; > ; both in cui/source/options/optgdlg.src -- Add all known localizations of the new item to svx/source/dialog/localize.sdf, e.g. +- FIXME: is this step still needed? + Add all known localizations of the new item to svx/source/dialog/localize.sdf, e.g. svx source\dialog\optgdlg.src 0 stringlist OFA_TP_VIEW.LB_ICONSTYLE 6 0 cs New set 2002-02-02 02:02:02 the check box item will not be visible in the other localizations otherwise, see http://www.openoffice.org/issues/show_bug.cgi?id=74982 @@ -61,7 +66,8 @@ How to add a new image set: ULONG StyleSettings::GetCurrentSymbolsStyle() const in vcl/source/app/settings.cxx -- The fallback for particular icons is defined in CUSTOM_PREFERRED_FALLBACK_1 +- The fallback for particular icons is defined be packimages_CUSTOM_FALLBACK_1 + in packimages/CustomTarget_images.mk How to add a new icon for a new command: diff --git a/icon-themes/tango_testing/cmd/sc_insertgraphic.png b/icon-themes/tango_testing/cmd/sc_insertgraphic.png new file mode 100644 index 000000000000..597237c99aec Binary files /dev/null and b/icon-themes/tango_testing/cmd/sc_insertgraphic.png differ diff --git a/icon-themes/tango_testing/cmd/sc_insertsection.png b/icon-themes/tango_testing/cmd/sc_insertsection.png new file mode 100644 index 000000000000..2afb75744a0f Binary files /dev/null and b/icon-themes/tango_testing/cmd/sc_insertsection.png differ -- cgit