Fix minor compil warnings
This commit is contained in:
parent
75c420fba7
commit
7e6829e834
|
@ -730,11 +730,11 @@ void LIB_PIN::PlotPinTexts( PLOTTER* aPlotter, const VECTOR2I& aPinPos, int aPin
|
|||
}
|
||||
|
||||
auto plotText =
|
||||
[&]( int x, int y, const COLOR4D& color, const wxString& text, const EDA_ANGLE& angle,
|
||||
[&]( int px, int py, const COLOR4D& color, const wxString& text, const EDA_ANGLE& angle,
|
||||
int size, GR_TEXT_H_ALIGN_T hJustify, GR_TEXT_V_ALIGN_T vJustify, int penWidth )
|
||||
|
||||
{
|
||||
aPlotter->Text( VECTOR2I( x, y ), color, text, angle, VECTOR2I( size, size ),
|
||||
aPlotter->Text( VECTOR2I( px, py ), color, text, angle, VECTOR2I( size, size ),
|
||||
hJustify, vJustify, penWidth, false, false, false, GetDrawFont() );
|
||||
};
|
||||
|
||||
|
|
|
@ -148,7 +148,7 @@ void LIB_SHAPE::Plot( PLOTTER* aPlotter, bool aBackground, const VECTOR2I& aOffs
|
|||
|
||||
int penWidth;
|
||||
COLOR4D color;
|
||||
FILL_T fill;
|
||||
FILL_T fill = m_fill;
|
||||
|
||||
if( aBackground )
|
||||
{
|
||||
|
|
|
@ -334,7 +334,6 @@ void SCH_TEXTBOX::Plot( PLOTTER* aPlotter, bool aBackground ) const
|
|||
RENDER_SETTINGS* settings = aPlotter->RenderSettings();
|
||||
KIFONT::FONT* font = GetDrawFont();
|
||||
int penWidth = GetPenWidth();
|
||||
FILL_T fill = m_fill;
|
||||
COLOR4D color = settings->GetLayerColor( LAYER_NOTES );
|
||||
|
||||
if( penWidth > 0 )
|
||||
|
|
Loading…
Reference in New Issue