summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-04-02 04:09:43 +0200
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-04-08 04:38:21 +0200
commitf5a86d3ba079b32e063300c68071f105f5021ee8 (patch)
treec2eed4b9e769538104158f495ee3c75023c49fde /include
parentmove the OpenGLContext to the model object (diff)
downloadcore-f5a86d3ba079b32e063300c68071f105f5021ee8.tar.gz
core-f5a86d3ba079b32e063300c68071f105f5021ee8.zip
initial work on allowing to resize the OpenGL object
Change-Id: I29799522d32e31b4ffbba9d931fda352ee080e2d
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdoopengl.hxx19
1 files changed, 9 insertions, 10 deletions
diff --git a/include/svx/svdoopengl.hxx b/include/svx/svdoopengl.hxx
index 4510f56327a8..4bd4bc27aff4 100644
--- a/include/svx/svdoopengl.hxx
+++ b/include/svx/svdoopengl.hxx
@@ -11,21 +11,20 @@
#define INCLUDED_SVX_SVDO_OPENGL_HXX
#include <svx/svdobj.hxx>
-#include <svx/sdr/contact/viewcontactofopenglobj.hxx>
#include <vcl/OpenGLContext.hxx>
+namespace sdr { namespace contact {
+ class ViewContact;
+} }
+
class SVX_DLLPUBLIC SdrOpenGLObj : public SdrObject
{
public:
- virtual sdr::contact::ViewContact* CreateObjectSpecificViewContact() SAL_OVERRIDE
- {
- return new sdr::contact::ViewContactOfOpenGLObj(*this);
- }
-
- OpenGLContext& getOpenGLContext()
- {
- return maContext;
- }
+ virtual sdr::contact::ViewContact* CreateObjectSpecificViewContact() SAL_OVERRIDE;
+
+ OpenGLContext& getOpenGLContext();
+
+ virtual void NbcResize(const Point& rRef, const Fraction& xFact, const Fraction& yFact);
private: