summaryrefslogtreecommitdiff
path: root/basctl/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-04-19 12:02:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-04-25 17:02:15 +0200
commitd7559de4f70afdf64dea3bfbf462f5f188da7d05 (patch)
treef27987aec5a5518928a8271af04bd875bb92ef58 /basctl/inc
parente68b6e349c31ac1376e90218013e1e7612f2b522 (diff)
remove bitmaps from .src files
and into includeable .hlst files, add them to postprocess/CustomTarget_images.mk to continue only including used bitmaps in icon-theme zips Change-Id: I5c24c3eca93a9c4101bcdcacb0e4b2712133968e Reviewed-on: https://gerrit.libreoffice.org/36941 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'basctl/inc')
-rw-r--r--basctl/inc/basidesh.hrc16
-rw-r--r--basctl/inc/bitmaps.hlst31
2 files changed, 31 insertions, 16 deletions
diff --git a/basctl/inc/basidesh.hrc b/basctl/inc/basidesh.hrc
index 0f9150613182..60a2f0fa903e 100644
--- a/basctl/inc/basidesh.hrc
+++ b/basctl/inc/basidesh.hrc
@@ -24,18 +24,6 @@
#define RID_BASICIDE_OBJECTBAR ( RID_BASICIDE_START + 0 )
-#define RID_BMP_REMOVEWATCH ( RID_BASICIDE_START + 8 )
-#define RID_BMP_INSTALLATION ( RID_BASICIDE_START + 20 )
-#define RID_BMP_DOCUMENT ( RID_BASICIDE_START + 22 )
-#define RID_BMP_MODLIB ( RID_BASICIDE_START + 24 )
-#define RID_BMP_MODLIBNOTLOADED ( RID_BASICIDE_START + 26 )
-#define RID_BMP_MODULE ( RID_BASICIDE_START + 28 )
-#define RID_BMP_MACRO ( RID_BASICIDE_START + 30 )
-#define RID_BMP_DLGLIB ( RID_BASICIDE_START + 32 )
-#define RID_BMP_DLGLIBNOTLOADED ( RID_BASICIDE_START + 34 )
-#define RID_BMP_DIALOG ( RID_BASICIDE_START + 36 )
-#define RID_BMP_LOCKED ( RID_BASICIDE_START + 41 )
-
#define RID_STR_SEARCHALLMODULES ( RID_BASICIDE_START + 1 )
#define RID_STR_SEARCHFROMSTART ( RID_BASICIDE_START + 2 )
#define RID_STR_NOMODULE ( RID_BASICIDE_START + 3 )
@@ -122,10 +110,6 @@
#define RID_STR_USERFORMS ( RID_BASICIDE_START + 119 )
#define RID_STR_NORMAL_MODULES ( RID_BASICIDE_START + 120 )
#define RID_STR_CLASS_MODULES ( RID_BASICIDE_START + 121 )
-#define RID_BMP_BRKENABLED ( SID_BASICIDE_START + 122 )
-#define RID_BMP_BRKDISABLED ( SID_BASICIDE_START + 123 )
-#define RID_BMP_STEPMARKER ( SID_BASICIDE_START + 124 )
-#define RID_BMP_ERRORMARKER ( SID_BASICIDE_START + 125 )
//free slots
#define RID_STR_PRINTDLG_RANGE ( RID_BASICIDE_START + 130 )
#define RID_STR_PRINTDLG_ALLPAGES ( RID_BASICIDE_START + 131 )
diff --git a/basctl/inc/bitmaps.hlst b/basctl/inc/bitmaps.hlst
new file mode 100644
index 000000000000..3dd019785a67
--- /dev/null
+++ b/basctl/inc/bitmaps.hlst
@@ -0,0 +1,31 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#ifndef INCLUDED_BASCTL_INC_BITMAPS_HRC
+#define INCLUDED_BASCTL_INC_BITMAPS_HRC
+
+#define RID_BMP_BRKENABLED "res/im30838.png"
+#define RID_BMP_BRKDISABLED "res/im30839.png"
+#define RID_BMP_STEPMARKER "res/im30840.png"
+#define RID_BMP_ERRORMARKER "res/im30841.png"
+#define RID_BMP_LOCKED "res/lock.png"
+#define RID_BMP_INSTALLATION "res/harddisk_16.png"
+#define RID_BMP_DOCUMENT "res/im30826.png"
+#define RID_BMP_MODLIB "res/im30820.png"
+#define RID_BMP_MODLIBNOTLOADED "res/im30827.png"
+#define RID_BMP_MODULE "res/im30821.png"
+#define RID_BMP_MACRO "res/im30822.png"
+#define RID_BMP_DLGLIB "res/dialogfolder_16.png"
+#define RID_BMP_DLGLIBNOTLOADED "res/dialogfoldernot_16.png"
+#define RID_BMP_DIALOG "res/im30823.png"
+#define RID_BMP_REMOVEWATCH "res/baswatr.png"
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */