Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 18, 2009, 10:00:15 AM (16 years ago)
Author:
rgrieder
Message:

Replaced <OgrePrerequisites.h> with "util/OgreForwardRefs.h": I haven't yet realised that OgrePrerequisites.h includes about every single std header by including the OgreMemoryManager.h file.
And while at it, I took care of some type conversions (partially revealed by the missing OgrePrerequisites.h that disabled warnings)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/orxonox/gui/GUIManager.cc

    r3153 r3192  
    395395    void GUIManager::mouseMoved(IntVector2 abs, IntVector2 rel, IntVector2 clippingSize)
    396396    {
    397         guiSystem_->injectMouseMove(rel.x, rel.y);
     397        guiSystem_->injectMouseMove(static_cast<float>(rel.x), static_cast<float>(rel.y));
    398398    }
    399399    void GUIManager::mouseScrolled(int abs, int rel)
    400400    {
    401         guiSystem_->injectMouseWheelChange(rel);
     401        guiSystem_->injectMouseWheelChange(static_cast<float>(rel));
    402402    }
    403403
Note: See TracChangeset for help on using the changeset viewer.