Changeset 8051 for code/branches/tutorial/src/libraries/core/GUIManager.h
- Timestamp:
- Mar 9, 2011, 11:27:05 AM (14 years ago)
- Location:
- code/branches/tutorial
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/tutorial
- Property svn:mergeinfo changed
/code/branches/usability merged: 8018-8041
- Property svn:mergeinfo changed
-
code/branches/tutorial/src/libraries/core/GUIManager.h
r7874 r8051 49 49 #include "util/Singleton.h" 50 50 #include "input/InputHandler.h" 51 #include "Core.h" 51 52 #include "OrxonoxClass.h" 52 53 #include "WindowEventListener.h" … … 88 89 void showGUIExtra(const std::string& name, const std::string& ptr, bool bHidePrevious = false, bool bNoInput = false); 89 90 static void hideGUI(const std::string& name); 91 static void toggleGUI(const std::string& name, bool bHidePrevious = false, bool bNoInput = false); 92 void toggleGUIHelper(const std::string& name, bool bHidePrevious, bool bNoInput, bool show); // tolua_export 90 93 void keyESC(); 91 94 void setBackgroundImage(const std::string& imageSet, const std::string imageName); // tolua_export 92 95 void setBackgroundImage(const std::string& image); 96 97 static void navigateGUI(const std::string& mode); 98 void guisActiveChanged(bool active); // tolua_export 99 100 /** 101 @brief Helper method to get the developer's mode without having to export Core.h. 102 @see Core::inDevMode 103 */ 104 static bool inDevMode(void) { return Core::getInstance().inDevMode(); } // tolua_export 93 105 94 106 //! Creates a new InputState to be used with a GUI Sheet … … 122 134 template <typename FunctionType> 123 135 bool protectedCall(FunctionType function); 136 137 static const std::string NAVIGATE_UP; 138 static const std::string NAVIGATE_DOWN; 139 static const std::string NAVIGATE_LEFT; 140 static const std::string NAVIGATE_RIGHT; 141 static const std::string NAVIGATE_ENTER; 142 143 bool GUIsActive_; //!< Whether there are any GUIs active at a given moment. 124 144 125 145 // keyHandler functions
Note: See TracChangeset
for help on using the changeset viewer.