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
dc91ebed
Kaydet (Commit)
dc91ebed
authored
May 26, 2014
tarafından
Markus Mohrhard
Kaydeden (comit)
Markus Mohrhard
May 26, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
react only to left mouse click
Change-Id: Ia4c2c52b8803cd36d7ed32be559ba446589377e7
üst
8097fff2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
4 deletions
+7
-4
GL3DBarChart.cxx
chart2/source/view/charttypes/GL3DBarChart.cxx
+4
-1
GL3DBarChart.hxx
chart2/source/view/inc/GL3DBarChart.hxx
+1
-1
openglwin.hxx
include/vcl/openglwin.hxx
+1
-1
openglwin.cxx
vcl/source/window/openglwin.cxx
+1
-1
No files found.
chart2/source/view/charttypes/GL3DBarChart.cxx
Dosyayı görüntüle @
dc91ebed
...
...
@@ -306,11 +306,14 @@ public:
}
void
GL3DBarChart
::
clickedAt
(
const
Point
&
/*rPos*/
)
void
GL3DBarChart
::
clickedAt
(
const
Point
&
/*rPos*/
,
sal_uInt16
nButtons
)
{
if
(
mbBlockUserInput
)
return
;
if
(
nButtons
!=
MOUSE_LEFT
)
return
;
mbBlockUserInput
=
true
;
sal_uInt32
nId
=
5
;
/*
...
...
chart2/source/view/inc/GL3DBarChart.hxx
Dosyayı görüntüle @
dc91ebed
...
...
@@ -50,7 +50,7 @@ public:
virtual
void
update
()
SAL_OVERRIDE
;
virtual
void
clickedAt
(
const
Point
&
rPos
)
SAL_OVERRIDE
;
virtual
void
clickedAt
(
const
Point
&
rPos
,
sal_uInt16
nButtons
)
SAL_OVERRIDE
;
virtual
void
mouseDragMove
(
const
Point
&
rStartPos
,
const
Point
&
rEndPos
,
sal_uInt16
nButtons
)
SAL_OVERRIDE
;
virtual
void
scroll
(
long
nDelta
)
SAL_OVERRIDE
;
virtual
void
contextDestroyed
()
SAL_OVERRIDE
;
...
...
include/vcl/openglwin.hxx
Dosyayı görüntüle @
dc91ebed
...
...
@@ -24,7 +24,7 @@ class VCLOPENGL_DLLPUBLIC IRenderer
public
:
virtual
~
IRenderer
()
{}
virtual
void
update
()
=
0
;
virtual
void
clickedAt
(
const
Point
&
rPos
)
=
0
;
virtual
void
clickedAt
(
const
Point
&
rPos
,
sal_uInt16
nButtons
)
=
0
;
virtual
void
mouseDragMove
(
const
Point
&
rPosBegin
,
const
Point
&
rPosEnd
,
sal_uInt16
nButtons
)
=
0
;
virtual
void
scroll
(
long
nDelta
)
=
0
;
...
...
vcl/source/window/openglwin.cxx
Dosyayı görüntüle @
dc91ebed
...
...
@@ -68,7 +68,7 @@ void OpenGLWindow::MouseButtonUp( const MouseEvent& rMEvt )
Color
aColor
=
GetPixel
(
aPoint
);
SAL_WARN
(
"vcl.opengl"
,
aColor
.
GetColor
());
if
(
mpRenderer
)
mpRenderer
->
clickedAt
(
aPoint
);
mpRenderer
->
clickedAt
(
aPoint
,
rMEvt
.
GetButtons
()
);
}
else
{
...
...
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