From d23c04018bb22d63f5466b81c2269709a4456b65 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 8 Nov 2006 11:49:35 +0000 Subject: [PATCH] Updated wrappers --- include/osgText/Text | 2 +- src/osgWrappers/osgDB/ReaderWriter.cpp | 8 ++++++++ src/osgWrappers/osgDB/Registry.cpp | 2 +- src/osgWrappers/osgText/Text.cpp | 8 ++++---- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/include/osgText/Text b/include/osgText/Text index 82fa11bcf..2c3e754b9 100644 --- a/include/osgText/Text +++ b/include/osgText/Text @@ -276,7 +276,7 @@ public: */ void setBackdropOffset(float horizontal, float vertical); - float getBackdropHorizontalOffet() const { return _backdropHorizontalOffset; } + float getBackdropHorizontalOffset() const { return _backdropHorizontalOffset; } float getBackdropVerticalOffset() const { return _backdropVerticalOffset; } diff --git a/src/osgWrappers/osgDB/ReaderWriter.cpp b/src/osgWrappers/osgDB/ReaderWriter.cpp index 24caf90c6..fbad43e53 100644 --- a/src/osgWrappers/osgDB/ReaderWriter.cpp +++ b/src/osgWrappers/osgDB/ReaderWriter.cpp @@ -309,6 +309,10 @@ BEGIN_VALUE_REFLECTOR(osgDB::ReaderWriter::ReadResult) __osgDB_Archive_P1__takeArchive, "", ""); + I_Method0(std::string &, message, + __std_string_R1__message, + "", + ""); I_Method0(const std::string &, message, __C5_std_string_R1__message, "", @@ -373,6 +377,10 @@ BEGIN_VALUE_REFLECTOR(osgDB::ReaderWriter::WriteResult) ____WriteResult__C5_WriteResult_R1, "", ""); + I_Method0(std::string &, message, + __std_string_R1__message, + "", + ""); I_Method0(const std::string &, message, __C5_std_string_R1__message, "", diff --git a/src/osgWrappers/osgDB/Registry.cpp b/src/osgWrappers/osgDB/Registry.cpp index b19892508..d10c45c32 100644 --- a/src/osgWrappers/osgDB/Registry.cpp +++ b/src/osgWrappers/osgDB/Registry.cpp @@ -94,7 +94,7 @@ BEGIN_OBJECT_REFLECTOR(osgDB::Registry) ""); I_Method1(bool, loadLibrary, IN, const std::string &, fileName, __bool__loadLibrary__C5_std_string_R1, - "find the library in the SG_LIBRARY_PATH and load it. ", + "find the library in the OSG_LIBRARY_PATH and load it. ", ""); I_Method1(bool, closeLibrary, IN, const std::string &, fileName, __bool__closeLibrary__C5_std_string_R1, diff --git a/src/osgWrappers/osgText/Text.cpp b/src/osgWrappers/osgText/Text.cpp index 0a754a6ca..354a8fecf 100644 --- a/src/osgWrappers/osgText/Text.cpp +++ b/src/osgWrappers/osgText/Text.cpp @@ -300,8 +300,8 @@ BEGIN_OBJECT_REFLECTOR(osgText::Text) __void__setBackdropOffset__float__float, "This overloaded version lets you specify the offset for the horizontal and vertical components separately. ", ""); - I_Method0(float, getBackdropHorizontalOffet, - __float__getBackdropHorizontalOffet, + I_Method0(float, getBackdropHorizontalOffset, + __float__getBackdropHorizontalOffset, "", ""); I_Method0(float, getBackdropVerticalOffset, @@ -416,8 +416,8 @@ BEGIN_OBJECT_REFLECTOR(osgText::Text) I_SimpleProperty(const osg::Vec4 &, BackdropColor, __C5_osg_Vec4_R1__getBackdropColor, __void__setBackdropColor__C5_osg_Vec4_R1); - I_SimpleProperty(float, BackdropHorizontalOffet, - __float__getBackdropHorizontalOffet, + I_SimpleProperty(float, BackdropHorizontalOffset, + __float__getBackdropHorizontalOffset, 0); I_SimpleProperty(osgText::Text::BackdropImplementation, BackdropImplementation, __BackdropImplementation__getBackdropImplementation,