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
174faa08
Kaydet (Commit)
174faa08
authored
Mar 26, 2002
tarafından
Stephan Schäfer
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#96971# skip static controls with cursor
üst
64dd421d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
toolbox.cxx
vcl/source/window/toolbox.cxx
+15
-7
No files found.
vcl/source/window/toolbox.cxx
Dosyayı görüntüle @
174faa08
...
...
@@ -2,9 +2,9 @@
*
* $RCSfile: toolbox.cxx,v $
*
* $Revision: 1.2
5
$
* $Revision: 1.2
6
$
*
* last change: $Author: ssa $ $Date: 2002-03-2
5 11:09:34
$
* last change: $Author: ssa $ $Date: 2002-03-2
6 15:08:57
$
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
...
...
@@ -4816,6 +4816,14 @@ void ToolBox::KeyInput( const KeyEvent& rKEvt )
// -----------------------------------------------------------------------
static
bool
ImplIsFixedControl
(
ImplToolItem
*
pItem
)
{
return
(
pItem
->
mpWindow
&&
(
pItem
->
mpWindow
->
GetType
()
==
WINDOW_FIXEDTEXT
||
pItem
->
mpWindow
->
GetType
()
==
WINDOW_FIXEDLINE
||
pItem
->
mpWindow
->
GetType
()
==
WINDOW_GROUPBOX
)
);
}
// returns the current toolbox line of the item
USHORT
ToolBox
::
ImplGetItemLine
(
ImplToolItem
*
pCurrentItem
)
{
...
...
@@ -4849,7 +4857,7 @@ ImplToolItem* ToolBox::ImplGetFirstValidItem( USHORT nLine )
{
// find first useful item
while
(
pItem
&&
((
pItem
->
meType
!=
TOOLBOXITEM_BUTTON
)
||
!
pItem
->
mbEnabled
||
!
pItem
->
mbVisible
)
)
!
pItem
->
mbEnabled
||
!
pItem
->
mbVisible
||
ImplIsFixedControl
(
pItem
)
)
)
{
pItem
=
mpItemList
->
Next
();
if
(
!
pItem
||
pItem
->
mbBreak
)
...
...
@@ -4881,7 +4889,7 @@ ImplToolItem* ToolBox::ImplGetLastValidItem( USHORT nLine )
{
// find last useful item
while
(
pItem
&&
((
pItem
->
meType
==
TOOLBOXITEM_BUTTON
)
&&
pItem
->
mbEnabled
&&
pItem
->
mbVisible
)
)
pItem
->
mbEnabled
&&
pItem
->
mbVisible
&&
!
ImplIsFixedControl
(
pItem
)
)
)
{
pFound
=
pItem
;
pItem
=
mpItemList
->
Next
();
...
...
@@ -4979,7 +4987,7 @@ BOOL ToolBox::ImplChangeHighlightUpDn( BOOL bUp, BOOL bNoCycle )
while
(
pItem
)
{
if
(
(
pItem
->
meType
==
TOOLBOXITEM_BUTTON
)
&&
pItem
->
mbEnabled
&&
pItem
->
mbVisible
)
pItem
->
mbEnabled
&&
pItem
->
mbVisible
&&
!
ImplIsFixedControl
(
pItem
)
)
break
;
else
pItem
=
mpItemList
->
Next
();
...
...
@@ -4995,7 +5003,7 @@ BOOL ToolBox::ImplChangeHighlightUpDn( BOOL bUp, BOOL bNoCycle )
while
(
pItem
)
{
if
(
(
pItem
->
meType
==
TOOLBOXITEM_BUTTON
)
&&
pItem
->
mbEnabled
&&
pItem
->
mbVisible
)
pItem
->
mbEnabled
&&
pItem
->
mbVisible
&&
!
ImplIsFixedControl
(
pItem
)
)
break
;
else
pItem
=
mpItemList
->
Prev
();
...
...
@@ -5035,7 +5043,7 @@ BOOL ToolBox::ImplChangeHighlightUpDn( BOOL bUp, BOOL bNoCycle )
pItem
=
mpItemList
->
GetObject
(
pos
);
if
(
(
pItem
->
meType
==
TOOLBOXITEM_BUTTON
)
&&
pItem
->
mbEnabled
&&
pItem
->
mbVisible
)
pItem
->
mbEnabled
&&
pItem
->
mbVisible
&&
!
ImplIsFixedControl
(
pItem
)
)
break
;
}
while
(
++
i
<
nCount
);
...
...
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