Changeset 3153 for code/branches/pch/src/orxonox
- Timestamp:
- Jun 13, 2009, 4:12:45 PM (16 years ago)
- Location:
- code/branches/pch/src/orxonox
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/gui/GUIManager.cc
r3143 r3153 271 271 Returns false if the Overlay was already present. 272 272 */ 273 bool GUIManager::registerOverlay( std::stringname, GUIOverlay* overlay)273 bool GUIManager::registerOverlay(const std::string& name, GUIOverlay* overlay) 274 274 { 275 275 return (this->guiOverlays_.insert(std::pair<std::string, GUIOverlay*>(name, overlay))).second; … … 284 284 Returns a pointer to the GUIOverlay. 285 285 */ 286 GUIOverlay* GUIManager::getOverlay( std::stringname)286 GUIOverlay* GUIManager::getOverlay(const std::string& name) 287 287 { 288 288 return (this->guiOverlays_.find(name))->second; -
code/branches/pch/src/orxonox/gui/GUIManager.h
r3143 r3153 91 91 void executeCode(const std::string& str); 92 92 93 bool registerOverlay( std::stringname, GUIOverlay* overlay); //!< Register a GUIOverlay with the GUIManager.94 GUIOverlay* getOverlay( std::stringname); // Get the GUIOverlay of the GUI with the given name.93 bool registerOverlay(const std::string& name, GUIOverlay* overlay); //!< Register a GUIOverlay with the GUIManager. 94 GUIOverlay* getOverlay(const std::string& name); // Get the GUIOverlay of the GUI with the given name. 95 95 96 96 void setCamera(Ogre::Camera* camera); -
code/branches/pch/src/orxonox/tools/TextureGenerator.cc
r3145 r3153 65 65 unsigned int TextureGenerator::materialCount_s = 0; 66 66 67 /*static*/ const std::string& TextureGenerator::getMaterialName( std::stringtextureName, const ColourValue& colour)67 /*static*/ const std::string& TextureGenerator::getMaterialName(const std::string& textureName, const ColourValue& colour) 68 68 { 69 69 std::map<ColourValue, std::string>& colourMap = materials_s[textureName]; -
code/branches/pch/src/orxonox/tools/TextureGenerator.h
r3131 r3153 46 46 { 47 47 public: 48 static const std::string& getMaterialName( std::stringtextureName, const ColourValue& colour);48 static const std::string& getMaterialName(const std::string& textureName, const ColourValue& colour); 49 49 50 50 private:
Note: See TracChangeset
for help on using the changeset viewer.