diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-11-18 16:35:06 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-11-18 16:36:03 +0000 |
commit | 8e95736e3a92292763ff7fe619bbd8de327c9c33 (patch) | |
tree | 569191d381aece25d302355418832a29b0f5a07d /svx/inc | |
parent | b020f97590fe0ee8e4631e1e22b43a2f4700b1ba (diff) |
Use new glue-point creation code, makes glue-points visible & themable
Diffstat (limited to 'svx/inc')
-rw-r--r-- | svx/inc/svx/sdr/primitive2d/sdrprimitivetools.hxx | 3 | ||||
-rw-r--r-- | svx/inc/svx/svdhdl.hxx | 6 |
2 files changed, 4 insertions, 5 deletions
diff --git a/svx/inc/svx/sdr/primitive2d/sdrprimitivetools.hxx b/svx/inc/svx/sdr/primitive2d/sdrprimitivetools.hxx index 8bd35f2d5233..feadaf99d02c 100644 --- a/svx/inc/svx/sdr/primitive2d/sdrprimitivetools.hxx +++ b/svx/inc/svx/sdr/primitive2d/sdrprimitivetools.hxx @@ -48,9 +48,6 @@ namespace drawinglayer { // create a 3x3 cross in given color as BitmapEx BitmapEx createDefaultCross_3x3(const basegfx::BColor& rBColor); - - // create a 7x7 gluepoint symbol in given colors as BitmapEx - BitmapEx createDefaultGluepoint_7x7(const basegfx::BColor& rBColorA, const basegfx::BColor& rBColorB); } // end of namespace primitive2d } // end of namespace drawinglayer diff --git a/svx/inc/svx/svdhdl.hxx b/svx/inc/svx/svdhdl.hxx index a9069cec6c9a..4dbde6dc9f8b 100644 --- a/svx/inc/svx/svdhdl.hxx +++ b/svx/inc/svx/svdhdl.hxx @@ -151,8 +151,7 @@ class SVX_DLLPUBLIC SdrHdl friend class SdrMarkView; // fuer den Zugriff auf nObjHdlNum friend class SdrHdlList; - // #101928# - BitmapEx ImpGetBitmapEx(BitmapMarkerKind eKindOfMarker, sal_uInt16 nInd); + static BitmapEx ImpGetBitmapEx(BitmapMarkerKind eKindOfMarker, sal_uInt16 nInd); protected: SdrObject* pObj; // Gehoert das Handle zu einem Objekt? @@ -254,6 +253,9 @@ public: virtual void onMouseLeave(); bool isMouseOver() const; + + static BitmapEx createGluePointBitmap() { return ImpGetBitmapEx(Glue_Deselected, 0); } + }; //////////////////////////////////////////////////////////////////////////////////////////////////// |