Removed Dialog/Popup::open/close() methods as they are replaced by the setVisible() method
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user