From 577313ae7de4724e03a20e1a443e8dc0e9d0a81f Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 24 Jan 2007 12:59:11 +0000 Subject: [PATCH] Updated wrappers --- src/osgWrappers/osgGA/GUIEventAdapter.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/osgWrappers/osgGA/GUIEventAdapter.cpp b/src/osgWrappers/osgGA/GUIEventAdapter.cpp index b779e4303..0bc398a42 100644 --- a/src/osgWrappers/osgGA/GUIEventAdapter.cpp +++ b/src/osgWrappers/osgGA/GUIEventAdapter.cpp @@ -217,6 +217,14 @@ BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventAdapter) ____GUIEventAdapter__C5_GUIEventAdapter_R1, "", ""); + I_Method1(void, setHandled, IN, bool, handled, + __void__setHandled__bool, + "Set whether this event has been handled by an event handler or not. ", + ""); + I_Method0(bool, getHandled, + __bool__getHandled, + "Get whether this event has been handled by an event handler or not. ", + ""); I_Method1(void, setEventType, IN, osgGA::GUIEventAdapter::EventType, Type, __void__setEventType__EventType, "Get the Type of the GUI GUIEventAdapter. ", @@ -386,6 +394,9 @@ BEGIN_OBJECT_REFLECTOR(osgGA::GUIEventAdapter) I_SimpleProperty(osgGA::GUIEventAdapter::EventType, EventType, __EventType__getEventType, __void__setEventType__EventType); + I_SimpleProperty(bool, Handled, + __bool__getHandled, + __void__setHandled__bool); I_SimpleProperty(int, Key, __int__getKey, __void__setKey__int);