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
9b322ace
Kaydet (Commit)
9b322ace
authored
Eki 23, 2015
tarafından
Aybuke Ozdemir
Kaydeden (comit)
Katarina Behrens
Eki 27, 2015
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
tdf#88548 fontwork gallery always have transparent/checkered background.
Change-Id: I8995ef12edb64c14788ba3a2c3c1c2ceb3775b11
üst
ce15c93c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
29 deletions
+10
-29
Common.xcs
officecfg/registry/schema/org/openoffice/Office/Common.xcs
+1
-1
galctrl.cxx
svx/source/gallery2/galctrl.cxx
+5
-15
fontworkgallery.cxx
svx/source/tbxctrls/fontworkgallery.cxx
+4
-13
No files found.
officecfg/registry/schema/org/openoffice/Office/Common.xcs
Dosyayı görüntüle @
9b322ace
...
...
@@ -6359,7 +6359,7 @@
</desc>
<label>
Shows previews with shining through checkered background to visualize transparency.
</label>
</info>
<value>
tru
e
</value>
<value>
fals
e
</value>
</prop>
</group>
<group
oor:name=
"ExternalApps"
oor:extensible=
"true"
>
...
...
svx/source/gallery2/galctrl.cxx
Dosyayı görüntüle @
9b322ace
...
...
@@ -257,23 +257,13 @@ void GalleryPreview::PreviewMedia( const INetURLObject& rURL )
void
drawTransparenceBackground
(
vcl
::
RenderContext
&
rOut
,
const
Point
&
rPos
,
const
Size
&
rSize
)
{
const
StyleSettings
&
rStyleSettings
=
Application
::
GetSettings
().
GetStyleSettings
();
if
(
rStyleSettings
.
GetPreviewUsesCheckeredBackground
())
{
// draw checkered background
static
const
sal_uInt32
nLen
(
8
);
static
const
Color
aW
(
COL_WHITE
);
static
const
Color
aG
(
0xef
,
0xef
,
0xef
);
// draw checkered background
static
const
sal_uInt32
nLen
(
8
);
static
const
Color
aW
(
COL_WHITE
);
static
const
Color
aG
(
0xef
,
0xef
,
0xef
);
rOut
.
DrawCheckered
(
rPos
,
rSize
,
nLen
,
aW
,
aG
);
}
else
{
rOut
.
SetLineColor
();
rOut
.
SetFillColor
(
rStyleSettings
.
GetFieldColor
());
rOut
.
DrawRect
(
Rectangle
(
rPos
,
rSize
));
}
rOut
.
DrawCheckered
(
rPos
,
rSize
,
nLen
,
aW
,
aG
);
}
GalleryIconView
::
GalleryIconView
(
GalleryBrowser2
*
pParent
,
GalleryTheme
*
pTheme
)
:
...
...
svx/source/tbxctrls/fontworkgallery.cxx
Dosyayı görüntüle @
9b322ace
...
...
@@ -115,7 +115,6 @@ void FontWorkGalleryDialog::initFavorites(sal_uInt16 nThemeId)
sal_uInt32
nModelPos
;
FmFormModel
*
pModel
=
NULL
;
const
StyleSettings
&
rStyleSettings
=
Application
::
GetSettings
().
GetStyleSettings
();
for
(
nModelPos
=
0
;
nModelPos
<
nFavCount
;
nModelPos
++
)
{
...
...
@@ -133,19 +132,11 @@ void FontWorkGalleryDialog::initFavorites(sal_uInt16 nThemeId)
pVDev
->
SetOutputSizePixel
(
aSize
);
if
(
rStyleSettings
.
GetPreviewUsesCheckeredBackground
())
{
static
const
sal_uInt32
nLen
(
8
);
static
const
Color
aW
(
COL_WHITE
);
static
const
Color
aG
(
0xef
,
0xef
,
0xef
);
static
const
sal_uInt32
nLen
(
8
);
static
const
Color
aW
(
COL_WHITE
);
static
const
Color
aG
(
0xef
,
0xef
,
0xef
);
pVDev
->
DrawCheckered
(
aNull
,
aSize
,
nLen
,
aW
,
aG
);
}
else
{
pVDev
->
SetBackground
(
rStyleSettings
.
GetFieldColor
());
pVDev
->
Erase
();
}
pVDev
->
DrawCheckered
(
aNull
,
aSize
,
nLen
,
aW
,
aG
);
pVDev
->
DrawBitmapEx
(
aNull
,
aThumb
);
maFavoritesHorizontal
.
push_back
(
pVDev
->
GetBitmap
(
aNull
,
aSize
));
...
...
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