Changeset 8729 for code/trunk/src/libraries/core/GUIManager.h
- Timestamp:
- Jul 4, 2011, 2:47:44 AM (13 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
-
code/trunk/src/libraries/core/GUIManager.h
r8706 r8729 39 39 40 40 #include <map> 41 #include <set>42 41 #include <string> 43 42 #include <CEGUIForwardRefs.h> … … 47 46 #include "util/DestructionHelper.h" 48 47 #include "util/OgreForwardRefs.h" 49 #include "util/ TriBool.h"48 #include "util/tribool.h" 50 49 #include "util/Singleton.h" 51 50 #include "input/InputHandler.h" 52 #include "Core.h"53 51 #include "OrxonoxClass.h" 54 52 #include "WindowEventListener.h" 55 56 // Tolua includes (have to be relative to the current directory)57 /*58 $cfile "../util/TriBool.h" // tolua_export59 */60 53 61 54 #if CEGUI_VERSION_MAJOR < 1 && CEGUI_VERSION_MINOR < 7 … … 66 59 { // tolua_export 67 60 class PlayerInfo; // Forward declaration 61 62 // Acquaint Tolua with tribool 63 /* tolua_begin 64 struct dontcare_keyword_t 65 { 66 dontcare_keyword_t(); 67 }; 68 class tribool 69 { 70 tribool(bool value); 71 tribool(dontcare_keyword_t); 72 bool operator==(tribool); 73 }; 74 tolua_end */ 68 75 69 76 /** … … 104 111 void setBackgroundImage(const std::string& image); 105 112 106 /** 107 @brief Helper method to get the developer's mode without having to export Core.h. 108 @see Core::inDevMode 109 */ 110 static bool inDevMode(void) { return Core::getInstance().inDevMode(); } // tolua_export 113 static bool inDevMode(void); // tolua_export 111 114 112 115 //! Creates a new InputState to be used with a GUI Sheet 113 const std::string& createInputState(const std::string& name, TriBool::Value showCursor = TriBool::True, TriBool::Value useKeyboard = TriBool::True, bool bBlockJoyStick = false); // tolua_export116 const std::string& createInputState(const std::string& name, tribool showCursor = tribool(true), tribool useKeyboard = tribool(true), bool bBlockJoyStick = false); // tolua_export 114 117 LuaState* getLuaState(void) 115 118 { return this->luaState_; }
Note: See TracChangeset
for help on using the changeset viewer.