From e99f94c5aa523dc8bc21053e708917f58b8f0abb Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 30 Sep 2007 15:07:17 +0000 Subject: [PATCH] Updated wrappers --- src/osgWrappers/osgText/Text.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/osgWrappers/osgText/Text.cpp b/src/osgWrappers/osgText/Text.cpp index ac9b986aa..cd68e48fd 100644 --- a/src/osgWrappers/osgText/Text.cpp +++ b/src/osgWrappers/osgText/Text.cpp @@ -70,6 +70,7 @@ BEGIN_ENUM_REFLECTOR(osgText::Text::AxisAlignment) I_EnumLabel(osgText::Text::YZ_PLANE); I_EnumLabel(osgText::Text::REVERSED_YZ_PLANE); I_EnumLabel(osgText::Text::SCREEN); + I_EnumLabel(osgText::Text::USER_DEFINED_ROTATION); END_REFLECTOR BEGIN_ENUM_REFLECTOR(osgText::Text::Layout) @@ -295,6 +296,11 @@ BEGIN_OBJECT_REFLECTOR(osgText::Text) __void__setAxisAlignment__AxisAlignment, "", ""); + I_Method0(osgText::Text::AxisAlignment, getAxisAlignment, + Properties::NON_VIRTUAL, + __AxisAlignment__getAxisAlignment, + "", + ""); I_Method1(void, setRotation, IN, const osg::Quat &, quat, Properties::NON_VIRTUAL, __void__setRotation__C5_osg_Quat_R1, @@ -644,7 +650,7 @@ BEGIN_OBJECT_REFLECTOR(osgText::Text) __bool__getAutoRotateToScreen, __void__setAutoRotateToScreen__bool); I_SimpleProperty(osgText::Text::AxisAlignment, AxisAlignment, - 0, + __AxisAlignment__getAxisAlignment, __void__setAxisAlignment__AxisAlignment); I_SimpleProperty(const osg::Vec4 &, BackdropColor, __C5_osg_Vec4_R1__getBackdropColor,