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
59ad262a
Kaydet (Commit)
59ad262a
authored
Ock 04, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
last bitmaps that pMaskColor arg was used on converted to true transparency
Change-Id: I99bb32355bc53e2c870f84e60fc1e35b9dfe8270
üst
f1a8e007
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
12 deletions
+3
-12
image.hxx
include/vcl/image.hxx
+0
-1
frmsel.cxx
svx/source/dialog/frmsel.cxx
+1
-1
button.cxx
vcl/source/control/button.cxx
+1
-2
ImageList.cxx
vcl/source/image/ImageList.cxx
+1
-8
No files found.
include/vcl/image.hxx
Dosyayı görüntüle @
59ad262a
...
...
@@ -82,7 +82,6 @@ public:
const
std
::
vector
<
OUString
>
&
rNameVector
);
void
InsertFromHorizontalBitmap
(
const
ResId
&
rResId
,
sal_uInt16
nCount
,
const
Color
*
pNonAlphaMaskColor
,
const
Color
*
pSearchColors
,
const
Color
*
pReplaceColors
,
sal_uLong
nColorCount
);
...
...
svx/source/dialog/frmsel.cxx
Dosyayı görüntüle @
59ad262a
...
...
@@ -321,7 +321,7 @@ void FrameSelectorImpl::InitArrowImageList()
GetRes
(
SVX_RES
(
RID_SVXSTR_BORDER_CONTROL
).
SetRT
(
RSC_RESOURCE
)
);
maILArrows
.
InsertFromHorizontalBitmap
(
SVX_RES
(
BMP_FRMSEL_ARROWS
),
16
,
nullptr
,
pColorAry1
,
pColorAry2
,
3
);
SVX_RES
(
BMP_FRMSEL_ARROWS
),
16
,
pColorAry1
,
pColorAry2
,
3
);
FreeResource
();
DBG_ASSERT
(
maILArrows
.
GetImageSize
().
Height
()
==
maILArrows
.
GetImageSize
().
Width
(),
"svx::FrameSelectorImpl::InitArrowImageList - images are not squarish"
);
...
...
vcl/source/control/button.cxx
Dosyayı görüntüle @
59ad262a
...
...
@@ -2764,10 +2764,9 @@ static void LoadThemedImageList (const StyleSettings &rStyleSettings,
aColorAry2
[
4
]
=
rStyleSettings
.
GetDarkShadowColor
();
aColorAry2
[
5
]
=
rStyleSettings
.
GetWindowTextColor
();
Color
aMaskColor
(
0x00
,
0x00
,
0xFF
);
static_assert
(
sizeof
(
aColorAry1
)
==
sizeof
(
aColorAry2
),
"aColorAry1 must match aColorAry2"
);
// FIXME: do we want the mask for the checkbox ?
pList
->
InsertFromHorizontalBitmap
(
rResId
,
nImages
,
&
aMaskColor
,
pList
->
InsertFromHorizontalBitmap
(
rResId
,
nImages
,
aColorAry1
,
aColorAry2
,
SAL_N_ELEMENTS
(
aColorAry1
));
}
...
...
vcl/source/image/ImageList.cxx
Dosyayı görüntüle @
59ad262a
...
...
@@ -120,19 +120,12 @@ void ImageList::InsertFromHorizontalStrip( const BitmapEx &rBitmapEx,
void
ImageList
::
InsertFromHorizontalBitmap
(
const
ResId
&
rResId
,
sal_uInt16
nCount
,
const
Color
*
pMaskColor
,
const
Color
*
pSearchColors
,
const
Color
*
pReplaceColors
,
sal_uLong
nColorCount
)
{
BitmapEx
aBmpEx
(
rResId
);
if
(
!
aBmpEx
.
IsTransparent
())
{
if
(
pMaskColor
)
aBmpEx
=
BitmapEx
(
aBmpEx
.
GetBitmap
(),
*
pMaskColor
);
else
aBmpEx
=
BitmapEx
(
aBmpEx
.
GetBitmap
()
);
}
if
(
nColorCount
&&
pSearchColors
&&
pReplaceColors
)
aBmpEx
.
Replace
(
pSearchColors
,
pReplaceColors
,
nColorCount
);
...
...
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