Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 31, 2010, 8:37:29 PM (15 years ago)
Author:
landauf
Message:

fixed lots of Doxygen warnings

Note: Doxygen prints a warning if only a part of the parameters of a function are documented.

Added documentation for missing parameters (as good as I could), removed documentation of obsolete parameters and fixed names of renamed parameters.
Some parameters are tagged with "FIXME", please replace this with an appropriate documentation if you know what it does.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/doc/src/modules/overlays/hud/HUDBar.cc

    r6677 r7297  
    5555    }
    5656
    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);
     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);
    6363    }
    6464
     
    104104    }
    105105
    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);
     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);
    115115    }
    116116
Note: See TracChangeset for help on using the changeset viewer.