Added initial cut of ComboBox
This commit is contained in:
15
src/osgWrappers/serializers/osgUI/ComboBox.cpp
Normal file
15
src/osgWrappers/serializers/osgUI/ComboBox.cpp
Normal 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 );
|
||||
}
|
||||
Reference in New Issue
Block a user