Changed the setUpViewer so it takes unisigned int to make it easier to

do OR'ing of the various enumerates when passing in paramters (avoids a
warning).
This commit is contained in:
Robert Osfield
2003-01-24 09:37:11 +00:00
parent df21d69666
commit 1ce53fcfba
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ class OSGPRODUCER_EXPORT Viewer : public CameraGroup, public osgGA::GUIActionAda
HEAD_LIGHT_SOURCE
};
void setUpViewer(ViewerOptions options=STANDARD_SETTINGS);
void setUpViewer(unsigned int options=STANDARD_SETTINGS);
bool done() const { return _done; }

View File

@@ -34,7 +34,7 @@ Viewer::Viewer(const std::string& configFile):
{
}
void Viewer::setUpViewer(Viewer::ViewerOptions options)
void Viewer::setUpViewer(unsigned int options)
{
// set up the keyboard and mouse handling.