Changeset 7874 for code/trunk/src/libraries/core/GUIManager.cc
- Timestamp:
- Feb 13, 2011, 1:25:46 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/libraries/core/GUIManager.cc
r7873 r7874 393 393 394 394 /** 395 @brief Indicates that the mouse left the application's window. 396 */ 397 void GUIManager::mouseLeft() 398 { 399 this->protectedCall(boost::bind(&CEGUI::System::injectMouseLeaves, _1)); 400 } 401 402 /** 395 403 @brief 396 404 converts mouse event code to CEGUI event code … … 505 513 this->guiRenderer_->setDisplaySize(CEGUI::Size(newWidth, newHeight)); 506 514 } 515 516 /** 517 @brief Notify CEGUI if the windows loses the focus (stops higlight of menu items, etc). 518 */ 519 void GUIManager::windowFocusChanged(bool bFocus) 520 { 521 if (!bFocus) 522 this->mouseLeft(); 523 } 507 524 }
Note: See TracChangeset
for help on using the changeset viewer.