Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 12, 2011, 9:10:41 PM (13 years ago)
Author:
landauf
Message:

fixed mouse cursor offset after window resize

File:
1 edited

Legend:

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

    r7811 r7873  
    190190    void GUIManager::changedGUIScheme(void)
    191191    {
    192        
     192
    193193    }
    194194
     
    498498    }
    499499
     500    /**
     501        @brief Callback of window event listener, called if the window is resized. Sets the display size of CEGUI.
     502    */
     503    void GUIManager::windowResized(unsigned int newWidth, unsigned int newHeight)
     504    {
     505        this->guiRenderer_->setDisplaySize(CEGUI::Size(newWidth, newHeight));
     506    }
    500507}
Note: See TracChangeset for help on using the changeset viewer.