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
02482eef
Kaydet (Commit)
02482eef
authored
May 28, 2015
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix drawing treelistbox with redefined background in dbaccess
Change-Id: Ia55797e3e42309f9d37d5335088f7657d99954de
üst
ee25bc3c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
5 deletions
+13
-5
AppDetailView.cxx
dbaccess/source/ui/app/AppDetailView.cxx
+5
-1
treelistbox.cxx
svtools/source/contnr/treelistbox.cxx
+8
-4
No files found.
dbaccess/source/ui/app/AppDetailView.cxx
Dosyayı görüntüle @
02482eef
...
@@ -87,6 +87,8 @@ OCreationList::OCreationList( OTasksWindow& _rParent )
...
@@ -87,6 +87,8 @@ OCreationList::OCreationList( OTasksWindow& _rParent )
void
OCreationList
::
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
_rRect
)
void
OCreationList
::
Paint
(
vcl
::
RenderContext
&
rRenderContext
,
const
Rectangle
&
_rRect
)
{
{
SetBackground
();
if
(
m_pMouseDownEntry
)
if
(
m_pMouseDownEntry
)
m_aOriginalFont
=
rRenderContext
.
GetFont
();
m_aOriginalFont
=
rRenderContext
.
GetFont
();
...
@@ -119,11 +121,13 @@ void OCreationList::PreparePaint(vcl::RenderContext& rRenderContext, SvTreeListE
...
@@ -119,11 +121,13 @@ void OCreationList::PreparePaint(vcl::RenderContext& rRenderContext, SvTreeListE
// and temporary set a transparent background, for all the other
// and temporary set a transparent background, for all the other
// paint operations the SvTreeListBox is going to do
// paint operations the SvTreeListBox is going to do
aEntryBackground
=
Wallpaper
(
Color
(
COL_TRANSPARENT
));
aEntryBackground
=
Wallpaper
();
_pEntry
->
SetBackColor
(
Color
(
COL_TRANSPARENT
));
}
}
}
}
rRenderContext
.
SetBackground
(
aEntryBackground
);
rRenderContext
.
SetBackground
(
aEntryBackground
);
_pEntry
->
SetBackColor
(
aEntryBackground
.
GetColor
());
}
}
void
OCreationList
::
SelectSearchEntry
(
const
void
*
_pEntry
)
void
OCreationList
::
SelectSearchEntry
(
const
void
*
_pEntry
)
...
...
svtools/source/contnr/treelistbox.cxx
Dosyayı görüntüle @
02482eef
...
@@ -3043,10 +3043,14 @@ long SvTreeListBox::PaintEntry1(SvTreeListEntry* pEntry, long nLine, vcl::Render
...
@@ -3043,10 +3043,14 @@ long SvTreeListBox::PaintEntry1(SvTreeListEntry* pEntry, long nLine, vcl::Render
// realize tab listboxes with lines.
// realize tab listboxes with lines.
if
(
!
(
nCurTab
==
0
&&
(
nTreeFlags
&
SvTreeFlags
::
USESEL
)
&&
nFirstSelTab
))
if
(
!
(
nCurTab
==
0
&&
(
nTreeFlags
&
SvTreeFlags
::
USESEL
)
&&
nFirstSelTab
))
{
{
rRenderContext
.
SetFillColor
(
aWallpaper
.
GetColor
());
Color
aBackgroundColor
=
aWallpaper
.
GetColor
();
// this case may occur for smaller horizontal resizes
if
(
aBackgroundColor
!=
Color
(
COL_TRANSPARENT
))
if
(
aRect
.
Left
()
<
aRect
.
Right
())
{
rRenderContext
.
DrawRect
(
aRect
);
rRenderContext
.
SetFillColor
(
aBackgroundColor
);
// this case may occur for smaller horizontal resizes
if
(
aRect
.
Left
()
<
aRect
.
Right
())
rRenderContext
.
DrawRect
(
aRect
);
}
}
}
// draw item
// draw item
// center vertically
// center vertically
...
...
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