Changeset 1747 for code/trunk/src/orxonox/overlays/hud
- Timestamp:
- Sep 9, 2008, 4:25:52 AM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core3 (added) merged: 1573-1574,1583-1586,1591-1594,1596-1597,1603,1606-1607,1610-1611,1655,1658,1676-1679,1681-1685,1687,1716-1723,1725-1729,1736
- Property svn:mergeinfo changed
-
code/trunk/src/orxonox/overlays/hud/HUDBar.cc
r1628 r1747 53 53 void BarColour::XMLPort(Element& xmlElement, XMLPort::Mode mode) 54 54 { 55 BaseObject::XMLPort(xmlElement, mode);55 SUPER(BarColour, XMLPort, xmlElement, mode); 56 56 57 57 XMLPortParam(BarColour, "colour", setColour, getColour, xmlElement, mode) … … 78 78 void HUDBar::XMLPort(Element& xmlElement, XMLPort::Mode mode) 79 79 { 80 OrxonoxOverlay::XMLPort(xmlElement, mode);80 SUPER(HUDBar, XMLPort, xmlElement, mode); 81 81 82 82 if (mode == XMLPort::LoadObject) -
code/trunk/src/orxonox/overlays/hud/HUDBar.h
r1627 r1747 47 47 ~BarColour() { } 48 48 49 v oid XMLPort(Element& xmlElement, XMLPort::Mode mode);49 virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode); 50 50 51 51 void setColour(const ColourValue& colour) { this->colour_ = colour; } -
code/trunk/src/orxonox/overlays/hud/HUDNavigation.cc
r1628 r1747 69 69 void HUDNavigation::XMLPort(Element& xmlElement, XMLPort::Mode mode) 70 70 { 71 OrxonoxOverlay::XMLPort(xmlElement, mode);71 SUPER(HUDNavigation, XMLPort, xmlElement, mode); 72 72 73 73 if (mode == XMLPort::LoadObject) … … 87 87 .createOverlayElement("Panel", "HUDNavigation_aimMarker_" + getUniqueNumberStr())); 88 88 aimMarker_->setMaterialName("Orxonox/NavCrosshair"); 89 89 90 90 background_->addChild(navMarker_); 91 91 background_->addChild(aimMarker_); -
code/trunk/src/orxonox/overlays/hud/HUDNavigation.h
r1627 r1747 44 44 ~HUDNavigation(); 45 45 46 void XMLPort(Element& xmlElement, XMLPort::Mode mode); 46 virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode); 47 virtual void tick(float dt); 47 48 48 49 private: … … 50 51 void angleChanged() { } 51 52 void positionChanged() { } 52 53 void tick(float dt);54 53 55 54 // XMLPort accessors -
code/trunk/src/orxonox/overlays/hud/HUDRadar.cc
r1628 r1747 66 66 void HUDRadar::XMLPort(Element& xmlElement, XMLPort::Mode mode) 67 67 { 68 OrxonoxOverlay::XMLPort(xmlElement, mode);68 SUPER(HUDRadar, XMLPort, xmlElement, mode); 69 69 70 70 if (mode == XMLPort::LoadObject) -
code/trunk/src/orxonox/overlays/hud/HUDRadar.h
r1625 r1747 48 48 ~HUDRadar(); 49 49 50 v oid XMLPort(Element& xmlElement, XMLPort::Mode mode);50 virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode); 51 51 52 52 private: -
code/trunk/src/orxonox/overlays/hud/HUDSpeedBar.h
r1625 r1747 44 44 ~HUDSpeedBar(); 45 45 46 private: 47 void tick(float dt); 46 virtual void tick(float dt); 48 47 }; 49 48 }
Note: See TracChangeset
for help on using the changeset viewer.