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
0fd54995
Kaydet (Commit)
0fd54995
authored
Agu 14, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcldemo: make --widgets handle rendercontext
Change-Id: I90f784859e9d4f246f570e033b7e18c335588fd0
üst
b4a71858
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
vcldemo.cxx
vcl/workben/vcldemo.cxx
+6
-6
No files found.
vcl/workben/vcldemo.cxx
Dosyayı görüntüle @
0fd54995
...
@@ -1494,7 +1494,7 @@ public:
...
@@ -1494,7 +1494,7 @@ public:
mpButton
.
disposeAndClear
();
mpButton
.
disposeAndClear
();
WorkWindow
::
dispose
();
WorkWindow
::
dispose
();
}
}
virtual
void
Paint
(
vcl
::
RenderContext
&
/*rRenderContext*/
,
const
Rectangle
&
)
SAL_OVERRIDE
virtual
void
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
)
SAL_OVERRIDE
{
{
Rectangle
aWholeSize
(
Point
(
0
,
0
),
GetOutputSizePixel
());
Rectangle
aWholeSize
(
Point
(
0
,
0
),
GetOutputSizePixel
());
vcl
::
Region
aClip
(
aWholeSize
);
vcl
::
Region
aClip
(
aWholeSize
);
...
@@ -1503,10 +1503,10 @@ public:
...
@@ -1503,10 +1503,10 @@ public:
Wallpaper
aWallpaper
(
COL_GREEN
);
Wallpaper
aWallpaper
(
COL_GREEN
);
Push
(
PushFlags
::
CLIPREGION
);
rRenderContext
.
Push
(
PushFlags
::
CLIPREGION
);
IntersectClipRegion
(
aClip
);
rRenderContext
.
IntersectClipRegion
(
aClip
);
DrawWallpaper
(
aWholeSize
,
aWallpaper
);
rRenderContext
.
DrawWallpaper
(
aWholeSize
,
aWallpaper
);
Pop
();
rRenderContext
.
Pop
();
ScopedVclPtrInstance
<
VirtualDevice
>
pDev
(
*
this
);
ScopedVclPtrInstance
<
VirtualDevice
>
pDev
(
*
this
);
pDev
->
EnableRTL
(
IsRTLEnabled
());
pDev
->
EnableRTL
(
IsRTLEnabled
());
...
@@ -1516,7 +1516,7 @@ public:
...
@@ -1516,7 +1516,7 @@ public:
aSubRect
.
Move
(
-
aExclude
.
Left
(),
-
aExclude
.
Top
());
aSubRect
.
Move
(
-
aExclude
.
Left
(),
-
aExclude
.
Top
());
pDev
->
DrawWallpaper
(
aSubRect
,
aWallpaper
);
pDev
->
DrawWallpaper
(
aSubRect
,
aWallpaper
);
DrawOutDev
(
aExclude
.
TopLeft
(),
aExclude
.
GetSize
(),
rRenderContext
.
DrawOutDev
(
aExclude
.
TopLeft
(),
aExclude
.
GetSize
(),
Point
(
0
,
0
),
aExclude
.
GetSize
(),
*
pDev
.
get
()
);
Point
(
0
,
0
),
aExclude
.
GetSize
(),
*
pDev
.
get
()
);
}
}
};
};
...
...
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