From d8a3d7aa4e5640b3cdb94ed170ba5e468f533b5e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Sun, 10 Jun 2007 20:12:47 +0000 Subject: [PATCH] Updated wrappers --- src/osgWrappers/osgViewer/GraphicsWindow.cpp | 30 +++++++++++++++++--- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/src/osgWrappers/osgViewer/GraphicsWindow.cpp b/src/osgWrappers/osgViewer/GraphicsWindow.cpp index 01964f2b7..55d446511 100644 --- a/src/osgWrappers/osgViewer/GraphicsWindow.cpp +++ b/src/osgWrappers/osgViewer/GraphicsWindow.cpp @@ -75,21 +75,31 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::GraphicsWindow) __void__checkEvents, "", ""); - I_Method4(void, setWindowRectangle, IN, int, x, IN, int, x, IN, int, x, IN, int, x, - Properties::VIRTUAL, + I_Method4(void, setWindowRectangle, IN, int, x, IN, int, y, IN, int, width, IN, int, height, + Properties::NON_VIRTUAL, __void__setWindowRectangle__int__int__int__int, "Set the window's position and size. ", ""); + I_Method4(bool, setWindowRectangleImplementation, IN, int, x, IN, int, x, IN, int, x, IN, int, x, + Properties::VIRTUAL, + __bool__setWindowRectangleImplementation__int__int__int__int, + "implementation of setWindowRectangle, should be implemented by derived classes ", + ""); I_Method4(void, getWindowRectangle, IN, int &, x, IN, int &, y, IN, int &, width, IN, int &, height, Properties::VIRTUAL, __void__getWindowRectangle__int_R1__int_R1__int_R1__int_R1, "Get the window's position and size. ", ""); - I_Method1(void, setWindowDecoration, IN, bool, x, - Properties::VIRTUAL, + I_Method1(void, setWindowDecoration, IN, bool, flag, + Properties::NON_VIRTUAL, __void__setWindowDecoration__bool, "Set Window decoration. ", ""); + I_Method1(bool, setWindowDecorationImplementation, IN, bool, x, + Properties::VIRTUAL, + __bool__setWindowDecorationImplementation__bool, + "implementation of setWindowDecoration, should be implemented by derived classes ", + ""); I_Method0(bool, getWindowDecoration, Properties::VIRTUAL, __bool__getWindowDecoration, @@ -184,6 +194,9 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::GraphicsWindow) I_SimpleProperty(bool, WindowDecoration, __bool__getWindowDecoration, __void__setWindowDecoration__bool); + I_SimpleProperty(bool, WindowDecorationImplementation, + 0, + __bool__setWindowDecorationImplementation__bool); END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osgViewer::GraphicsWindowEmbedded) @@ -250,3 +263,12 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::GraphicsWindowEmbedded) ""); END_REFLECTOR +BEGIN_VALUE_REFLECTOR(osgViewer::GrapicsWindowFunctionProxy) + I_DeclaringFile("osgViewer/GraphicsWindow"); + I_Constructor1(IN, CGraphicsWindowFunction, function, + Properties::NON_EXPLICIT, + ____GrapicsWindowFunctionProxy__CGraphicsWindowFunction, + "", + ""); +END_REFLECTOR +