Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 12, 2009, 11:32:41 AM (16 years ago)
Author:
scheusso
Message:

ESC handling in ingame menu: if theres already an opened GUI sheet then hide it, if not open the ingame menu
in mainmenu everything should remain the same

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/menu/src/libraries/core/GUIManager.h

    r6032 r6048  
    7171        void showGUIExtra(const std::string& name, const std::string& ptr, bool hidePrevious=false, bool showCursor=true);
    7272        static void hideGUI(const std::string& name);
    73         void setToggleMode(const bool& mode);
     73        void toggleIngameGUI();
     74        void keyESC();
    7475        void setBackground(const std::string& name);
    7576
     
    113114
    114115        static GUIManager*                   singletonPtr_s;    //!< Singleton reference to GUIManager
    115         bool                                 bToggleMode_;
     116        bool                                 bShowIngameGUI_;
    116117
    117118    };
Note: See TracChangeset for help on using the changeset viewer.