Converted osgGA::GUIEventAdapter into a concrete class capable of respresenting

keyboard and mouse events.

Added osgGA::EventQueue class to support a thread safe event queue and adaption
of keyboard and mouse events.

Removed osgProducer::EventAdapter as GUIEventAdapter replaces it.

Adapted osgProducer and examples to work with the new changes to osgGA.
This commit is contained in:
Robert Osfield
2006-03-08 14:09:47 +00:00
parent 582967286a
commit dbbabf87c6
37 changed files with 450 additions and 835 deletions

View File

@@ -99,6 +99,10 @@ SOURCE=..\..\src\osgGA\AnimationPathManipulator.cpp
# End Source File
# Begin Source File
SOURCE=..\..\src\osgGA\EventQueue.cpp
# End Source File
# Begin Source File
SOURCE=..\..\src\osgGA\EventVisitor.cpp
# End Source File
# Begin Source File
@@ -175,6 +179,10 @@ SOURCE=..\..\Include\osgGA\Export
# End Source File
# Begin Source File
SOURCE=..\..\Include\osgGA\EventQueue
# End Source File
# Begin Source File
SOURCE=..\..\Include\osgGA\EventVisitor
# End Source File
# Begin Source File

View File

@@ -95,10 +95,6 @@ LINK32=link.exe
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE=..\..\src\osgProducer\EventAdapter.cpp
# End Source File
# Begin Source File
SOURCE=..\..\src\osgProducer\KeyboardMouseCallback.cpp
# End Source File
# Begin Source File
@@ -131,10 +127,6 @@ SOURCE=..\..\src\osgProducer\ViewerEventHandler.cpp
# PROP Default_Filter ";h;hpp;hxx;hm;inl"
# Begin Source File
SOURCE=..\..\Include\osgProducer\EventAdapter
# End Source File
# Begin Source File
SOURCE=..\..\Include\osgProducer\Export
# End Source File
# Begin Source File

View File

@@ -103,6 +103,14 @@ SOURCE=..\..\..\src\osgWrappers\osgGA\AnimationPathManipulator.cpp
SOURCE=..\..\..\src\osgWrappers\osgGA\DriveManipulator.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\src\osgWrappers\osgGA\Event.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\src\osgWrappers\osgGA\EventQueue.cpp
# End Source File
# Begin Source File
SOURCE=..\..\..\src\osgWrappers\osgGA\EventVisitor.cpp
# End Source File

View File

@@ -96,7 +96,7 @@ LINK32=link.exe
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
# Begin Source File
SOURCE=..\..\..\src\osgWrappers\osgProducer\EventAdapter.cpp
SOURCE=..\..\..\src\osgWrappers\osgProducer\Export.cpp
# End Source File
# Begin Source File