Added item serializer

This commit is contained in:
Robert Osfield 2014-05-26 15:58:18 +00:00
parent f50ec0fe8e
commit 71352ea56d

View File

@ -0,0 +1,15 @@
#include <osgUI/ComboBox>
#include <osg/ValueObject>
#include <osgDB/ObjectWrapper>
#include <osgDB/InputStream>
#include <osgDB/OutputStream>
REGISTER_OBJECT_WRAPPER( Item,
new osgUI::Item,
osgUI::Item,
"osg::Object osgUI::Item" )
{
ADD_STRING_SERIALIZER(Text, "");
ADD_VEC4F_SERIALIZER(Color, osg::Vec4(1.0f,1.0f,1.0f,0.0f));
}