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
17da3432
Kaydet (Commit)
17da3432
authored
Mar 21, 2011
tarafından
Luboš Luňák
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
pClipRegion_ has been apparently renamed to mpClipRegion
üst
da941336
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
KDESalGraphics.cxx
vcl/unx/kde4/KDESalGraphics.cxx
+8
-8
No files found.
vcl/unx/kde4/KDESalGraphics.cxx
Dosyayı görüntüle @
17da3432
...
@@ -626,12 +626,12 @@ sal_Bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
...
@@ -626,12 +626,12 @@ sal_Bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
// See XRegionToQRegion() comment for a small catch (although not real hopefully).
// See XRegionToQRegion() comment for a small catch (although not real hopefully).
QPixmap
destPixmap
=
QPixmap
::
fromX11Pixmap
(
GetDrawable
(),
QPixmap
::
ExplicitlyShared
);
QPixmap
destPixmap
=
QPixmap
::
fromX11Pixmap
(
GetDrawable
(),
QPixmap
::
ExplicitlyShared
);
QPainter
paint
(
&
destPixmap
);
QPainter
paint
(
&
destPixmap
);
if
(
clipRegion
&&
pClipRegion_
)
if
(
clipRegion
&&
mpClipRegion
)
paint
.
setClipRegion
(
clipRegion
->
intersected
(
XRegionToQRegion
(
pClipRegion_
)));
paint
.
setClipRegion
(
clipRegion
->
intersected
(
XRegionToQRegion
(
mpClipRegion
)));
else
if
(
clipRegion
)
else
if
(
clipRegion
)
paint
.
setClipRegion
(
*
clipRegion
);
paint
.
setClipRegion
(
*
clipRegion
);
else
if
(
pClipRegion_
)
else
if
(
mpClipRegion
)
paint
.
setClipRegion
(
XRegionToQRegion
(
pClipRegion_
));
paint
.
setClipRegion
(
XRegionToQRegion
(
mpClipRegion
));
paint
.
drawImage
(
widgetRect
.
left
(),
widgetRect
.
top
(),
*
m_image
,
paint
.
drawImage
(
widgetRect
.
left
(),
widgetRect
.
top
(),
*
m_image
,
0
,
0
,
widgetRect
.
width
(),
widgetRect
.
height
(),
0
,
0
,
widgetRect
.
width
(),
widgetRect
.
height
(),
Qt
::
ColorOnly
|
Qt
::
OrderedDither
|
Qt
::
OrderedAlphaDither
);
Qt
::
ColorOnly
|
Qt
::
OrderedDither
|
Qt
::
OrderedAlphaDither
);
...
@@ -652,8 +652,8 @@ sal_Bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
...
@@ -652,8 +652,8 @@ sal_Bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
xr
.
height
=
r
.
height
();
xr
.
height
=
r
.
height
();
XUnionRectWithRegion
(
&
xr
,
pTempClipRegion
,
pTempClipRegion
);
XUnionRectWithRegion
(
&
xr
,
pTempClipRegion
,
pTempClipRegion
);
}
}
if
(
pClipRegion_
)
if
(
mpClipRegion
)
XIntersectRegion
(
pTempClipRegion
,
pClipRegion_
,
pTempClipRegion
);
XIntersectRegion
(
pTempClipRegion
,
mpClipRegion
,
pTempClipRegion
);
XSetRegion
(
GetXDisplay
(),
gc
,
pTempClipRegion
);
XSetRegion
(
GetXDisplay
(),
gc
,
pTempClipRegion
);
}
}
QPixmap
pixmap
=
QPixmap
::
fromImage
(
*
m_image
,
Qt
::
ColorOnly
|
Qt
::
OrderedDither
|
Qt
::
OrderedAlphaDither
);
QPixmap
pixmap
=
QPixmap
::
fromImage
(
*
m_image
,
Qt
::
ColorOnly
|
Qt
::
OrderedDither
|
Qt
::
OrderedAlphaDither
);
...
@@ -664,8 +664,8 @@ sal_Bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
...
@@ -664,8 +664,8 @@ sal_Bool KDESalGraphics::drawNativeControl( ControlType type, ControlPart part,
if
(
pTempClipRegion
)
if
(
pTempClipRegion
)
{
{
if
(
pClipRegion_
)
if
(
mpClipRegion
)
XSetRegion
(
GetXDisplay
(),
gc
,
pClipRegion_
);
XSetRegion
(
GetXDisplay
(),
gc
,
mpClipRegion
);
else
else
XSetClipMask
(
GetXDisplay
(),
gc
,
None
);
XSetClipMask
(
GetXDisplay
(),
gc
,
None
);
XDestroyRegion
(
pTempClipRegion
);
XDestroyRegion
(
pTempClipRegion
);
...
...
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