Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 13, 2011, 1:25:46 AM (13 years ago)
Author:
landauf
Message:

WindowEventListener now declares if the window's focus is active or not.
CEGUI stops highlighting menu items if the window's focus is lost, i.e. after pressing alt+tab

File:
1 edited

Legend:

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

    r5781 r7874  
    5757
    5858    //! Calls all registered objects
    59     /*static*/ void WindowEventListener::changeWindowFocus()
     59    /*static*/ void WindowEventListener::changeWindowFocus(bool bFocus)
    6060    {
    6161        for (ObjectList<WindowEventListener>::iterator it = ObjectList<WindowEventListener>::begin(); it; ++it)
    62             it->windowFocusChanged();
     62            it->windowFocusChanged(bFocus);
    6363    }
    6464}
Note: See TracChangeset for help on using the changeset viewer.