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
02385eb4
Kaydet (Commit)
02385eb4
authored
May 28, 2014
tarafından
matteocam
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Cleaned up code from tranparency in vcl. Trying setfillcolor from edit attrs
Change-Id: I263012332e43573f260ac8c54612576eb21a11a1
üst
4445f361
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
editattr.cxx
editeng/source/editeng/editattr.cxx
+5
-0
text.cxx
vcl/source/outdev/text.cxx
+1
-8
No files found.
editeng/source/editeng/editattr.cxx
Dosyayı görüntüle @
02385eb4
...
...
@@ -131,6 +131,11 @@ void EditCharAttribUnderline::SetFont( SvxFont& rFont, OutputDevice* pOutDev )
rFont
.
SetUnderline
(
(
FontUnderline
)((
const
SvxUnderlineItem
*
)
GetItem
())
->
GetValue
()
);
if
(
pOutDev
)
pOutDev
->
SetTextLineColor
(
((
const
SvxUnderlineItem
*
)
GetItem
())
->
GetColor
()
);
// FIXME(matteocam)
Color
aColor
=
RGB_COLORDATA
(
0x66
,
0x66
,
0xFF
);
// blue-ish
if
(
pOutDev
)
pOutDev
->
SetTextFillColor
(
aColor
);
}
...
...
vcl/source/outdev/text.cxx
Dosyayı görüntüle @
02385eb4
...
...
@@ -149,14 +149,7 @@ void OutputDevice::ImplDrawTextRect( long nBaseX, long nBaseY,
nX
+=
nBaseX
;
nY
+=
nBaseY
;
//mpGraphics->DrawRect( nX, nY, nWidth, nHeight, this ); // original code
Rectangle
aRect
(
Point
(
nX
,
nY
),
Size
(
nWidth
+
1
,
nHeight
+
1
)
);
Polygon
aPoly
(
aRect
);
PolyPolygon
aPolyPoly
(
aPoly
);
Color
aColor
=
RGB_COLORDATA
(
0x66
,
0x66
,
0xFF
);
SetTextFillColor
(
aColor
);
DrawTransparent
(
aPolyPoly
,
70
);
mpGraphics
->
DrawRect
(
nX
,
nY
,
nWidth
,
nHeight
,
this
);
// original code
}
...
...
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