Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8042


Ignore:
Timestamp:
Mar 7, 2011, 7:15:02 PM (13 years ago)
Author:
rgrieder
Message:

There is no non exclusive/grab mode for the mouse on Mac OS X —> always show the CEGUI cursor.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/mac_osx/src/libraries/core/GUIManager.cc

    r7767 r8042  
    278278        false                     | False | True  | Dontcare
    279279        */
     280
     281#ifdef ORXONOX_PLATFORM_APPLE
     282        // There is no non exclusive mode on OS X yet
     283        state->setMouseExclusive(TriBool::True);
     284#else
    280285        if (showCursor == TriBool::Dontcare)
    281286            state->setMouseExclusive(TriBool::Dontcare);
     
    284289        else
    285290            state->setMouseExclusive(TriBool::False);
     291#endif
    286292
    287293        if (showCursor == TriBool::True)
Note: See TracChangeset for help on using the changeset viewer.