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
4d1cbb7e
Kaydet (Commit)
4d1cbb7e
authored
Ock 04, 2017
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
drop unused SplitWindow::ImplDrawButtonRect
Change-Id: I0ccb4adfec39f8717d5921e04809af65be066d0a
üst
8077cc31
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
67 deletions
+0
-67
splitwin.hxx
include/vcl/splitwin.hxx
+0
-1
splitwin.cxx
vcl/source/window/splitwin.cxx
+0
-66
No files found.
include/vcl/splitwin.hxx
Dosyayı görüntüle @
4d1cbb7e
...
@@ -92,7 +92,6 @@ private:
...
@@ -92,7 +92,6 @@ private:
SAL_DLLPRIVATE
void
ImplGetButtonRect
(
Rectangle
&
rRect
,
long
nEx
,
bool
bTest
)
const
;
SAL_DLLPRIVATE
void
ImplGetButtonRect
(
Rectangle
&
rRect
,
long
nEx
,
bool
bTest
)
const
;
SAL_DLLPRIVATE
void
ImplGetFadeInRect
(
Rectangle
&
rRect
,
bool
bTest
=
false
)
const
;
SAL_DLLPRIVATE
void
ImplGetFadeInRect
(
Rectangle
&
rRect
,
bool
bTest
=
false
)
const
;
SAL_DLLPRIVATE
void
ImplGetFadeOutRect
(
Rectangle
&
rRect
,
bool
bTest
=
false
)
const
;
SAL_DLLPRIVATE
void
ImplGetFadeOutRect
(
Rectangle
&
rRect
,
bool
bTest
=
false
)
const
;
SAL_DLLPRIVATE
void
ImplDrawButtonRect
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
,
long
nSize
);
SAL_DLLPRIVATE
void
ImplDrawFadeIn
(
vcl
::
RenderContext
&
rRenderContext
);
SAL_DLLPRIVATE
void
ImplDrawFadeIn
(
vcl
::
RenderContext
&
rRenderContext
);
SAL_DLLPRIVATE
void
ImplDrawFadeOut
(
vcl
::
RenderContext
&
rRenderContext
);
SAL_DLLPRIVATE
void
ImplDrawFadeOut
(
vcl
::
RenderContext
&
rRenderContext
);
SAL_DLLPRIVATE
void
ImplNewAlign
();
SAL_DLLPRIVATE
void
ImplNewAlign
();
...
...
vcl/source/window/splitwin.cxx
Dosyayı görüntüle @
4d1cbb7e
...
@@ -1704,72 +1704,6 @@ void SplitWindow::ImplGetFadeOutRect( Rectangle& rRect, bool ) const
...
@@ -1704,72 +1704,6 @@ void SplitWindow::ImplGetFadeOutRect( Rectangle& rRect, bool ) const
rRect
=
aRect
;
rRect
=
aRect
;
}
}
void
SplitWindow
::
ImplDrawButtonRect
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
,
long
nSize
)
{
const
StyleSettings
&
rStyleSettings
=
rRenderContext
.
GetSettings
().
GetStyleSettings
();
if
(
mbHorz
)
{
long
nLeft
=
rRect
.
Left
();
long
nRight
=
rRect
.
Right
();
long
nCenter
=
rRect
.
Center
().
Y
();
long
nEx1
=
nLeft
+
((
rRect
.
GetWidth
()
-
nSize
)
/
2
)
-
2
;
long
nEx2
=
nEx1
+
nSize
+
3
;
rRenderContext
.
SetLineColor
(
rStyleSettings
.
GetLightColor
()
);
rRenderContext
.
DrawLine
(
Point
(
rRect
.
Left
(),
rRect
.
Top
()
),
Point
(
rRect
.
Left
(),
rRect
.
Bottom
()
)
);
rRenderContext
.
DrawLine
(
Point
(
rRect
.
Left
(),
rRect
.
Top
()
),
Point
(
rRect
.
Right
(),
rRect
.
Top
()
)
);
rRenderContext
.
SetLineColor
(
rStyleSettings
.
GetShadowColor
()
);
rRenderContext
.
DrawLine
(
Point
(
rRect
.
Right
(),
rRect
.
Top
()
),
Point
(
rRect
.
Right
(),
rRect
.
Bottom
()
)
);
rRenderContext
.
DrawLine
(
Point
(
rRect
.
Left
(),
rRect
.
Bottom
()
),
Point
(
rRect
.
Right
(),
rRect
.
Bottom
()
)
);
long
i
=
nLeft
+
2
;
while
(
i
<
nRight
-
3
)
{
if
(
(
i
<
nEx1
)
||
(
i
>
nEx2
)
)
{
rRenderContext
.
DrawPixel
(
Point
(
i
,
nCenter
-
2
),
rStyleSettings
.
GetLightColor
()
);
rRenderContext
.
DrawPixel
(
Point
(
i
+
1
,
nCenter
-
2
+
1
),
rStyleSettings
.
GetShadowColor
()
);
}
i
++
;
if
(
(
i
<
nEx1
)
||
((
i
>
nEx2
)
&&
(
i
<
nRight
-
3
))
)
{
rRenderContext
.
DrawPixel
(
Point
(
i
,
nCenter
+
2
),
rStyleSettings
.
GetLightColor
()
);
rRenderContext
.
DrawPixel
(
Point
(
i
+
1
,
nCenter
+
2
+
1
),
rStyleSettings
.
GetShadowColor
()
);
}
i
+=
2
;
}
}
else
{
long
nTop
=
rRect
.
Top
();
long
nBottom
=
rRect
.
Bottom
();
long
nCenter
=
rRect
.
Center
().
X
();
long
nEx1
=
nTop
+
((
rRect
.
GetHeight
()
-
nSize
)
/
2
)
-
2
;
long
nEx2
=
nEx1
+
nSize
+
3
;
rRenderContext
.
SetLineColor
(
rStyleSettings
.
GetLightColor
()
);
rRenderContext
.
DrawLine
(
Point
(
rRect
.
Left
(),
rRect
.
Top
()
),
Point
(
rRect
.
Right
(),
rRect
.
Top
()
)
);
rRenderContext
.
DrawLine
(
Point
(
rRect
.
Left
(),
rRect
.
Top
()
),
Point
(
rRect
.
Left
(),
rRect
.
Bottom
()
)
);
rRenderContext
.
SetLineColor
(
rStyleSettings
.
GetShadowColor
()
);
rRenderContext
.
DrawLine
(
Point
(
rRect
.
Right
(),
rRect
.
Top
()
),
Point
(
rRect
.
Right
(),
rRect
.
Bottom
()
)
);
rRenderContext
.
DrawLine
(
Point
(
rRect
.
Left
(),
rRect
.
Bottom
()
),
Point
(
rRect
.
Right
(),
rRect
.
Bottom
()
)
);
long
i
=
nTop
+
2
;
while
(
i
<
nBottom
-
3
)
{
if
(
(
i
<
nEx1
)
||
(
i
>
nEx2
)
)
{
rRenderContext
.
DrawPixel
(
Point
(
nCenter
-
2
,
i
),
rStyleSettings
.
GetLightColor
()
);
rRenderContext
.
DrawPixel
(
Point
(
nCenter
-
2
+
1
,
i
+
1
),
rStyleSettings
.
GetShadowColor
()
);
}
i
++
;
if
(
(
i
<
nEx1
)
||
((
i
>
nEx2
)
&&
(
i
<
nBottom
-
3
))
)
{
rRenderContext
.
DrawPixel
(
Point
(
nCenter
+
2
,
i
),
rStyleSettings
.
GetLightColor
()
);
rRenderContext
.
DrawPixel
(
Point
(
nCenter
+
2
+
1
,
i
+
1
),
rStyleSettings
.
GetShadowColor
()
);
}
i
+=
2
;
}
}
}
void
SplitWindow
::
ImplDrawGrip
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
,
bool
bHorizontal
,
bool
bLeft
)
void
SplitWindow
::
ImplDrawGrip
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
rRect
,
bool
bHorizontal
,
bool
bLeft
)
{
{
const
StyleSettings
&
rStyleSettings
=
rRenderContext
.
GetSettings
().
GetStyleSettings
();
const
StyleSettings
&
rStyleSettings
=
rRenderContext
.
GetSettings
().
GetStyleSettings
();
...
...
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