summaryrefslogtreecommitdiff
path: root/sd/source/ui/inc/fuconstr.hxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2004-01-20 10:58:16 +0000
committerOliver Bolte <obo@openoffice.org>2004-01-20 10:58:16 +0000
commitf32f103748d8ead3401321d29db2149318d342db (patch)
tree153fc36cff1e3fd64bf6dfaee0a918da720748e3 /sd/source/ui/inc/fuconstr.hxx
parent9f35a1c27f2fde67ff21a981f0a4a943df4eab15 (diff)
INTEGRATION: CWS impress1 (1.1.1.1.262); FILE MERGED
2003/09/16 13:35:53 af 1.1.1.1.262.1: #111996# Introduction of namespace sd. Use of sub-shells.
Diffstat (limited to 'sd/source/ui/inc/fuconstr.hxx')
-rw-r--r--sd/source/ui/inc/fuconstr.hxx45
1 files changed, 23 insertions, 22 deletions
diff --git a/sd/source/ui/inc/fuconstr.hxx b/sd/source/ui/inc/fuconstr.hxx
index 81d8f58efdc2..4adb61e0642e 100644
--- a/sd/source/ui/inc/fuconstr.hxx
+++ b/sd/source/ui/inc/fuconstr.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fuconstr.hxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 16:48:38 $
+ * last change: $Author: obo $ $Date: 2004-01-20 11:58:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -59,23 +59,18 @@
*
************************************************************************/
-#ifndef _SD_FUCONSTR_HXX
-#define _SD_FUCONSTR_HXX
+#ifndef SD_FU_CONSTRUCT_HXX
+#define SD_FU_CONSTRUCT_HXX
-#ifndef _SFXITEMSET_HXX //autogen
-#include <svtools/itemset.hxx>
-#endif
-
-#ifndef _SD_FUDRAW_HXX
+#ifndef SD_FU_DRAW_HXX
#include "fudraw.hxx"
#endif
+class KeyEvent;
class SdrObject;
+class SfxItemSet;
-/************************************************************************/
-
-#define MIN_FREEHAND_DISTANCE 10
-
+namespace sd {
/*************************************************************************
|*
@@ -83,19 +78,22 @@ class SdrObject;
|*
\************************************************************************/
-class FuConstruct : public FuDraw
+class FuConstruct
+ : public FuDraw
{
- protected:
- BOOL bSelectionChanged;
+public:
+ static const int MIN_FREEHAND_DISTANCE = 10;
- public:
TYPEINFO();
- FuConstruct(SdViewShell* pViewSh, SdWindow* pWin, SdView* pView,
- SdDrawDocument* pDoc, SfxRequest& rReq);
+ FuConstruct (ViewShell* pViewSh,
+ ::sd::Window* pWin,
+ ::sd::View* pView,
+ SdDrawDocument* pDoc,
+ SfxRequest& rReq);
+ virtual ~FuConstruct (void);
- virtual ~FuConstruct();
- // Mouse- & Key-Events
+ // Mouse- & Key-Events
virtual BOOL KeyInput(const KeyEvent& rKEvt);
virtual BOOL MouseMove(const MouseEvent& rMEvt);
virtual BOOL MouseButtonUp(const MouseEvent& rMEvt);
@@ -107,8 +105,11 @@ class FuConstruct : public FuDraw
virtual void SelectionHasChanged() { bSelectionChanged = TRUE; }
void SetStyleSheet(SfxItemSet& rAttr, SdrObject* pObj);
-};
+protected:
+ bool bSelectionChanged;
+};
+} // end of namespace sd
#endif // _SD_FUCONSTR_HXX