Added initial cut of ComboBox

This commit is contained in:
Robert Osfield
2014-05-16 19:24:58 +00:00
parent 3e00764649
commit 87fd1d38fb
6 changed files with 245 additions and 4 deletions

View File

@@ -0,0 +1,15 @@
#include <osgUI/ComboBox>
#include <osg/ValueObject>
#include <osgDB/ObjectWrapper>
#include <osgDB/InputStream>
#include <osgDB/OutputStream>
REGISTER_OBJECT_WRAPPER( ComboBox,
new osgUI::ComboBox,
osgUI::ComboBox,
"osg::Object osg::Node osg::Group osgUI::Widget osgUI::ComboBox" )
{
ADD_UINT_SERIALIZER(CurrentItem, 0);
ADD_VECTOR_SERIALIZER( Items, osgUI::ComboBox::Items, osgDB::BaseSerializer::RW_OBJECT, 0 );
}