Added item serializer
This commit is contained in:
parent
f50ec0fe8e
commit
71352ea56d
15
src/osgWrappers/serializers/osgUI/Item.cpp
Normal file
15
src/osgWrappers/serializers/osgUI/Item.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( 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));
|
||||
}
|
Loading…
Reference in New Issue
Block a user