diff --git a/src/osgWrappers/serializers/osgUI/Item.cpp b/src/osgWrappers/serializers/osgUI/Item.cpp new file mode 100644 index 000000000..fa420aaf5 --- /dev/null +++ b/src/osgWrappers/serializers/osgUI/Item.cpp @@ -0,0 +1,15 @@ +#include +#include +#include +#include +#include + + +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)); +}