Changeset 7401 for code/trunk/src/modules/overlays
- Timestamp:
- Sep 11, 2010, 12:34:00 AM (14 years ago)
- Location:
- code/trunk
- Files:
-
- 17 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/modules/overlays/FadeoutText.h
r5929 r7401 44 44 virtual ~FadeoutText() {} 45 45 46 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);46 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 47 47 virtual void tick(float dt); 48 48 -
code/trunk/src/modules/overlays/GUIOverlay.cc
r7163 r7401 52 52 } 53 53 54 void GUIOverlay::XMLPort(Element& xml Element, XMLPort::Mode mode)54 void GUIOverlay::XMLPort(Element& xmlelement, XMLPort::Mode mode) 55 55 { 56 SUPER(GUIOverlay, XMLPort, xml Element, mode);56 SUPER(GUIOverlay, XMLPort, xmlelement, mode); 57 57 58 XMLPortParam(GUIOverlay, "guiname", setGUIName, getGUIName, xml Element, mode);58 XMLPortParam(GUIOverlay, "guiname", setGUIName, getGUIName, xmlelement, mode); 59 59 } 60 60 -
code/trunk/src/modules/overlays/GUIOverlay.h
r6753 r7401 44 44 virtual ~GUIOverlay(); 45 45 46 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);46 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 47 47 48 48 void setGUIName(const std::string& name); -
code/trunk/src/modules/overlays/OverlayText.cc
r6417 r7401 71 71 } 72 72 73 void OverlayText::XMLPort(Element& xml Element, XMLPort::Mode mode)73 void OverlayText::XMLPort(Element& xmlelement, XMLPort::Mode mode) 74 74 { 75 SUPER(OverlayText, XMLPort, xml Element, mode);75 SUPER(OverlayText, XMLPort, xmlelement, mode); 76 76 77 XMLPortParam(OverlayText, "font", setFont, getFont, xml Element, mode);78 XMLPortParam(OverlayText, "colour", setColour, getColour, xml Element, mode);79 XMLPortParam(OverlayText, "caption", setCaption, getCaption, xml Element, mode);80 XMLPortParam(OverlayText, "textsize", setTextSize, getTextSize, xml Element, mode);81 XMLPortParam(OverlayText, "align", setAlignmentString, getAlignmentString, xml Element, mode);82 XMLPortParam(OverlayText, "spacewidth", setSpaceWidth, getSpaceWidth, xml Element, mode);77 XMLPortParam(OverlayText, "font", setFont, getFont, xmlelement, mode); 78 XMLPortParam(OverlayText, "colour", setColour, getColour, xmlelement, mode); 79 XMLPortParam(OverlayText, "caption", setCaption, getCaption, xmlelement, mode); 80 XMLPortParam(OverlayText, "textsize", setTextSize, getTextSize, xmlelement, mode); 81 XMLPortParam(OverlayText, "align", setAlignmentString, getAlignmentString, xmlelement, mode); 82 XMLPortParam(OverlayText, "spacewidth", setSpaceWidth, getSpaceWidth, xmlelement, mode); 83 83 } 84 84 -
code/trunk/src/modules/overlays/OverlayText.h
r5781 r7401 52 52 virtual ~OverlayText(); 53 53 54 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);54 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 55 55 56 56 void setCaption(const std::string& caption); -
code/trunk/src/modules/overlays/hud/HUDBar.cc
r7368 r7401 55 55 } 56 56 57 void BarColour::XMLPort(Element& xml Element, XMLPort::Mode mode)58 { 59 SUPER(BarColour, XMLPort, xml Element, mode);60 61 XMLPortParam(BarColour, "colour", setColour, getColour, xml Element, mode);62 XMLPortParam(BarColour, "position", setPosition, getPosition, xml Element, mode);57 void BarColour::XMLPort(Element& xmlelement, XMLPort::Mode mode) 58 { 59 SUPER(BarColour, XMLPort, xmlelement, mode); 60 61 XMLPortParam(BarColour, "colour", setColour, getColour, xmlelement, mode); 62 XMLPortParam(BarColour, "position", setPosition, getPosition, xmlelement, mode); 63 63 } 64 64 … … 104 104 } 105 105 106 void HUDBar::XMLPort(Element& xml Element, XMLPort::Mode mode)107 { 108 SUPER(HUDBar, XMLPort, xml Element, mode);109 110 XMLPortParam(HUDBar, "initialvalue", setValue, getValue, xml Element, mode);111 XMLPortParam(HUDBar, "righttoleft", setRightToLeft, getRightToLeft, xml Element, mode);112 XMLPortParam(HUDBar, "autocolour", setAutoColour, getAutoColour, xml Element, mode);113 XMLPortParam(HUDBar, "bartexture", setBarTexture, getBarTexture, xml Element, mode);114 XMLPortObject(HUDBar, BarColour, "", addColour, getColour, xml Element, mode);106 void HUDBar::XMLPort(Element& xmlelement, XMLPort::Mode mode) 107 { 108 SUPER(HUDBar, XMLPort, xmlelement, mode); 109 110 XMLPortParam(HUDBar, "initialvalue", setValue, getValue, xmlelement, mode); 111 XMLPortParam(HUDBar, "righttoleft", setRightToLeft, getRightToLeft, xmlelement, mode); 112 XMLPortParam(HUDBar, "autocolour", setAutoColour, getAutoColour, xmlelement, mode); 113 XMLPortParam(HUDBar, "bartexture", setBarTexture, getBarTexture, xmlelement, mode); 114 XMLPortObject(HUDBar, BarColour, "", addColour, getColour, xmlelement, mode); 115 115 } 116 116 -
code/trunk/src/modules/overlays/hud/HUDBar.h
r5781 r7401 50 50 virtual ~BarColour() { } 51 51 52 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);52 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 53 53 54 54 void setColour(const ColourValue& colour) { this->colour_ = colour; } … … 70 70 virtual ~HUDBar(); 71 71 72 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);72 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 73 73 74 74 void clearColours(); -
code/trunk/src/modules/overlays/hud/HUDHealthBar.h
r6417 r7401 45 45 virtual ~HUDHealthBar(); 46 46 47 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);47 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 48 48 virtual void tick(float dt); 49 49 virtual void changedOwner(); -
code/trunk/src/modules/overlays/hud/HUDNavigation.cc
r7368 r7401 90 90 } 91 91 92 void HUDNavigation::XMLPort ( Element& xml Element, XMLPort::Mode mode )93 { 94 SUPER ( HUDNavigation, XMLPort, xml Element, mode );95 96 XMLPortParam ( HUDNavigation, "font", setFont, getFont, xml Element, mode );97 XMLPortParam ( HUDNavigation, "textSize", setTextSize, getTextSize, xml Element, mode );98 XMLPortParam ( HUDNavigation, "navMarkerSize", setNavMarkerSize, getNavMarkerSize, xml Element, mode );92 void HUDNavigation::XMLPort ( Element& xmlelement, XMLPort::Mode mode ) 93 { 94 SUPER ( HUDNavigation, XMLPort, xmlelement, mode ); 95 96 XMLPortParam ( HUDNavigation, "font", setFont, getFont, xmlelement, mode ); 97 XMLPortParam ( HUDNavigation, "textSize", setTextSize, getTextSize, xmlelement, mode ); 98 XMLPortParam ( HUDNavigation, "navMarkerSize", setNavMarkerSize, getNavMarkerSize, xmlelement, mode ); 99 99 } 100 100 -
code/trunk/src/modules/overlays/hud/HUDNavigation.h
r7163 r7401 51 51 void setConfigValues(); 52 52 53 virtual void XMLPort ( Element& xml Element, XMLPort::Mode mode );53 virtual void XMLPort ( Element& xmlelement, XMLPort::Mode mode ); 54 54 virtual void tick ( float dt ); 55 55 -
code/trunk/src/modules/overlays/hud/HUDRadar.cc
r7368 r7401 82 82 } 83 83 84 void HUDRadar::XMLPort(Element& xml Element, XMLPort::Mode mode)84 void HUDRadar::XMLPort(Element& xmlelement, XMLPort::Mode mode) 85 85 { 86 SUPER(HUDRadar, XMLPort, xml Element, mode);86 SUPER(HUDRadar, XMLPort, xmlelement, mode); 87 87 88 XMLPortParam(HUDRadar, "sensitivity", setRadarSensitivity, getRadarSensitivity, xml Element, mode);89 XMLPortParam(HUDRadar, "halfDotSizeDistance", setHalfDotSizeDistance, getHalfDotSizeDistance, xml Element, mode);90 XMLPortParam(HUDRadar, "maximumDotSize", setMaximumDotSize, getMaximumDotSize, xml Element, mode);88 XMLPortParam(HUDRadar, "sensitivity", setRadarSensitivity, getRadarSensitivity, xmlelement, mode); 89 XMLPortParam(HUDRadar, "halfDotSizeDistance", setHalfDotSizeDistance, getHalfDotSizeDistance, xmlelement, mode); 90 XMLPortParam(HUDRadar, "maximumDotSize", setMaximumDotSize, getMaximumDotSize, xmlelement, mode); 91 91 } 92 92 -
code/trunk/src/modules/overlays/hud/HUDRadar.h
r7163 r7401 49 49 virtual ~HUDRadar(); 50 50 51 virtual void XMLPort(Element& xml Element, XMLPort::Mode mode);51 virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode); 52 52 virtual void changedOwner(); 53 53 -
code/trunk/src/modules/overlays/stats/Scoreboard.cc
r6502 r7401 54 54 this->lines_.pop_back(); 55 55 } 56 }57 58 /**59 @brief Initializes the lines.60 */61 void Scoreboard::XMLPort(Element& xmlElement, XMLPort::Mode mode)62 {63 SUPER(Scoreboard, XMLPort, xmlElement, mode);64 56 } 65 57 -
code/trunk/src/modules/overlays/stats/Scoreboard.h
r5929 r7401 44 44 virtual ~Scoreboard(); 45 45 46 virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);47 46 virtual void tick(float dt); 48 47 -
code/trunk/src/modules/overlays/stats/Stats.cc
r6502 r7401 98 98 } 99 99 100 /**101 @brief Initializes the Stats panel.102 */103 void Stats::XMLPort(Element& xmlElement, XMLPort::Mode mode)104 {105 OrxonoxOverlay::XMLPort(xmlElement, mode);106 }107 108 100 void Stats::tick(float dt) 109 101 { -
code/trunk/src/modules/overlays/stats/Stats.h
r5781 r7401 46 46 void setConfigValues(); 47 47 48 virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);49 50 48 virtual void tick(float dt); 51 49
Note: See TracChangeset
for help on using the changeset viewer.