diff --git a/include/osgWidget/Box b/include/osgWidget/Box index a69393568..50890005c 100644 --- a/include/osgWidget/Box +++ b/include/osgWidget/Box @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: Box 46 2008-04-30 16:11:51Z cubicool $ diff --git a/include/osgWidget/Canvas b/include/osgWidget/Canvas index 511ca7fb2..273ae8b39 100644 --- a/include/osgWidget/Canvas +++ b/include/osgWidget/Canvas @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: Canvas 66 2008-07-14 21:54:09Z cubicool $ diff --git a/include/osgWidget/EventInterface b/include/osgWidget/EventInterface index 96afa7aa1..8002b1e78 100644 --- a/include/osgWidget/EventInterface +++ b/include/osgWidget/EventInterface @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: EventInterface 64 2008-06-30 21:32:00Z cubicool $ diff --git a/include/osgWidget/Export b/include/osgWidget/Export index 1f7afc4ea..bdac50fe3 100644 --- a/include/osgWidget/Export +++ b/include/osgWidget/Export @@ -1,4 +1,4 @@ -/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield * * This library is open source and may be redistributed and/or modified under * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or diff --git a/include/osgWidget/Frame b/include/osgWidget/Frame index 0947bf1a9..5ced4d775 100644 --- a/include/osgWidget/Frame +++ b/include/osgWidget/Frame @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: Frame 59 2008-05-15 20:55:31Z cubicool $ diff --git a/include/osgWidget/Input b/include/osgWidget/Input index 889144959..40cd92d43 100644 --- a/include/osgWidget/Input +++ b/include/osgWidget/Input @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: Input 45 2008-04-23 16:46:11Z cubicool $ diff --git a/include/osgWidget/Label b/include/osgWidget/Label index f095a39d8..c86e6c0e6 100644 --- a/include/osgWidget/Label +++ b/include/osgWidget/Label @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: Label 59 2008-05-15 20:55:31Z cubicool $ diff --git a/include/osgWidget/Lua b/include/osgWidget/Lua index 109acfc99..4f7e46aa6 100644 --- a/include/osgWidget/Lua +++ b/include/osgWidget/Lua @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: Lua 2 2008-01-24 16:11:26Z cubicool $ diff --git a/include/osgWidget/Python b/include/osgWidget/Python index 87375e50b..7a738d2cd 100644 --- a/include/osgWidget/Python +++ b/include/osgWidget/Python @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: Python 2 2008-01-24 16:11:26Z cubicool $ diff --git a/include/osgWidget/ScriptEngine b/include/osgWidget/ScriptEngine index e16f2147b..aa4326c9e 100644 --- a/include/osgWidget/ScriptEngine +++ b/include/osgWidget/ScriptEngine @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: ScriptEngine 2 2008-01-24 16:11:26Z cubicool $ diff --git a/include/osgWidget/StyleInterface b/include/osgWidget/StyleInterface index 8a0b9da16..008c8dd7a 100644 --- a/include/osgWidget/StyleInterface +++ b/include/osgWidget/StyleInterface @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: StyleInterface 63 2008-06-30 19:18:37Z cubicool $ diff --git a/include/osgWidget/StyleManager b/include/osgWidget/StyleManager index 0798d0afc..e0d6c8909 100644 --- a/include/osgWidget/StyleManager +++ b/include/osgWidget/StyleManager @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: StyleManager 61 2008-06-24 20:24:26Z cubicool $ diff --git a/include/osgWidget/Table b/include/osgWidget/Table index 8eaba1a89..021e21faf 100644 --- a/include/osgWidget/Table +++ b/include/osgWidget/Table @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: Table 48 2008-05-05 14:13:20Z cubicool $ diff --git a/include/osgWidget/Types b/include/osgWidget/Types index e65c65926..e05c6453e 100644 --- a/include/osgWidget/Types +++ b/include/osgWidget/Types @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: Types 33 2008-04-04 19:03:12Z cubicool $ diff --git a/include/osgWidget/UIObjectParent b/include/osgWidget/UIObjectParent index 3cc21c0a5..4e687f782 100644 --- a/include/osgWidget/UIObjectParent +++ b/include/osgWidget/UIObjectParent @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: UIObjectParent 55 2008-05-12 19:14:42Z cubicool $ diff --git a/include/osgWidget/Util b/include/osgWidget/Util index 4a34837ca..ae1018c8b 100644 --- a/include/osgWidget/Util +++ b/include/osgWidget/Util @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: Util 59 2008-05-15 20:55:31Z cubicool $ diff --git a/include/osgWidget/ViewerEventHandlers b/include/osgWidget/ViewerEventHandlers index 1d83a3579..5e10f13b9 100644 --- a/include/osgWidget/ViewerEventHandlers +++ b/include/osgWidget/ViewerEventHandlers @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: ViewerEventHandlers 31 2008-04-01 19:36:41Z cubicool $ diff --git a/include/osgWidget/Widget b/include/osgWidget/Widget index cedf43306..766cb9bc7 100644 --- a/include/osgWidget/Widget +++ b/include/osgWidget/Widget @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: Widget 64 2008-06-30 21:32:00Z cubicool $ diff --git a/include/osgWidget/Window b/include/osgWidget/Window index fca1f7bab..e464f4354 100644 --- a/include/osgWidget/Window +++ b/include/osgWidget/Window @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: Window 66 2008-07-14 21:54:09Z cubicool $ diff --git a/include/osgWidget/WindowManager b/include/osgWidget/WindowManager index ec69ef70b..caa823264 100644 --- a/include/osgWidget/WindowManager +++ b/include/osgWidget/WindowManager @@ -1,3 +1,16 @@ +/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2008 Robert Osfield + * + * This library is open source and may be redistributed and/or modified under + * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or + * (at your option) any later version. The full license is in LICENSE file + * included with this distribution, and on the openscenegraph.org website. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * OpenSceneGraph Public License for more details. +*/ + // -*-c++-*- osgWidget - Code by: Jeremy Moles (cubicool) 2007-2008 // $Id: WindowManager 66 2008-07-14 21:54:09Z cubicool $ diff --git a/src/osgWrappers/osgWidget/StyleManager.cpp b/src/osgWrappers/osgWidget/StyleManager.cpp index f32710d7f..7ed1aaa62 100644 --- a/src/osgWrappers/osgWidget/StyleManager.cpp +++ b/src/osgWrappers/osgWidget/StyleManager.cpp @@ -139,6 +139,12 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::Style) __bool__strToFill__C5_std_string_R1_S, "", ""); + I_ProtectedMethod2(bool, _match, IN, const char *, seq, IN, osgWidget::Reader, r, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __bool___match__C5_char_P1__Reader, + "", + ""); I_SimpleProperty(const std::string &, Style, __C5_std_string_R1__getStyle, __void__setStyle__C5_std_string_R1); diff --git a/src/osgWrappers/osgWidget/ViewerEventHandlers.cpp b/src/osgWrappers/osgWidget/ViewerEventHandlers.cpp index 6eca4b824..8a1302287 100644 --- a/src/osgWrappers/osgWidget/ViewerEventHandlers.cpp +++ b/src/osgWrappers/osgWidget/ViewerEventHandlers.cpp @@ -54,6 +54,54 @@ BEGIN_OBJECT_REFLECTOR(osgWidget::MouseHandler) __bool__handle__C5_osgGA_GUIEventAdapter_R1__osgGA_GUIActionAdapter_R1__osg_Object_P1__osg_NodeVisitor_P1, "Handle events, return true if handled, false otherwise. ", ""); + I_ProtectedMethod3(bool, _handleMousePush, IN, float, x, IN, float, x, IN, int, x, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __bool___handleMousePush__float__float__int, + "", + ""); + I_ProtectedMethod3(bool, _handleMouseRelease, IN, float, x, IN, float, x, IN, int, x, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __bool___handleMouseRelease__float__float__int, + "", + ""); + I_ProtectedMethod3(bool, _handleMouseDoubleClick, IN, float, x, IN, float, x, IN, int, x, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __bool___handleMouseDoubleClick__float__float__int, + "", + ""); + I_ProtectedMethod3(bool, _handleMouseDrag, IN, float, x, IN, float, x, IN, int, x, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __bool___handleMouseDrag__float__float__int, + "", + ""); + I_ProtectedMethod3(bool, _handleMouseMove, IN, float, x, IN, float, x, IN, int, x, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __bool___handleMouseMove__float__float__int, + "", + ""); + I_ProtectedMethod3(bool, _handleMouseScroll, IN, float, x, IN, float, x, IN, int, x, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __bool___handleMouseScroll__float__float__int, + "", + ""); + I_ProtectedMethod1(MouseAction, _isMouseEvent, IN, osgGA::GUIEventAdapter::EventType, x, + Properties::NON_VIRTUAL, + Properties::CONST, + __MouseAction___isMouseEvent__osgGA_GUIEventAdapter_EventType, + "", + ""); + I_ProtectedMethod3(bool, _doMouseEvent, IN, float, x, IN, float, x, IN, MouseEvent, x, + Properties::NON_VIRTUAL, + Properties::NON_CONST, + __bool___doMouseEvent__float__float__MouseEvent, + "", + ""); END_REFLECTOR BEGIN_OBJECT_REFLECTOR(osgWidget::ResizeHandler)