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
a8e66dd6
Kaydet (Commit)
a8e66dd6
authored
May 07, 2014
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
add new window that contains OpenGL context
Change-Id: I81ce3581942d03785809d728b6b54b570899bcdc
üst
036b6c9e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
0 deletions
+51
-0
openglwin.hxx
include/vcl/openglwin.hxx
+28
-0
Library_vclopengl.mk
vcl/Library_vclopengl.mk
+1
-0
openglwin.cxx
vcl/source/window/openglwin.cxx
+22
-0
No files found.
include/vcl/openglwin.hxx
0 → 100644
Dosyayı görüntüle @
a8e66dd6
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#ifndef INCLUDED_VCL_OPENGLWIN_HXX
#define INCLUDED_VCL_OPENGLWIN_HXX
#include <vcl/syschild.hxx>
#include <vcl/opengl/OpenGLContext.hxx>
class
OpenGLWindow
:
public
SystemChildWindow
{
public
:
OpenGLWindow
(
Window
*
pParent
);
OpenGLContext
&
getContext
();
private
:
OpenGLContext
maContext
;
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
vcl/Library_vclopengl.mk
Dosyayı görüntüle @
a8e66dd6
...
...
@@ -40,6 +40,7 @@ $(eval $(call gb_Library_use_libraries,vclopengl,\
$(eval $(call gb_Library_add_exception_objects,vclopengl,\
vcl/source/opengl/OpenGLContext \
vcl/source/opengl/OpenGLHelper \
vcl/source/window/openglwin \
))
ifeq ($(strip $(OS)),WNT)
...
...
vcl/source/window/openglwin.cxx
0 → 100644
Dosyayı görüntüle @
a8e66dd6
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <vcl/openglwin.hxx>
OpenGLWindow
::
OpenGLWindow
(
Window
*
pParent
)
:
SystemChildWindow
(
pParent
,
0
)
{
}
OpenGLContext
&
OpenGLWindow
::
getContext
()
{
return
maContext
;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
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