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:
8 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

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

    r7163 r7401  
    5454    }
    5555
    56     void GUISheet::XMLPort(Element& xmlElement, XMLPort::Mode mode)
     56    void GUISheet::XMLPort(Element& xmlelement, XMLPort::Mode mode)
    5757    {
    58         SUPER(GUISheet, XMLPort, xmlElement, mode);
     58        SUPER(GUISheet, XMLPort, xmlelement, mode);
    5959
    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);
     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);
    6464
    6565        if (this->bShowOnLoad_)
  • code/trunk/src/orxonox/overlays/GUISheet.h

    r6746 r7401  
    4444        ~GUISheet();
    4545
    46         void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     46        void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    4747
    4848        void show();
  • code/trunk/src/orxonox/overlays/InGameConsole.cc

    r7284 r7401  
    454454    /**
    455455        @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
    457460    */
    458461    void InGameConsole::print(const std::string& text, Shell::LineType type, int index, bool alwaysShift)
  • code/trunk/src/orxonox/overlays/OrxonoxOverlay.cc

    r7284 r7401  
    126126        BaseObject::XMLPort()
    127127    */
    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);
     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);
    138138    }
    139139
     
    306306        The name of the overlay defined BaseObject::setName() (usually done with the "name"
    307307        attribute in the xml file).
     308    @param scale
     309        The scaling factor
    308310    */
    309311    /*static*/ void OrxonoxOverlay::scaleOverlay(const std::string& name, float scale)
     
    346348        The name of the overlay defined BaseObject::setName() (usually done with the "name"
    347349        attribute in the xml file).
     350    @param scroll
     351        The relative translation of the overlay
    348352    */
    349353    /*static*/ void OrxonoxOverlay::scrollOverlay(const std::string& name, const Vector2& scroll)
     
    360364        The name of the overlay defined BaseObject::setName() (usually done with the "name"
    361365        attribute in the xml file).
     366    @param angle
     367        The rotation angle in degree
    362368    */
    363369    /*static*/ void OrxonoxOverlay::rotateOverlay(const std::string& name, const Degree& angle)
  • code/trunk/src/orxonox/overlays/OrxonoxOverlay.h

    r6753 r7401  
    9090        virtual ~OrxonoxOverlay();
    9191
    92         virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     92        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    9393
    9494        virtual void changedName();
  • 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)
  • code/trunk/src/orxonox/overlays/OverlayGroup.h

    r6054 r7401  
    5858        ~OverlayGroup();
    5959
    60         virtual void XMLPort(Element& xmlElement, XMLPort::Mode mode);
     60        virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    6161
    6262        static void toggleVisibility(const std::string& name);
Note: See TracChangeset for help on using the changeset viewer.