Removed Dialog/Popup::open/close() methods as they are replaced by the setVisible() method

This commit is contained in:
Robert Osfield
2014-05-26 16:32:20 +00:00
parent 5d635287c0
commit faced0a896
6 changed files with 3 additions and 33 deletions

View File

@@ -43,7 +43,7 @@ bool Dialog::handleImplementation(osgGA::EventVisitor* ev, osgGA::Event* event)
if (ea->getKey()=='c')
{
close();
setVisible(false);
ea->setHandled(true);
return true;
@@ -57,16 +57,6 @@ bool Dialog::handleImplementation(osgGA::EventVisitor* ev, osgGA::Event* event)
return false;
}
void Dialog::close()
{
setVisible(false);
}
void Dialog::open()
{
setVisible(true);
}
void Dialog::createGraphicsImplementation()
{
_group = new osg::Group;