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
c45dc832
Kaydet (Commit)
c45dc832
authored
Tem 30, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove PostScrollEvent and PostZoomEvent
not used anymore Change-Id: I9db73a1bfcdb6669310d606b101b1ffdbb2df07f
üst
3a704fc0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
85 deletions
+1
-85
svapp.hxx
include/vcl/svapp.hxx
+1
-25
svapp.cxx
vcl/source/app/svapp.cxx
+0
-60
No files found.
include/vcl/svapp.hxx
Dosyayı görüntüle @
c45dc832
...
...
@@ -834,36 +834,12 @@ public:
*/
static
ImplSVEvent
*
PostMouseEvent
(
sal_uLong
nEvent
,
vcl
::
Window
*
pWin
,
MouseEvent
*
pMouseEvent
);
#if !HAVE_FEATURE_DESKTOP
/** Send zoom event
Experimental work in progress. Available only for iOS and Android, and unclear whether actually
is needed now with tiled rendering.
@param nEvent Event ID for zoom event
@param pWin Pointer to window to which the event is sent
@param pZoomEvent Zoom event to send
*/
static
ImplSVEvent
*
PostZoomEvent
(
sal_uLong
nEvent
,
vcl
::
Window
*
pWin
,
ZoomEvent
*
pZoomEvent
);
/* Send scroll event
Experimental work in progress. Available only for iOS and Android, and unclear whether actually
is needed now with tiled rendering.
@param nEvent Event ID for scroll event
@param pWin Pointer to window to which the event is sent
@param pScrollEvent Scroll event to send
*/
static
ImplSVEvent
*
PostScrollEvent
(
sal_uLong
nEvent
,
vcl
::
Window
*
pWin
,
ScrollEvent
*
pScrollEvent
);
#endif
/** Remove mouse and keypress events from a window... any also zoom and scroll events
if the platform supports it.
@param pWin Window to remove events from
@see HandleKey, PostKeyEvent, PostMouseEvent
, PostZoomEvent, PostScrollEvent
@see HandleKey, PostKeyEvent, PostMouseEvent
*/
static
void
RemoveMouseAndKeyEvents
(
vcl
::
Window
*
pWin
);
...
...
vcl/source/app/svapp.cxx
Dosyayı görüntüle @
c45dc832
...
...
@@ -772,66 +772,6 @@ ImplSVEvent * Application::PostMouseEvent( sal_uLong nEvent, vcl::Window *pWin,
return
nEventId
;
}
#if !HAVE_FEATURE_DESKTOP
ImplSVEvent
*
Application
::
PostZoomEvent
(
sal_uLong
nEvent
,
vcl
::
Window
*
pWin
,
ZoomEvent
*
pZoomEvent
)
{
const
SolarMutexGuard
aGuard
;
ImplSVEvent
*
nEventId
=
0
;
if
(
pWin
&&
pZoomEvent
)
{
Point
aTransformedPos
(
pZoomEvent
->
GetCenter
()
);
aTransformedPos
.
X
()
+=
pWin
->
GetOutOffXPixel
();
aTransformedPos
.
Y
()
+=
pWin
->
GetOutOffYPixel
();
const
ZoomEvent
aTransformedEvent
(
aTransformedPos
,
pZoomEvent
->
GetScale
()
);
ImplPostEventData
*
pPostEventData
=
new
ImplPostEventData
(
nEvent
,
pWin
,
aTransformedEvent
);
nEventId
=
PostUserEvent
(
LINK
(
NULL
,
Application
,
PostEventHandler
),
pPostEventData
);
if
(
nEventId
)
{
pPostEventData
->
mnEventId
=
nEventId
;
aPostedEventList
.
push_back
(
ImplPostEventPair
(
pWin
,
pPostEventData
)
);
}
else
delete
pPostEventData
;
}
return
nEventId
;
}
ImplSVEvent
*
Application
::
PostScrollEvent
(
sal_uLong
nEvent
,
vcl
::
Window
*
pWin
,
ScrollEvent
*
pScrollEvent
)
{
const
SolarMutexGuard
aGuard
;
ImplSVEvent
*
nEventId
=
0
;
if
(
pWin
&&
pScrollEvent
)
{
ImplPostEventData
*
pPostEventData
=
new
ImplPostEventData
(
nEvent
,
pWin
,
*
pScrollEvent
);
nEventId
=
PostUserEvent
(
LINK
(
NULL
,
Application
,
PostEventHandler
),
pPostEventData
);
if
(
nEventId
)
{
pPostEventData
->
mnEventId
=
nEventId
;
aPostedEventList
.
push_back
(
ImplPostEventPair
(
pWin
,
pPostEventData
)
);
}
else
delete
pPostEventData
;
}
return
nEventId
;
}
#endif // !HAVE_FEATURE_DESKTOP
IMPL_STATIC_LINK
(
Application
,
PostEventHandler
,
void
*
,
pCallData
)
{
...
...
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