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
6fa87f3f
Kaydet (Commit)
6fa87f3f
authored
May 18, 2015
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use RenderTools variant of DrawSelectionBackground
Change-Id: Ia7a0f0a4d62e478876743c019865e7878bcbf596
üst
e27ee95c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
headbar.cxx
svtools/source/control/headbar.cxx
+3
-3
dockmgr.cxx
vcl/source/window/dockmgr.cxx
+1
-1
splitwin.cxx
vcl/source/window/splitwin.cxx
+1
-1
toolbox.cxx
vcl/source/window/toolbox.cxx
+1
-1
No files found.
svtools/source/control/headbar.cxx
Dosyayı görüntüle @
6fa87f3f
...
...
@@ -312,7 +312,7 @@ void HeaderBar::ImplDrawItem(vcl::RenderContext& rRenderContext, sal_uInt16 nPos
if
(
rRenderContext
.
IsNativeControlSupported
(
CTRL_WINDOW_BACKGROUND
,
PART_ENTIRE_CONTROL
))
{
aCtrlRegion
=
aRect
;
aCtrlRegion
=
aRect
;
rRenderContext
.
DrawNativeControl
(
CTRL_WINDOW_BACKGROUND
,
PART_ENTIRE_CONTROL
,
aCtrlRegion
,
nState
,
aControlValue
,
OUString
());
...
...
@@ -358,9 +358,9 @@ void HeaderBar::ImplDrawItem(vcl::RenderContext& rRenderContext, sal_uInt16 nPos
// draw ButtonStyle
// avoid 3D borders
if
(
bHigh
)
DrawSelectionBackground
(
aRect
,
1
,
true
,
false
,
false
,
&
aSelectionTextColor
);
vcl
::
RenderTools
::
DrawSelectionBackground
(
rRenderContext
,
*
this
,
aRect
,
1
,
true
,
false
,
false
,
&
aSelectionTextColor
);
else
if
(
!
mbButtonStyle
||
(
nBits
&
HeaderBarItemBits
::
FLAT
))
DrawSelectionBackground
(
aRect
,
0
,
true
,
false
,
false
,
&
aSelectionTextColor
);
vcl
::
RenderTools
::
DrawSelectionBackground
(
rRenderContext
,
*
this
,
aRect
,
0
,
true
,
false
,
false
,
&
aSelectionTextColor
);
}
// do not draw if there is no space
...
...
vcl/source/window/dockmgr.cxx
Dosyayı görüntüle @
6fa87f3f
...
...
@@ -639,7 +639,7 @@ void ImplPopupFloatWin::DrawGrip(vcl::RenderContext& rRenderContext)
if
(
mbHighlight
)
{
rRenderContext
.
Erase
(
aRect
);
DrawSelectionBackground
(
aRect
,
2
,
false
,
true
,
false
);
vcl
::
RenderTools
::
DrawSelectionBackground
(
rRenderContext
,
*
this
,
aRect
,
2
,
false
,
true
,
false
);
}
else
{
...
...
vcl/source/window/splitwin.cxx
Dosyayı görüntüle @
6fa87f3f
...
...
@@ -1914,7 +1914,7 @@ void SplitWindow::ImplDrawGrip(vcl::RenderContext& rRenderContext, const Rectang
if
(
rRect
.
IsInside
(
GetPointerPosPixel
()))
{
rRenderContext
.
DrawWallpaper
(
rRect
,
Wallpaper
(
Color
(
COL_WHITE
)));
DrawSelectionBackground
(
rRect
,
2
,
false
,
false
,
false
);
vcl
::
RenderTools
::
DrawSelectionBackground
(
rRenderContext
,
*
this
,
rRect
,
2
,
false
,
false
,
false
);
}
if
(
bHorz
)
...
...
vcl/source/window/toolbox.cxx
Dosyayı görüntüle @
6fa87f3f
...
...
@@ -2975,7 +2975,7 @@ void ToolBox::ImplDrawButton(vcl::RenderContext& rRenderContext, const Rectangle
}
if
(
!
bNativeOk
)
DrawSelectionBackground
(
rRect
,
bIsWindow
?
3
:
highlight
,
bChecked
,
true
,
bIsWindow
,
2
,
NULL
,
NULL
);
vcl
::
RenderTools
::
DrawSelectionBackground
(
rRenderContext
,
*
this
,
rRect
,
bIsWindow
?
3
:
highlight
,
bChecked
,
true
,
bIsWindow
,
NULL
,
2
,
NULL
);
}
void
ToolBox
::
ImplDrawItem
(
vcl
::
RenderContext
&
rRenderContext
,
sal_uInt16
nPos
,
sal_uInt16
nHighlight
,
bool
bPaint
,
bool
bLayout
)
...
...
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