Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3311 for code/branches/core4


Ignore:
Timestamp:
Jul 19, 2009, 12:31:28 PM (15 years ago)
Author:
rgrieder
Message:

You can't watch out for unwanted changes every time…
Reverting some stuff with non-exclusive input mode stuff.

Location:
code/branches/core4/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core4/src/core/input/InputManager.cc

    r3310 r3311  
    177177        paramList.insert(std::make_pair(std::string("WINDOW"), windowHndStr.str()));
    178178#if defined(ORXONOX_PLATFORM_WINDOWS)
    179         paramList.insert(std::make_pair(std::string("w32_mouse"), std::string("DISCL_NONEXCLUSIVE")));
    180         paramList.insert(std::make_pair(std::string("w32_mouse"), std::string("DISCL_FOREGROUND")));
    181         paramList.insert(std::make_pair(std::string("w32_keyboard"), std::string("DISCL_NONEXCLUSIVE")));
    182         paramList.insert(std::make_pair(std::string("w32_keyboard"), std::string("DISCL_FOREGROUND")));
     179        //paramList.insert(std::make_pair(std::string("w32_mouse"), std::string("DISCL_NONEXCLUSIVE")));
     180        //paramList.insert(std::make_pair(std::string("w32_mouse"), std::string("DISCL_FOREGROUND")));
     181        //paramList.insert(std::make_pair(std::string("w32_keyboard"), std::string("DISCL_NONEXCLUSIVE")));
     182        //paramList.insert(std::make_pair(std::string("w32_keyboard"), std::string("DISCL_FOREGROUND")));
    183183#elif defined(ORXONOX_PLATFORM_LINUX)
    184184        paramList.insert(std::make_pair(std::string("XAutoRepeatOn"), std::string("true")));
  • code/branches/core4/src/orxonox/gui/GUIManager.cc

    r3310 r3311  
    420420    void GUIManager::mouseMoved(IntVector2 abs, IntVector2 rel, IntVector2 clippingSize)
    421421    {
    422         //guiSystem_->injectMouseMove(static_cast<float>(rel.x), static_cast<float>(rel.y));
    423         guiSystem_->injectMousePosition(static_cast<float>(abs.x), static_cast<float>(abs.y));
     422        guiSystem_->injectMouseMove(static_cast<float>(rel.x), static_cast<float>(rel.y));
    424423    }
    425424    void GUIManager::mouseScrolled(int abs, int rel)
Note: See TracChangeset for help on using the changeset viewer.