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/GUIManager.h

    r7873 r7874  
    132132        void mouseMoved    (IntVector2 abs, IntVector2 rel, IntVector2 clippingSize);
    133133        void mouseScrolled (int abs, int rel);
     134        void mouseLeft     ();
    134135
    135136        // window event handler
    136137        virtual void windowResized(unsigned int newWidth, unsigned int newHeight);
     138        virtual void windowFocusChanged(bool bFocus);
    137139
    138140        scoped_ptr<CEGUI::OgreCEGUIRenderer> guiRenderer_;      //!< CEGUI's interface to the Ogre Engine
Note: See TracChangeset for help on using the changeset viewer.