Commit 845d61ac authored by Dick Hollenbeck's avatar Dick Hollenbeck
Browse files

coding standards consistency updates

parent 881b6aa7
Loading
Loading
Loading
Loading
+10 −7
Original line number Diff line number Diff line
@@ -170,13 +170,15 @@ public:
    void   InitGL();
    void   SetLights();
    void   Draw3D_Track( TRACK* track );
    /** Function Draw3D_SolidPolygonsInZones
    /**
     * Function Draw3D_SolidPolygonsInZones
     * draw all solid polygons used as filles areas in a zone
     * @param aZone_c = the zone to draw
    */
    void   Draw3D_SolidPolygonsInZones( ZONE_CONTAINER* aZone_c );

    /** Function Draw3D_Polygon
    /**
     * Function Draw3D_Polygon
     * draw one solid polygon
     * @param aCornersList = a std::vector<wxPoint> liste of corners, in physical coordinates
     * @param aZpos = the z position in 3D units
@@ -230,7 +232,8 @@ public:
    void SetToolbars();
    void GetSettings();
    void SaveSettings();
    /** function ReloadRequest
    /**
     * Function ReloadRequest
     * must be called when reloading data from Pcbnew is needed
     * mainly after edition of the board or footprint beeing displayed.
     * mainly for the module editor.
+8 −4
Original line number Diff line number Diff line
@@ -26,18 +26,21 @@ public:

    void OnSelectOptionToolbar( wxCommandEvent& event );

    /** Function IsGridVisible() , virtual
    /**
     * Function IsGridVisible() , virtual
     * @return true if the grid must be shown
     */
    virtual bool     IsGridVisible();

    /** Function SetGridVisibility() , virtual
    /**
     * Function SetGridVisibility() , virtual
     * It may be overloaded by derived classes
     * if you want to store/retrieve the grid visiblity in configuration.
     * @param aVisible = true if the grid must be shown
     */
    virtual void     SetGridVisibility(bool aVisible);
    /** Function GetGridColor() , virtual
    /**
     * Function GetGridColor() , virtual
     * @return the color of the grid
     */
    virtual int     GetGridColor();
@@ -64,7 +67,8 @@ public:
    }


    /** Function SaveCopyInUndoList (overloaded).
    /**
     * Function SaveCopyInUndoList (overloaded).
     * Creates a new entry in undo list of commands.
     * add a list of pickers to handle a list of items
     * @param aItemsList = the list of items modified by the command to undo
+4 −2
Original line number Diff line number Diff line
@@ -522,13 +522,15 @@ public:

    int GetPartCount() { return m_unitCount; }

    /** function IsMulti
    /**
     * Function IsMulti
     * @return true if the component has multiple parts per package.
     * When happens, the reference has a sub reference ti identify part
     */
    bool IsMulti() { return m_unitCount > 1; }

    /** function IsMulti
    /**
     * Function IsMulti
     * @return the sub reference for component having multiple parts per package.
     * The sub reference identify the part (or unit)
     * @param aUnit = the part identifier ( 1 to max count)
+2 −1
Original line number Diff line number Diff line
@@ -88,7 +88,8 @@ public:
    void InitBuffers( SCH_COMPONENT* aComponent );

private:
    /** Function updateDisplay
    /**
     * Function updateDisplay
     * update the listbox showing fields, according to the fields texts
     * must be called after a text change in fields, if this change is not an edition
     */
+2 −1
Original line number Diff line number Diff line
@@ -68,7 +68,8 @@ public:
     */
    wxString GetName();

    /** Function GetPenSize virtual pure
    /**
     * Function GetPenSize virtual pure
     * @return the size of the "pen" that be used to draw or plot this item
     */
    int GetPenSize( );
Loading