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
194c6709
Kaydet (Commit)
194c6709
authored
May 28, 2014
tarafından
Markus Mohrhard
Kaydeden (comit)
Markus Mohrhard
May 28, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
try to fix mouse interaction on windows
Change-Id: I8662b0c20dc719401eec3e3d2d852bb3e139a641
üst
4e3e1420
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
openglwin.hxx
include/vcl/openglwin.hxx
+1
-1
openglwin.cxx
vcl/source/window/openglwin.cxx
+8
-4
No files found.
include/vcl/openglwin.hxx
Dosyayı görüntüle @
194c6709
...
...
@@ -32,7 +32,7 @@ public:
};
// pImpl Pattern to avoid linking against OpenGL libs when using the class without the context
class
VCLOPENGL_DLLPUBLIC
OpenGLWindow
:
public
SystemChild
Window
class
VCLOPENGL_DLLPUBLIC
OpenGLWindow
:
public
Window
{
public
:
OpenGLWindow
(
Window
*
pParent
);
...
...
vcl/source/window/openglwin.cxx
Dosyayı görüntüle @
194c6709
...
...
@@ -14,16 +14,19 @@
class
OpenGLWindowImpl
{
public
:
OpenGLWindowImpl
(
SystemChild
Window
*
pWindow
);
OpenGLWindowImpl
(
Window
*
pWindow
);
OpenGLContext
*
getContext
();
private
:
OpenGLContext
maContext
;
boost
::
scoped_ptr
<
SystemChildWindow
>
mpChildWindow
;
};
OpenGLWindowImpl
::
OpenGLWindowImpl
(
SystemChildWindow
*
pWindow
)
OpenGLWindowImpl
::
OpenGLWindowImpl
(
Window
*
pWindow
)
:
mpChildWindow
(
new
SystemChildWindow
(
pWindow
))
{
maContext
.
init
(
pWindow
);
maContext
.
init
(
mpChildWindow
.
get
()
);
pWindow
->
SetMouseTransparent
(
false
);
maContext
.
show
();
}
OpenGLContext
*
OpenGLWindowImpl
::
getContext
()
...
...
@@ -32,7 +35,7 @@ OpenGLContext* OpenGLWindowImpl::getContext()
}
OpenGLWindow
::
OpenGLWindow
(
Window
*
pParent
)
:
SystemChild
Window
(
pParent
,
0
),
Window
(
pParent
,
0
),
mpImpl
(
new
OpenGLWindowImpl
(
this
)),
mpRenderer
(
NULL
)
{
...
...
@@ -57,6 +60,7 @@ void OpenGLWindow::Paint(const Rectangle&)
void
OpenGLWindow
::
MouseButtonDown
(
const
MouseEvent
&
rMEvt
)
{
getContext
()
->
show
();
maStartPoint
=
rMEvt
.
GetPosPixel
();
}
...
...
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