diff options
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/pch/precompiled_svxcore.hxx | 2 | ||||
-rw-r--r-- | svx/inc/sdr/contact/viewobjectcontactofopenglobj.hxx | 36 | ||||
-rw-r--r-- | svx/inc/svdoopengl.hxx | 51 |
3 files changed, 0 insertions, 89 deletions
diff --git a/svx/inc/pch/precompiled_svxcore.hxx b/svx/inc/pch/precompiled_svxcore.hxx index 641fc127430a..48875a7a60a9 100644 --- a/svx/inc/pch/precompiled_svxcore.hxx +++ b/svx/inc/pch/precompiled_svxcore.hxx @@ -508,7 +508,6 @@ #include <drawinglayer/primitive2d/metafileprimitive2d.hxx> #include <drawinglayer/primitive2d/modifiedcolorprimitive2d.hxx> #include <drawinglayer/primitive2d/objectinfoprimitive2d.hxx> -#include <drawinglayer/primitive2d/openglprimitive2d.hxx> #include <drawinglayer/primitive2d/pagepreviewprimitive2d.hxx> #include <drawinglayer/primitive2d/polygonprimitive2d.hxx> #include <drawinglayer/primitive2d/polypolygonprimitive2d.hxx> @@ -810,7 +809,6 @@ #include <vcl/metric.hxx> #include <vcl/mnemonic.hxx> #include <vcl/msgbox.hxx> -#include <vcl/opengl/IOpenGLRenderer.hxx> #include <vcl/outdev.hxx> #include <vcl/pdfextoutdevdata.hxx> #include <vcl/region.hxx> diff --git a/svx/inc/sdr/contact/viewobjectcontactofopenglobj.hxx b/svx/inc/sdr/contact/viewobjectcontactofopenglobj.hxx deleted file mode 100644 index 5e3827812845..000000000000 --- a/svx/inc/sdr/contact/viewobjectcontactofopenglobj.hxx +++ /dev/null @@ -1,36 +0,0 @@ -/* -*- 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_SVX_INC_SDR_CONTACT_VIEWOBJECTCONTACTOFOPENGLOBJ_HXX -#define INCLUDED_SVX_INC_SDR_CONTACT_VIEWOBJECTCONTACTOFOPENGLOBJ_HXX - -#include <svx/sdr/contact/viewobjectcontactofsdrobj.hxx> -#include <vcl/opengl/OpenGLContext.hxx> - -namespace vcl { class Window; } - -namespace sdr { -namespace contact { - -class ViewObjectContactOfOpenGLObj : public ViewObjectContactOfSdrObj -{ -public: - ViewObjectContactOfOpenGLObj(ObjectContact& rObjectContact, ViewContact& rViewContact); - virtual ~ViewObjectContactOfOpenGLObj(); - -private: - vcl::Window* getWindow() const; -}; - -} // namespace sdr -} // namespace contact - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/svx/inc/svdoopengl.hxx b/svx/inc/svdoopengl.hxx deleted file mode 100644 index e30baeacfd0a..000000000000 --- a/svx/inc/svdoopengl.hxx +++ /dev/null @@ -1,51 +0,0 @@ -/* -*- 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_SVX_INC_SVDOOPENGL_HXX -#define INCLUDED_SVX_INC_SVDOOPENGL_HXX - -#include <svx/svdobj.hxx> -#include <vcl/opengl/OpenGLContext.hxx> - -#include <vcl/opengl/IOpenGLRenderer.hxx> - -#include <boost/scoped_ptr.hpp> - -namespace sdr { namespace contact { - class ViewContact; -} } - -class IOpenGLRenderer; - -class SVX_DLLPUBLIC SdrOpenGLObj : public SdrObject, public IOpenGLInfoProvider -{ -public: - SdrOpenGLObj(); - virtual ~SdrOpenGLObj(); - virtual sdr::contact::ViewContact* CreateObjectSpecificViewContact() SAL_OVERRIDE; - - OpenGLContext* getOpenGLContext() { return mpContext;} - - virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact) SAL_OVERRIDE; - - void setRenderer(IOpenGLRenderer* pRenderer); - IOpenGLRenderer* getRenderer(); - - virtual bool isOpenGLInitialized() SAL_OVERRIDE; - -private: - - OpenGLContext* mpContext; - - boost::scoped_ptr<IOpenGLRenderer> mpRenderer; -}; - -#endif - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |