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
b7b0035c
Kaydet (Commit)
b7b0035c
authored
May 13, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:staticmethods
Change-Id: Ia16605c8227573948e2ac750414e9dff3efc2f81
üst
7c9d6c6e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
11 deletions
+12
-11
swframeexample.hxx
include/svx/swframeexample.hxx
+0
-1
swframeexample.cxx
svx/source/dialog/swframeexample.cxx
+12
-10
No files found.
include/svx/swframeexample.hxx
Dosyayı görüntüle @
b7b0035c
...
...
@@ -66,7 +66,6 @@ class SVX_DLLPUBLIC SvxSwFrameExample : public vcl::Window
void
CalcBoundRect_Impl
(
Rectangle
&
rRect
);
Rectangle
DrawInnerFrame_Impl
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
,
const
Color
&
rFillColor
,
const
Color
&
rBorderColor
);
void
DrawRect_Impl
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
,
const
Color
&
rFillColor
,
const
Color
&
rLineColor
);
virtual
void
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
)
SAL_OVERRIDE
;
virtual
Size
GetOptimalSize
()
const
SAL_OVERRIDE
;
protected
:
...
...
svx/source/dialog/swframeexample.cxx
Dosyayı görüntüle @
b7b0035c
...
...
@@ -35,6 +35,18 @@ using namespace ::com::sun::star::text;
#define FLYINFLY_BORDER 3
#define DEMOTEXT "Ij"
namespace
{
void
DrawRect_Impl
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
,
const
Color
&
rFillColor
,
const
Color
&
rLineColor
)
{
rRenderContext
.
SetFillColor
(
rFillColor
);
rRenderContext
.
SetLineColor
(
rLineColor
);
rRenderContext
.
DrawRect
(
rRect
);
}
}
SvxSwFrameExample
::
SvxSwFrameExample
(
vcl
::
Window
*
pParent
,
WinBits
nStyle
)
:
Window
(
pParent
,
nStyle
),
...
...
@@ -705,14 +717,4 @@ void SvxSwFrameExample::SetRelPos(const Point& rP)
aRelPos
.
Y
()
=
-
5
;
}
void
SvxSwFrameExample
::
DrawRect_Impl
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
,
const
Color
&
rFillColor
,
const
Color
&
rLineColor
)
{
rRenderContext
.
SetFillColor
(
rFillColor
);
rRenderContext
.
SetLineColor
(
rLineColor
);
rRenderContext
.
DrawRect
(
rRect
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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