From ac0de068d99dbc6023942e68c9f64da7fedd6be6 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Mon, 21 Oct 2002 13:02:30 +0000 Subject: [PATCH] Changed the private: to protected: to allow easier extension. --- include/osgGA/DriveManipulator | 4 ++-- include/osgGA/FlightManipulator | 4 ++-- include/osgGA/TrackballManipulator | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/osgGA/DriveManipulator b/include/osgGA/DriveManipulator index be71a7dbf..684194671 100644 --- a/include/osgGA/DriveManipulator +++ b/include/osgGA/DriveManipulator @@ -18,7 +18,7 @@ right simultaneously) stops dead. class OSGGA_EXPORT DriveManipulator : public CameraManipulator { -public: + public: DriveManipulator(); @@ -36,7 +36,7 @@ public: virtual bool handle(const GUIEventAdapter& ea,GUIActionAdapter& us); -private: + protected: /** Reset the internal GUIEvent stack.*/ void flushMouseEventStack(); diff --git a/include/osgGA/FlightManipulator b/include/osgGA/FlightManipulator index 0a67f0ebb..c9d0c89e1 100644 --- a/include/osgGA/FlightManipulator +++ b/include/osgGA/FlightManipulator @@ -18,7 +18,7 @@ button (or left and right simultaneously) stops dead. class OSGGA_EXPORT FlightManipulator : public CameraManipulator { -public: + public: FlightManipulator(); virtual ~FlightManipulator(); @@ -43,7 +43,7 @@ public: /** Configure the Yaw control for the flight model. */ void setYawControlMode(YawControlMode ycm) { _yawMode = ycm; } -private: + protected: /** Reset the internal GUIEvent stack.*/ void flushMouseEventStack(); diff --git a/include/osgGA/TrackballManipulator b/include/osgGA/TrackballManipulator index 71160792c..912a7f56c 100644 --- a/include/osgGA/TrackballManipulator +++ b/include/osgGA/TrackballManipulator @@ -39,7 +39,7 @@ class OSGGA_EXPORT TrackballManipulator : public CameraManipulator /** handle events, return true if handled, false otherwise.*/ virtual bool handle(const GUIEventAdapter& ea,GUIActionAdapter& us); - private: + protected: /** Reset the internal GUIEvent stack.*/ void flushMouseEventStack();