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
03621417
Kaydet (Commit)
03621417
authored
Mar 28, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up C-style casts from pointers to void
Change-Id: I61b960eecaeadaf12121596e181604318f951094
üst
9e13404a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
oglwindow.cxx
avmedia/source/opengl/oglwindow.cxx
+5
-5
No files found.
avmedia/source/opengl/oglwindow.cxx
Dosyayı görüntüle @
03621417
...
...
@@ -205,7 +205,7 @@ IMPL_LINK(OGLWindow, FocusGrabber, VclWindowEvent*, pEvent)
{
if
(
pEvent
->
GetId
()
==
VCLEVENT_WINDOW_MOUSEMOVE
)
{
MouseEvent
*
pMouseEvt
=
(
MouseEvent
*
)
pEvent
->
GetData
(
);
MouseEvent
*
pMouseEvt
=
static_cast
<
MouseEvent
*>
(
pEvent
->
GetData
()
);
if
(
pMouseEvt
)
{
const
Point
&
rMousePos
=
pMouseEvt
->
GetPosPixel
();
...
...
@@ -233,7 +233,7 @@ IMPL_LINK(OGLWindow, CameraHandler, VclWindowEvent*, pEvent)
{
if
(
pEvent
->
GetId
()
==
VCLEVENT_WINDOW_KEYINPUT
)
{
KeyEvent
*
pKeyEvt
=
(
KeyEvent
*
)
pEvent
->
GetData
(
);
KeyEvent
*
pKeyEvt
=
static_cast
<
KeyEvent
*>
(
pEvent
->
GetData
()
);
if
(
pKeyEvt
)
{
const
sal_uInt16
nCode
=
pKeyEvt
->
GetKeyCode
().
GetCode
();
...
...
@@ -338,7 +338,7 @@ IMPL_LINK(OGLWindow, CameraHandler, VclWindowEvent*, pEvent)
}
else
if
(
pEvent
->
GetId
()
==
VCLEVENT_WINDOW_MOUSEBUTTONDOWN
)
{
MouseEvent
*
pMouseEvt
=
(
MouseEvent
*
)
pEvent
->
GetData
(
);
MouseEvent
*
pMouseEvt
=
static_cast
<
MouseEvent
*>
(
pEvent
->
GetData
()
);
if
(
pMouseEvt
&&
pMouseEvt
->
IsLeft
()
&&
pMouseEvt
->
GetClicks
()
==
1
)
{
m_aLastMousePos
=
pMouseEvt
->
GetPosPixel
();
...
...
@@ -350,7 +350,7 @@ IMPL_LINK(OGLWindow, CameraHandler, VclWindowEvent*, pEvent)
{
m_rEventHandler
.
GrabFocus
();
}
MouseEvent
*
pMouseEvt
=
(
MouseEvent
*
)
pEvent
->
GetData
(
);
MouseEvent
*
pMouseEvt
=
static_cast
<
MouseEvent
*>
(
pEvent
->
GetData
()
);
if
(
pMouseEvt
&&
pMouseEvt
->
IsLeft
()
&&
m_aLastMousePos
!=
Point
(
0
,
0
))
{
const
Point
&
aCurPos
=
pMouseEvt
->
GetPosPixel
();
...
...
@@ -380,7 +380,7 @@ IMPL_LINK(OGLWindow, CameraHandler, VclWindowEvent*, pEvent)
}
else
if
(
pEvent
->
GetId
()
==
VCLEVENT_WINDOW_MOUSEBUTTONUP
)
{
MouseEvent
*
pMouseEvt
=
(
MouseEvent
*
)
pEvent
->
GetData
(
);
MouseEvent
*
pMouseEvt
=
static_cast
<
MouseEvent
*>
(
pEvent
->
GetData
()
);
if
(
pMouseEvt
&&
pMouseEvt
->
IsLeft
()
&&
pMouseEvt
->
GetClicks
()
==
1
)
{
m_aLastMousePos
=
Point
(
0
,
0
);
...
...
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