Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 25, 2009, 4:52:37 PM (16 years ago)
Author:
scheusso
Message:

merged menu branch to presentation2 branch with some additional fixes and features ;)

Location:
code/branches/presentation2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2

  • code/branches/presentation2/src/libraries/core/GUIManager.h

    r5929 r6150  
    3434
    3535#include <map>
     36#include <set>
    3637#include <string>
    3738#include <CEGUIForwardRefs.h>
     
    6566        ~GUIManager();
    6667
    67         void update(const Clock& time);
     68        void update(const Clock& time); 
    6869
    69         void showGUI(const std::string& name);
    70         void executeCode(const std::string& str);
     70        static void showGUI(const std::string& name, bool hidePrevious=false, bool showCursor=true);
     71        void showGUIExtra(const std::string& name, const std::string& ptr, bool hidePrevious=false, bool showCursor=true);
     72        static void hideGUI(const std::string& name);
     73        void toggleIngameGUI();
     74        void keyESC();
     75        void setBackground(const std::string& name);
    7176
    7277        void setCamera(Ogre::Camera* camera);
     
    8287    private:
    8388        GUIManager(const GUIManager& instance); //!< private and undefined copy c'tor (this is a singleton class)
     89
     90        std::set<std::string> showingGUIs_; //!< Keeps track of all the GUIs that are currently showing.
     91
     92        void executeCode(const std::string& str);
    8493
    8594        // keyHandler functions
     
    105114
    106115        static GUIManager*                   singletonPtr_s;    //!< Singleton reference to GUIManager
     116        bool                                 bShowIngameGUI_;
    107117
    108118    };
Note: See TracChangeset for help on using the changeset viewer.