diff options
author | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-04-02 04:09:43 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@collabora.co.uk> | 2014-04-08 04:38:21 +0200 |
commit | f5a86d3ba079b32e063300c68071f105f5021ee8 (patch) | |
tree | c2eed4b9e769538104158f495ee3c75023c49fde /include | |
parent | 6948bf58ce181b17f60ef81f10205ef4dac50cc6 (diff) |
initial work on allowing to resize the OpenGL object
Change-Id: I29799522d32e31b4ffbba9d931fda352ee080e2d
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/svdoopengl.hxx | 19 |
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: |