Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 11, 2010, 12:34:00 AM (14 years ago)
Author:
landauf
Message:

merged doc branch back to trunk

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/orxonox/overlays/OverlayGroup.cc

    r7284 r7401  
    7171        BaseObject::XMLPort()
    7272    */
    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);
     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);
    7979        // loads all the child elements
    80         XMLPortObject(OverlayGroup, OrxonoxOverlay, "", addElement, getElement, xmlElement, mode);
     80        XMLPortObject(OverlayGroup, OrxonoxOverlay, "", addElement, getElement, xmlelement, mode);
    8181    }
    8282
     
    114114    @brief
    115115        Removes an element from the map.
    116     @param name
    117         The name of the element that is removed.
     116    @param element
     117        A pointer to the element that is removed.
    118118    @return
    119119        Returns true if there was such an element to remove, false if not.
     
    181181        The name of the group defined BaseObject::setName() (usually done with the "name"
    182182        attribute in the xml file).
     183    @param scale
     184        The scaling factor
    183185    */
    184186    /*static*/ void OverlayGroup::scaleGroup(const std::string& name, float scale)
     
    197199        The name of the group defined BaseObject::setName() (usually done with the "name"
    198200        attribute in the xml file).
     201    @param scroll
     202        The relative translation of the overlay group
    199203    */
    200204    /*static*/ void OverlayGroup::scrollGroup(const std::string& name, const Vector2& scroll)
Note: See TracChangeset for help on using the changeset viewer.