Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 30, 2010, 3:41:15 PM (15 years ago)
Author:
rgrieder
Message:

Restructured InitialiseGUI.lua a little bit. Also sorted out cursor showing issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/gamestate/src/libraries/core/input/InputManager.h

    r6657 r6658  
    168168        //! Returns a pointer to the OIS InputManager. Only you if you know what you're doing!
    169169        OIS::InputManager* getOISInputManager() { return this->oisInputManager_; }
     170        //! Returns the position of the cursor as std::pair of ints
    170171        std::pair<int, int> getMousePosition() const;
     172        //! Tells whether the mouse is used exclusively to the game
     173        bool isMouseExclusive() const { return this->exclusiveMouse_; } // tolua_export
    171174
    172175        //-------------------------------
Note: See TracChangeset for help on using the changeset viewer.