Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 14, 2011, 4:08:06 AM (14 years ago)
Author:
rgrieder
Message:

Merged mac_osx branch (after renaming it from ois_update) into kicklib branch.

Location:
code/branches/kicklib
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • code/branches/kicklib

  • code/branches/kicklib/src/libraries/core/DynLib.h

    r8071 r8073  
    110110
    111111    protected:
     112
    112113        /// Handle to the loaded library.
    113114        DYNLIB_HANDLE m_hInst;
  • code/branches/kicklib/src/libraries/core/GUIManager.cc

    r8071 r8073  
    369369        false                     | False | True  | Dontcare
    370370        */
     371
     372#ifdef ORXONOX_PLATFORM_APPLE
     373        // There is no non exclusive mode on OS X yet
     374        state->setMouseExclusive(TriBool::True);
     375#else
    371376        if (showCursor == TriBool::Dontcare)
    372377            state->setMouseExclusive(TriBool::Dontcare);
     
    375380        else
    376381            state->setMouseExclusive(TriBool::False);
     382#endif
    377383
    378384        if (showCursor == TriBool::True)
     
    436442    void GUIManager::buttonPressed(MouseButtonCode::ByEnum id)
    437443    {
    438         //guiSystem_->injectMouseButtonDown(convertButton(id));
    439444        this->protectedCall(boost::bind(&CEGUI::System::injectMouseButtonDown, _1, convertButton(id)));
    440445    }
  • code/branches/kicklib/src/libraries/core/GraphicsManager.cc

    r8071 r8073  
    269269
    270270        Ogre::WindowEventUtilities::addWindowEventListener(this->renderWindow_, ogreWindowEventListener_.get());
    271                
     271
    272272// HACK
    273273#ifdef ORXONOX_PLATFORM_APPLE
     
    278278#endif
    279279// End of HACK
    280                
     280
    281281        // create a full screen default viewport
    282282        // Note: This may throw when adding a viewport with an existing z-order!
  • code/branches/kicklib/src/libraries/core/PathConfig.cc

    r8071 r8073  
    208208#ifdef ORXONOX_PLATFORM_UNIX
    209209            char* userDataPathPtr(getenv("HOME"));
    210 #elif ORXONOX_PLATFORM_APPLE
    211             char* userDataPathPtr(getenv("HOME"));
    212210#else
    213211            char* userDataPathPtr(getenv("APPDATA"));
Note: See TracChangeset for help on using the changeset viewer.