From 3deda9f2a7945b98178aca63dcdf5936a5ed15f2 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 13 Apr 2007 13:28:10 +0000 Subject: [PATCH] Updated wrappers --- src/osgWrappers/osgViewer/GraphicsWindow.cpp | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/osgWrappers/osgViewer/GraphicsWindow.cpp b/src/osgWrappers/osgViewer/GraphicsWindow.cpp index 2dc384be0..d9606000f 100644 --- a/src/osgWrappers/osgViewer/GraphicsWindow.cpp +++ b/src/osgWrappers/osgViewer/GraphicsWindow.cpp @@ -48,11 +48,26 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::GraphicsWindow) __void__checkEvents, "", ""); + I_Method4(void, setWindowRectangle, IN, int, x, IN, int, y, IN, int, width, IN, int, height, + Properties::VIRTUAL, + __void__setWindowRectangle__int__int__int__int, + "Set the window's position and size. ", + ""); + 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, __void__setWindowDecoration__bool, "Set Window decoration. ", ""); + I_Method0(bool, getWindowDecoration, + Properties::VIRTUAL, + __bool__getWindowDecoration, + "Set Window decoration. ", + ""); I_Method0(void, grabFocus, Properties::VIRTUAL, __void__grabFocus, @@ -132,7 +147,7 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::GraphicsWindow) __osgGA_EventQueue_P1__getEventQueue, __void__setEventQueue__osgGA_EventQueue_P1); I_SimpleProperty(bool, WindowDecoration, - 0, + __bool__getWindowDecoration, __void__setWindowDecoration__bool); END_REFLECTOR