Changeset 7401 for code/trunk/src/orxonox/overlays
- Timestamp:
- Sep 11, 2010, 12:34:00 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/doc (added) merged: 7290-7292,7296-7300,7302-7304,7306-7312,7315-7318,7323,7325,7327,7331-7332,7334-7335,7345-7347,7352-7353,7356-7357,7361,7363-7367,7371-7375,7388
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/overlays/GUISheet.cc
r7163 r7401 54 54 } 55 55 56 void GUISheet::XMLPort(Element& xml Element, XMLPort::Mode mode)56 void GUISheet::XMLPort(Element& xmlelement, XMLPort::Mode mode) 57 57 { 58 SUPER(GUISheet, XMLPort, xml Element, mode);58 SUPER(GUISheet, XMLPort, xmlelement, mode); 59 59 60 XMLPortParam(GUISheet, "showOnLoad", setShowOnLoad, getShowOnLoad, xml Element, mode);61 XMLPortParam(GUISheet, "hidePrevious", setPreviousHiding, getPreviousHiding, xml Element, mode);62 XMLPortParam(GUISheet, "sheetName", setSheetName, getSheetName, xml Element, mode);63 XMLPortParam(GUISheet, "backgroundImage", setBackgroundImage, getBackgroundImage, xml Element, mode);60 XMLPortParam(GUISheet, "showOnLoad", setShowOnLoad, getShowOnLoad, xmlelement, mode); 61 XMLPortParam(GUISheet, "hidePrevious", setPreviousHiding, getPreviousHiding, xmlelement, mode); 62 XMLPortParam(GUISheet, "sheetName", setSheetName, getSheetName, xmlelement, mode); 63 XMLPortParam(GUISheet, "backgroundImage", setBackgroundImage, getBackgroundImage, xmlelement, mode); 64 64 65 65 if (this->bShowOnLoad_) -
code/trunk/src/orxonox/overlays/GUISheet.h
r6746 r7401 44 44 ~GUISheet(); 45 45 46 void XMLPort(Element& xml Element, XMLPort::Mode mode);46 void XMLPort(Element& xmlelement, XMLPort::Mode mode); 47 47 48 48 void show(); -
code/trunk/src/orxonox/overlays/InGameConsole.cc
r7284 r7401 454 454 /** 455 455 @brief Prints string to bottom line. 456 @param s String to be printed 456 @param text The string to be printed 457 @param type The type of the text, defines the color 458 @param index The index of the text overlay in which the string will be displayed 459 @param alwaysShift If true the ohter lines in the console are always shifted by one line 457 460 */ 458 461 void InGameConsole::print(const std::string& text, Shell::LineType type, int index, bool alwaysShift) -
code/trunk/src/orxonox/overlays/OrxonoxOverlay.cc
r7284 r7401 126 126 BaseObject::XMLPort() 127 127 */ 128 void OrxonoxOverlay::XMLPort(Element& xml Element, XMLPort::Mode mode)129 { 130 SUPER(OrxonoxOverlay, XMLPort, xml Element, mode);131 132 XMLPortParam(OrxonoxOverlay, "size", setSize, getSize, xml Element, mode);133 XMLPortParam(OrxonoxOverlay, "pickpoint", setPickPoint, getPickPoint, xml Element, mode);134 XMLPortParam(OrxonoxOverlay, "position", setPosition, getPosition, xml Element, mode);135 XMLPortParam(OrxonoxOverlay, "rotation", setRotation, getRotation, xml Element, mode);136 XMLPortParam(OrxonoxOverlay, "correctaspect", setAspectCorrection, getAspectCorrection, xml Element, mode);137 XMLPortParam(OrxonoxOverlay, "background", setBackgroundMaterial, getBackgroundMaterial, xml Element, mode);128 void OrxonoxOverlay::XMLPort(Element& xmlelement, XMLPort::Mode mode) 129 { 130 SUPER(OrxonoxOverlay, XMLPort, xmlelement, mode); 131 132 XMLPortParam(OrxonoxOverlay, "size", setSize, getSize, xmlelement, mode); 133 XMLPortParam(OrxonoxOverlay, "pickpoint", setPickPoint, getPickPoint, xmlelement, mode); 134 XMLPortParam(OrxonoxOverlay, "position", setPosition, getPosition, xmlelement, mode); 135 XMLPortParam(OrxonoxOverlay, "rotation", setRotation, getRotation, xmlelement, mode); 136 XMLPortParam(OrxonoxOverlay, "correctaspect", setAspectCorrection, getAspectCorrection, xmlelement, mode); 137 XMLPortParam(OrxonoxOverlay, "background", setBackgroundMaterial, getBackgroundMaterial, xmlelement, mode); 138 138 } 139 139 … … 306 306 The name of the overlay defined BaseObject::setName() (usually done with the "name" 307 307 attribute in the xml file). 308 @param scale 309 The scaling factor 308 310 */ 309 311 /*static*/ void OrxonoxOverlay::scaleOverlay(const std::string& name, float scale) … … 346 348 The name of the overlay defined BaseObject::setName() (usually done with the "name" 347 349 attribute in the xml file). 350 @param scroll 351 The relative translation of the overlay 348 352 */ 349 353 /*static*/ void OrxonoxOverlay::scrollOverlay(const std::string& name, const Vector2& scroll) … … 360 364 The name of the overlay defined BaseObject::setName() (usually done with the "name" 361 365 attribute in the xml file). 366 @param angle 367 The rotation angle in degree 362 368 */ 363 369 /*static*/ void OrxonoxOverlay::rotateOverlay(const std::string& name, const Degree& angle) -
code/trunk/src/orxonox/overlays/OrxonoxOverlay.h
r6753 r7401 90 90 virtual ~OrxonoxOverlay(); 91 91 92 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);92 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 93 93 94 94 virtual void changedName(); -
code/trunk/src/orxonox/overlays/OverlayGroup.cc
r7284 r7401 71 71 BaseObject::XMLPort() 72 72 */ 73 void OverlayGroup::XMLPort(Element& xml Element, XMLPort::Mode mode)74 { 75 SUPER(OverlayGroup, XMLPort, xml Element, mode);76 77 XMLPortParam(OverlayGroup, "scale", setScale, getScale, xml Element, mode);78 XMLPortParam(OverlayGroup, "scroll", setScroll, getScroll, xml Element, mode);73 void OverlayGroup::XMLPort(Element& xmlelement, XMLPort::Mode mode) 74 { 75 SUPER(OverlayGroup, XMLPort, xmlelement, mode); 76 77 XMLPortParam(OverlayGroup, "scale", setScale, getScale, xmlelement, mode); 78 XMLPortParam(OverlayGroup, "scroll", setScroll, getScroll, xmlelement, mode); 79 79 // loads all the child elements 80 XMLPortObject(OverlayGroup, OrxonoxOverlay, "", addElement, getElement, xml Element, mode);80 XMLPortObject(OverlayGroup, OrxonoxOverlay, "", addElement, getElement, xmlelement, mode); 81 81 } 82 82 … … 114 114 @brief 115 115 Removes an element from the map. 116 @param name117 The name ofthe element that is removed.116 @param element 117 A pointer to the element that is removed. 118 118 @return 119 119 Returns true if there was such an element to remove, false if not. … … 181 181 The name of the group defined BaseObject::setName() (usually done with the "name" 182 182 attribute in the xml file). 183 @param scale 184 The scaling factor 183 185 */ 184 186 /*static*/ void OverlayGroup::scaleGroup(const std::string& name, float scale) … … 197 199 The name of the group defined BaseObject::setName() (usually done with the "name" 198 200 attribute in the xml file). 201 @param scroll 202 The relative translation of the overlay group 199 203 */ 200 204 /*static*/ void OverlayGroup::scrollGroup(const std::string& name, const Vector2& scroll) -
code/trunk/src/orxonox/overlays/OverlayGroup.h
r6054 r7401 58 58 ~OverlayGroup(); 59 59 60 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);60 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 61 61 62 62 static void toggleVisibility(const std::string& name);
Note: See TracChangeset
for help on using the changeset viewer.