Fixed typo in comments and onscreen help.

This commit is contained in:
Robert Osfield
2005-12-09 20:03:04 +00:00
parent c41d027e6b
commit 0347895c96
9 changed files with 9 additions and 11 deletions

View File

@@ -88,7 +88,7 @@ class OSGGA_EXPORT DriveManipulator : public MatrixManipulator
Return true is camera has moved and a redraw is required.*/
bool calcMovement();
// Internal event stack comprising last three mouse events.
// Internal event stack comprising last two mouse events.
osg::ref_ptr<const GUIEventAdapter> _ga_t1;
osg::ref_ptr<const GUIEventAdapter> _ga_t0;

View File

@@ -95,7 +95,7 @@ class OSGGA_EXPORT FlightManipulator : public MatrixManipulator
bool calcMovement();
// Internal event stack comprising last three mouse events.
// Internal event stack comprising last two mouse events.
osg::ref_ptr<const GUIEventAdapter> _ga_t1;
osg::ref_ptr<const GUIEventAdapter> _ga_t0;

View File

@@ -164,7 +164,7 @@ class OSGGA_EXPORT NodeTrackerManipulator : public MatrixManipulator
void clampOrientation();
// Internal event stack comprising last three mouse events.
// Internal event stack comprising last two mouse events.
osg::ref_ptr<const GUIEventAdapter> _ga_t1;
osg::ref_ptr<const GUIEventAdapter> _ga_t0;

View File

@@ -108,7 +108,7 @@ class OSGGA_EXPORT TerrainManipulator : public MatrixManipulator
void clampOrientation();
// Internal event stack comprising last three mouse events.
// Internal event stack comprising last two mouse events.
osg::ref_ptr<const GUIEventAdapter> _ga_t1;
osg::ref_ptr<const GUIEventAdapter> _ga_t0;

View File

@@ -124,7 +124,7 @@ class OSGGA_EXPORT TrackballManipulator : public MatrixManipulator
If speed is below a threshold then return false, otherwise return true.*/
bool isMouseMoving();
// Internal event stack comprising last three mouse events.
// Internal event stack comprising last two mouse events.
osg::ref_ptr<const GUIEventAdapter> _ga_t1;
osg::ref_ptr<const GUIEventAdapter> _ga_t0;

View File

@@ -154,7 +154,7 @@ void NodeTrackerManipulator::getUsage(osg::ApplicationUsage& usage) const
{
usage.addKeyboardMouseBinding("NodeTracker: Space","Reset the viewing position to home");
usage.addKeyboardMouseBinding("NodeTracker: +","When in stereo, increase the fusion distance");
usage.addKeyboardMouseBinding("NodeTracker: -","When in stereo, reduse the fusion distance");
usage.addKeyboardMouseBinding("NodeTracker: -","When in stereo, reduce the fusion distance");
}
bool NodeTrackerManipulator::handle(const GUIEventAdapter& ea,GUIActionAdapter& us)

View File

@@ -91,7 +91,7 @@ void TerrainManipulator::getUsage(osg::ApplicationUsage& usage) const
{
usage.addKeyboardMouseBinding("Terrain: Space","Reset the viewing position to home");
usage.addKeyboardMouseBinding("Terrain: +","When in stereo, increase the fusion distance");
usage.addKeyboardMouseBinding("Terrain: -","When in stereo, reduse the fusion distance");
usage.addKeyboardMouseBinding("Terrain: -","When in stereo, reduce the fusion distance");
}
bool TerrainManipulator::handle(const GUIEventAdapter& ea,GUIActionAdapter& us)

View File

@@ -69,7 +69,7 @@ void TrackballManipulator::getUsage(osg::ApplicationUsage& usage) const
{
usage.addKeyboardMouseBinding("Trackball: Space","Reset the viewing position to home");
usage.addKeyboardMouseBinding("Trackball: +","When in stereo, increase the fusion distance");
usage.addKeyboardMouseBinding("Trackball: -","When in stereo, reduse the fusion distance");
usage.addKeyboardMouseBinding("Trackball: -","When in stereo, reduce the fusion distance");
}
bool TrackballManipulator::handle(const GUIEventAdapter& ea,GUIActionAdapter& us)

View File

@@ -1194,7 +1194,5 @@ void ViewerEventHandler::getUsage(osg::ApplicationUsage& usage) const
usage.addKeyboardMouseBinding("s","Toggle instrumention");
usage.addKeyboardMouseBinding("v","Toggle block and vsync");
usage.addKeyboardMouseBinding("z","Start recording camera path.");
usage.addKeyboardMouseBinding("Z","If recording camera path stop recording camera path, save to \"saved_animation.path\"\nThen start viewing from being on animation path");
// usage.addKeyboardMouseBinding("+","When in stereo, increase the fusion distance");
// usage.addKeyboardMouseBinding("-","When in stereo, reduse the fusion distance");
usage.addKeyboardMouseBinding("Z","If recording camera path stop recording camera path, save to \"saved_animation.path\"\nThen restart camera from beginning on animation path");
}