Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
f8f7c400
Kaydet (Commit)
f8f7c400
authored
Ock 18, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
svtools: load BitmapEx resources instead of Image ones
Change-Id: Ifc852b1cb886b30abdf1061b73c2b600334264c6
üst
5e16a343
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
19 additions
and
26 deletions
+19
-26
svtools.hrc
include/svtools/svtools.hrc
+5
-10
fileview.cxx
svtools/source/contnr/fileview.cxx
+1
-1
fileview.src
svtools/source/contnr/fileview.src
+4
-6
foldertree.cxx
svtools/source/contnr/foldertree.cxx
+2
-2
svcontnr.src
svtools/source/contnr/svcontnr.src
+4
-4
svimpbox.cxx
svtools/source/contnr/svimpbox.cxx
+2
-2
imagemgr.cxx
svtools/source/misc/imagemgr.cxx
+1
-1
No files found.
include/svtools/svtools.hrc
Dosyayı görüntüle @
f8f7c400
...
...
@@ -243,9 +243,11 @@
#define DLG_ADDRESSBOOKSOURCE (RID_SVTOOLS_START+114)
// bitmaps
#define BMP_PLUGIN (RID_SVTOOLS_BITMAP_START + 3)
// free
#define RID_BMP_TREENODE_COLLAPSED (RID_SVTOOLS_BITMAP_START + 0)
#define RID_BMP_TREENODE_EXPANDED (RID_SVTOOLS_BITMAP_START + 1)
#define RID_BMP_FOLDER (RID_SVTOOLS_BITMAP_START + 2)
#define RID_BMP_FOLDER_OPEN (RID_SVTOOLS_BITMAP_START + 3)
#define BMP_PLUGIN (RID_SVTOOLS_BITMAP_START + 4)
#define BMP_CURRENT (RID_SVTOOLS_BITMAP_START + 5)
#define BMP_MODIFIED (RID_SVTOOLS_BITMAP_START + 6)
#define BMP_NEW (RID_SVTOOLS_BITMAP_START + 7)
...
...
@@ -354,13 +356,6 @@
#define BMP_OO_WRITER_TEMPLATE_LC (RID_SVTOOLS_BITMAP_START + 110)
#define BMP_EXTENSION_LC (RID_SVTOOLS_BITMAP_START + 111)
// images
#define RID_IMG_TREENODE_COLLAPSED (RID_SVTOOLS_START + 0)
#define RID_IMG_TREENODE_EXPANDED (RID_SVTOOLS_START + 1)
#define IMG_SVT_FOLDER (RID_SVTOOLS_START + 42)
#define IMG_SVT_FOLDER_OPEN (RID_SVTOOLS_START + 43)
#define STR_PARAGRAPH_START (STR_SVT_PRNDLG_START + 50)
#define STR_PARAGRAPH (STR_PARAGRAPH_START + 0)
...
...
svtools/source/contnr/fileview.cxx
Dosyayı görüntüle @
f8f7c400
...
...
@@ -1461,7 +1461,7 @@ SvtFileView_Impl::SvtFileView_Impl( SvtFileView* pAntiImpl, Reference < XCommand
,
mnSuspendSelectCallback
(
0
)
,
mbIsFirstResort
(
true
)
,
aIntlWrapper
(
Application
::
GetSettings
().
GetLanguageTag
()
)
,
maFolderImage
(
SvtResId
(
IMG_SVT_FOLDER
)
)
,
maFolderImage
(
BitmapEx
(
SvtResId
(
RID_BMP_FOLDER
))
)
,
mxCmdEnv
(
xEnv
)
{
...
...
svtools/source/contnr/fileview.src
Dosyayı görüntüle @
f8f7c400
...
...
@@ -68,16 +68,14 @@ String STR_SVT_GB
Text [ en-US ] = "GB" ;
};
// Images ---------------------------------------------------------------------
Image IMG_SVT_FOLDER
Bitmap RID_BMP_FOLDER
{
ImageBitmap = Bitmap { File = "folder.png" ; }
;
File = "folder.png"
;
};
Image IMG_SVT
_FOLDER_OPEN
Bitmap RID_BMP
_FOLDER_OPEN
{
ImageBitmap = Bitmap { File = "folderop.png" ; }
;
File = "folderop.png"
;
};
// Menus -----------------------------------------------------------------
...
...
svtools/source/contnr/foldertree.cxx
Dosyayı görüntüle @
f8f7c400
...
...
@@ -14,8 +14,8 @@
FolderTree
::
FolderTree
(
vcl
::
Window
*
pParent
,
WinBits
nBits
)
:
SvTreeListBox
(
pParent
,
nBits
|
WB_SORT
|
WB_TABSTOP
)
,
m_aFolderImage
(
SvtResId
(
IMG_SVT_FOLDER
)
)
,
m_aFolderExpandedImage
(
SvtResId
(
IMG_SVT_FOLDER_OPEN
)
)
,
m_aFolderImage
(
BitmapEx
(
SvtResId
(
RID_BMP_FOLDER
))
)
,
m_aFolderExpandedImage
(
BitmapEx
(
SvtResId
(
RID_BMP_FOLDER_OPEN
))
)
{
Reference
<
XComponentContext
>
xContext
=
::
comphelper
::
getProcessComponentContext
();
Reference
<
XInteractionHandler
>
xInteractionHandler
(
...
...
svtools/source/contnr/svcontnr.src
Dosyayı görüntüle @
f8f7c400
...
...
@@ -19,14 +19,14 @@
#include <svtools/svtools.hrc>
Image RID_IMG
_TREENODE_COLLAPSED
Bitmap RID_BMP
_TREENODE_COLLAPSED
{
ImageBitmap = Bitmap { File = "plus.png"; }
;
File = "plus.png"
;
};
Image RID_IMG
_TREENODE_EXPANDED
Bitmap RID_BMP
_TREENODE_EXPANDED
{
ImageBitmap = Bitmap { File = "minus.png"; }
;
File = "minus.png"
;
};
// descriptions of accessible objects
...
...
svtools/source/contnr/svimpbox.cxx
Dosyayı görüntüle @
f8f7c400
...
...
@@ -3343,8 +3343,8 @@ void SvImpLBox::implInitDefaultNodeImages()
// assume that all or nothing is initialized
return
;
s_pDefCollapsed
=
new
Image
(
SvtResId
(
RID_IMG_TREENODE_COLLAPSED
)
);
s_pDefExpanded
=
new
Image
(
SvtResId
(
RID_IMG_TREENODE_EXPANDED
)
);
s_pDefCollapsed
=
new
Image
(
BitmapEx
(
SvtResId
(
RID_BMP_TREENODE_COLLAPSED
))
);
s_pDefExpanded
=
new
Image
(
BitmapEx
(
SvtResId
(
RID_BMP_TREENODE_EXPANDED
))
);
}
...
...
svtools/source/misc/imagemgr.cxx
Dosyayı görüntüle @
f8f7c400
...
...
@@ -541,7 +541,7 @@ static Image GetImageFromList_Impl( sal_uInt16 nImageId, bool bBig )
return
Image
(
BitmapEx
(
SvtResId
(
bBig
?
BMP_TABLE_LC
:
BMP_TABLE_SC
)));
case
IMG_FOLDER
:
// if not bBig, then return our new small folder image (256 colors)
return
bBig
?
Image
(
BitmapEx
(
SvtResId
(
BMP_FOLDER_LC
)))
:
Image
(
SvtResId
(
IMG_SVT_FOLDER
));
return
Image
(
BitmapEx
(
SvtResId
(
bBig
?
BMP_FOLDER_LC
:
RID_BMP_FOLDER
)
));
case
IMG_DXF
:
return
Image
(
BitmapEx
(
SvtResId
(
bBig
?
BMP_DXF_LC
:
BMP_DXF_SC
)));
case
IMG_MET
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment