From 43ba59f7ecd80d3c21afc000df58c5c89da0056d Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sat, 9 Jun 2007 10:18:28 +0000 Subject: [PATCH] Updated wrappers --- src/osgWrappers/osg/Camera.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/osgWrappers/osg/Camera.cpp b/src/osgWrappers/osg/Camera.cpp index ad5aa90bb..a5e4d0819 100644 --- a/src/osgWrappers/osg/Camera.cpp +++ b/src/osgWrappers/osg/Camera.cpp @@ -14,6 +14,7 @@ #include #include #include +#include #include #include #include @@ -165,6 +166,21 @@ BEGIN_OBJECT_REFLECTOR(osg::Camera) __bool__getAllowEventFocus, "Get whether this camera allows events to be generated by the associated graphics window to be associated with this camera. ", ""); + I_Method1(void, setDisplaySettings, IN, osg::DisplaySettings *, ds, + Properties::NON_VIRTUAL, + __void__setDisplaySettings__osg_DisplaySettings_P1, + "Set the DsplaySettings object associated with this view. ", + ""); + I_Method0(osg::DisplaySettings *, getDisplaySettings, + Properties::NON_VIRTUAL, + __osg_DisplaySettings_P1__getDisplaySettings, + "Set the DsplaySettings object associated with this view. ", + ""); + I_Method0(const osg::DisplaySettings *, getDisplaySettings, + Properties::NON_VIRTUAL, + __C5_osg_DisplaySettings_P1__getDisplaySettings, + "Set the DsplaySettings object associated with this view. ", + ""); I_Method1(void, setClearColor, IN, const osg::Vec4 &, color, Properties::NON_VIRTUAL, __void__setClearColor__C5_Vec4_R1, @@ -551,6 +567,9 @@ BEGIN_OBJECT_REFLECTOR(osg::Camera) I_SimpleProperty(OpenThreads::Mutex *, DataChangeMutex, __OpenThreads_Mutex_P1__getDataChangeMutex, 0); + I_SimpleProperty(osg::DisplaySettings *, DisplaySettings, + __osg_DisplaySettings_P1__getDisplaySettings, + __void__setDisplaySettings__osg_DisplaySettings_P1); I_SimpleProperty(GLenum, DrawBuffer, __GLenum__getDrawBuffer, __void__setDrawBuffer__GLenum);