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
d7bdf8cd
Kaydet (Commit)
d7bdf8cd
authored
Ock 29, 2008
tarafından
Vladimir Glazounov
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS dba24e_SRC680 (1.54.14); FILE MERGED
2007/12/03 10:16:10 fs 1.54.14.1: #i84188#
üst
5bb91807
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
svtreebx.cxx
svtools/source/contnr/svtreebx.cxx
+11
-3
No files found.
svtools/source/contnr/svtreebx.cxx
Dosyayı görüntüle @
d7bdf8cd
...
@@ -4,9 +4,9 @@
...
@@ -4,9 +4,9 @@
*
*
* $RCSfile: svtreebx.cxx,v $
* $RCSfile: svtreebx.cxx,v $
*
*
* $Revision: 1.5
4
$
* $Revision: 1.5
5
$
*
*
* last change: $Author:
ihi $ $Date: 2007-11-26 16:52:58
$
* last change: $Author:
vg $ $Date: 2008-01-29 08:39:55
$
*
*
* The Contents of this file are made available subject to
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
* the terms of GNU Lesser General Public License Version 2.1.
...
@@ -1595,6 +1595,7 @@ long SvTreeListBox::PaintEntry1(SvLBoxEntry* pEntry,long nLine,USHORT nTabFlags,
...
@@ -1595,6 +1595,7 @@ long SvTreeListBox::PaintEntry1(SvLBoxEntry* pEntry,long nLine,USHORT nTabFlags,
long
nMaxRight
=
nWidth
+
aEntryPos
.
X
()
-
1
;
long
nMaxRight
=
nWidth
+
aEntryPos
.
X
()
-
1
;
Color
aBackupTextColor
(
GetTextColor
()
);
Color
aBackupTextColor
(
GetTextColor
()
);
Font
aBackupFont
(
GetFont
()
);
Color
aBackupColor
=
GetFillColor
();
Color
aBackupColor
=
GetFillColor
();
bool
bCurFontIsSel
=
false
;
bool
bCurFontIsSel
=
false
;
...
@@ -1605,7 +1606,9 @@ long SvTreeListBox::PaintEntry1(SvLBoxEntry* pEntry,long nLine,USHORT nTabFlags,
...
@@ -1605,7 +1606,9 @@ long SvTreeListBox::PaintEntry1(SvLBoxEntry* pEntry,long nLine,USHORT nTabFlags,
BOOL
bHideSelection
=
((
nWindowStyle
&
WB_HIDESELECTION
)
&&
!
HasFocus
())
!=
0
;
BOOL
bHideSelection
=
((
nWindowStyle
&
WB_HIDESELECTION
)
&&
!
HasFocus
())
!=
0
;
const
StyleSettings
&
rSettings
=
GetSettings
().
GetStyleSettings
();
const
StyleSettings
&
rSettings
=
GetSettings
().
GetStyleSettings
();
Color
aHighlightTextColor
(
rSettings
.
GetHighlightTextColor
()
);
Font
aHighlightFont
(
GetFont
()
);
const
Color
aHighlightTextColor
(
rSettings
.
GetHighlightTextColor
()
);
aHighlightFont
.
SetColor
(
aHighlightTextColor
);
Size
aRectSize
(
0
,
nTempEntryHeight
);
Size
aRectSize
(
0
,
nTempEntryHeight
);
...
@@ -1681,6 +1684,7 @@ long SvTreeListBox::PaintEntry1(SvLBoxEntry* pEntry,long nLine,USHORT nTabFlags,
...
@@ -1681,6 +1684,7 @@ long SvTreeListBox::PaintEntry1(SvLBoxEntry* pEntry,long nLine,USHORT nTabFlags,
if
(
!
bCurFontIsSel
)
if
(
!
bCurFontIsSel
)
{
{
SetTextColor
(
aHighlightTextColor
);
SetTextColor
(
aHighlightTextColor
);
SetFont
(
aHighlightFont
);
bCurFontIsSel
=
true
;
bCurFontIsSel
=
true
;
}
}
}
}
...
@@ -1694,6 +1698,7 @@ long SvTreeListBox::PaintEntry1(SvLBoxEntry* pEntry,long nLine,USHORT nTabFlags,
...
@@ -1694,6 +1698,7 @@ long SvTreeListBox::PaintEntry1(SvLBoxEntry* pEntry,long nLine,USHORT nTabFlags,
{
{
bCurFontIsSel
=
false
;
bCurFontIsSel
=
false
;
SetTextColor
(
aBackupTextColor
);
SetTextColor
(
aBackupTextColor
);
SetFont
(
aBackupFont
);
}
}
}
}
...
@@ -1772,7 +1777,10 @@ long SvTreeListBox::PaintEntry1(SvLBoxEntry* pEntry,long nLine,USHORT nTabFlags,
...
@@ -1772,7 +1777,10 @@ long SvTreeListBox::PaintEntry1(SvLBoxEntry* pEntry,long nLine,USHORT nTabFlags,
}
}
if
(
bCurFontIsSel
)
if
(
bCurFontIsSel
)
{
SetTextColor
(
aBackupTextColor
);
SetTextColor
(
aBackupTextColor
);
SetFont
(
aBackupFont
);
}
USHORT
nFirstDynTabPos
;
USHORT
nFirstDynTabPos
;
SvLBoxTab
*
pFirstDynamicTab
=
GetFirstDynamicTab
(
nFirstDynTabPos
);
SvLBoxTab
*
pFirstDynamicTab
=
GetFirstDynamicTab
(
nFirstDynTabPos
);
...
...
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