Changeset 3192 for code/branches/pch/src/orxonox/gui
- Timestamp:
- Jun 18, 2009, 10:00:15 AM (16 years ago)
- Location:
- code/branches/pch/src/orxonox/gui
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/gui/GUIManager.cc
r3153 r3192 395 395 void GUIManager::mouseMoved(IntVector2 abs, IntVector2 rel, IntVector2 clippingSize) 396 396 { 397 guiSystem_->injectMouseMove( rel.x, rel.y);397 guiSystem_->injectMouseMove(static_cast<float>(rel.x), static_cast<float>(rel.y)); 398 398 } 399 399 void GUIManager::mouseScrolled(int abs, int rel) 400 400 { 401 guiSystem_->injectMouseWheelChange( rel);401 guiSystem_->injectMouseWheelChange(static_cast<float>(rel)); 402 402 } 403 403 -
code/branches/pch/src/orxonox/gui/GUIManager.h
r3156 r3192 41 41 #include <map> 42 42 #include <string> 43 #include <OgrePrerequisites.h>44 43 #include <CEGUIForwardRefs.h> 45 44 45 #include "util/OgreForwardRefs.h" 46 46 #include "core/input/InputInterfaces.h" 47 47
Note: See TracChangeset
for help on using the changeset viewer.