Changed the private: to protected: to allow easier extension.
This commit is contained in:
parent
761fc0574f
commit
ac0de068d9
@ -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();
|
||||
|
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user