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
d1d2a0bb
Kaydet (Commit)
d1d2a0bb
authored
May 24, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
IsInModalNonRefMode just forwards to IsInModalMode now
Change-Id: I940b70648ede6239930ba36e755994e7749b2d0b
üst
b8c3d5c4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
13 deletions
+3
-13
window.hxx
include/vcl/window.hxx
+0
-5
mouse.cxx
vcl/source/window/mouse.cxx
+1
-1
window.cxx
vcl/source/window/window.cxx
+0
-5
winproc.cxx
vcl/source/window/winproc.cxx
+2
-2
No files found.
include/vcl/window.hxx
Dosyayı görüntüle @
d1d2a0bb
...
...
@@ -993,11 +993,6 @@ public:
*/
bool
IsInModalMode
()
const
;
/**
* Necessary for calc ref input handling from modal dialogs
*/
bool
IsInModalNonRefMode
()
const
;
void
SetActivateMode
(
sal_uInt16
nMode
);
sal_uInt16
GetActivateMode
()
const
;
...
...
vcl/source/window/mouse.cxx
Dosyayı görüntüle @
d1d2a0bb
...
...
@@ -244,7 +244,7 @@ void Window::ImplGrabFocus( sal_uInt16 nFlags )
}
// If the Window is disabled, then we don't change the focus
if
(
!
IsEnabled
()
||
!
IsInputEnabled
()
||
IsInModal
NonRef
Mode
()
)
if
(
!
IsEnabled
()
||
!
IsInputEnabled
()
||
IsInModalMode
()
)
return
;
// we only need to set the focus if it is not already set
...
...
vcl/source/window/window.cxx
Dosyayı görüntüle @
d1d2a0bb
...
...
@@ -3621,11 +3621,6 @@ bool Window::IsInModalMode() const
return
(
mpWindowImpl
->
mpFrameWindow
->
mpWindowImpl
->
mpFrameData
->
mnModalMode
!=
0
);
}
bool
Window
::
IsInModalNonRefMode
()
const
{
return
IsInModalMode
();
}
void
Window
::
ImplIncModalCount
()
{
vcl
::
Window
*
pFrameWindow
=
mpWindowImpl
->
mpFrameWindow
;
...
...
vcl/source/window/winproc.cxx
Dosyayı görüntüle @
d1d2a0bb
...
...
@@ -171,7 +171,7 @@ static void ImplHandleMouseHelpRequest( vcl::Window* pChild, const Point& rMouse
nHelpMode
|=
HelpEventMode
::
BALLOON
;
if
(
bool
(
nHelpMode
)
)
{
if
(
pChild
->
IsInputEnabled
()
&&
!
pChild
->
IsInModal
NonRef
Mode
()
)
if
(
pChild
->
IsInputEnabled
()
&&
!
pChild
->
IsInModalMode
()
)
{
HelpEvent
aHelpEvent
(
rMousePos
,
nHelpMode
);
pSVData
->
maHelpData
.
mbRequestingHelp
=
true
;
...
...
@@ -377,7 +377,7 @@ bool ImplHandleMouseEvent( vcl::Window* pWindow, MouseNotifyEvent nSVEvent, bool
// no mouse messages to disabled windows
// #106845# if the window was disabed during capturing we have to pass the mouse events to release capturing
if
(
pSVData
->
maWinData
.
mpCaptureWin
.
get
()
!=
pChild
&&
(
!
pChild
->
IsEnabled
()
||
!
pChild
->
IsInputEnabled
()
||
pChild
->
IsInModal
NonRef
Mode
()
)
)
if
(
pSVData
->
maWinData
.
mpCaptureWin
.
get
()
!=
pChild
&&
(
!
pChild
->
IsEnabled
()
||
!
pChild
->
IsInputEnabled
()
||
pChild
->
IsInModalMode
()
)
)
{
ImplHandleMouseFloatMode
(
pChild
,
aMousePos
,
nCode
,
nSVEvent
,
bMouseLeave
);
if
(
nSVEvent
==
MouseNotifyEvent
::
MOUSEMOVE
)
...
...
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