Line data Source code
1 : /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 : /*
3 : * This file is part of the LibreOffice project.
4 : *
5 : * This Source Code Form is subject to the terms of the Mozilla Public
6 : * License, v. 2.0. If a copy of the MPL was not distributed with this
7 : * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 : */
9 :
10 : #ifndef INCLUDED_SVX_SVDO_OPENGL_HXX
11 : #define INCLUDED_SVX_SVDO_OPENGL_HXX
12 :
13 : #include <svx/svdobj.hxx>
14 : #include <vcl/OpenGLContext.hxx>
15 :
16 : namespace sdr { namespace contact {
17 : class ViewContact;
18 : } }
19 :
20 0 : class SVX_DLLPUBLIC SdrOpenGLObj : public SdrObject
21 : {
22 : public:
23 : virtual sdr::contact::ViewContact* CreateObjectSpecificViewContact() SAL_OVERRIDE;
24 :
25 : OpenGLContext& getOpenGLContext();
26 :
27 : virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact) SAL_OVERRIDE;
28 :
29 : private:
30 :
31 : OpenGLContext maContext;
32 : };
33 :
34 : #endif
35 :
36 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|