From 55c2041d4d8efca119540636e6650b5b9acc0cd3 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 23 May 2014 15:00:09 +0000 Subject: [PATCH] Added wrappers for open and close methods --- src/osgWrappers/serializers/osgUI/Dialog.cpp | 2 ++ src/osgWrappers/serializers/osgUI/Popup.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/osgWrappers/serializers/osgUI/Dialog.cpp b/src/osgWrappers/serializers/osgUI/Dialog.cpp index 422042768..62c8c7c41 100644 --- a/src/osgWrappers/serializers/osgUI/Dialog.cpp +++ b/src/osgWrappers/serializers/osgUI/Dialog.cpp @@ -11,4 +11,6 @@ REGISTER_OBJECT_WRAPPER( Dialog, "osg::Object osg::Node osg::Group osgUI::Widget osgUI::Dialog" ) { ADD_STRING_SERIALIZER( Title, std::string()); + ADD_METHOD( open ); + ADD_METHOD( close ); } diff --git a/src/osgWrappers/serializers/osgUI/Popup.cpp b/src/osgWrappers/serializers/osgUI/Popup.cpp index 423d08d40..0c414b02b 100644 --- a/src/osgWrappers/serializers/osgUI/Popup.cpp +++ b/src/osgWrappers/serializers/osgUI/Popup.cpp @@ -10,4 +10,6 @@ REGISTER_OBJECT_WRAPPER( Popup, osgUI::Popup, "osg::Object osg::Node osg::Group osgUI::Widget osgUI::Popup" ) { + ADD_METHOD( open ); + ADD_METHOD( close ); }