Pcbnew: fix bug 792399.

dialog_about: add translator name.
This commit is contained in:
jean-pierre charras 2011-06-06 08:51:42 +02:00
parent 71d0f69bab
commit 864426fb71
4 changed files with 7 additions and 9 deletions

View File

@ -299,12 +299,12 @@ void GERBER_PLOTTER::circle( wxPoint aCentre, int aDiameter, FILL_T aFill,
} }
/** /*
* Function PlotPoly * Function PlotPoly
* writes a filled or not filled polyline to output file * writes a filled or not filled polyline to output file
* @param aCoord = buffer of corners coordinates * param aCornerList = buffer of corners coordinates
* @param aFill = plot option (NO_FILL, FILLED_SHAPE, FILLED_WITH_BG_BODYCOLOR) * param aFill = plot option (NO_FILL, FILLED_SHAPE, FILLED_WITH_BG_BODYCOLOR)
* @param aWidth = Width of the line to plot. * param aWidth = Width of the line to plot.
*/ */
void GERBER_PLOTTER::PlotPoly( std::vector< wxPoint >& aCornerList, FILL_T aFill, int aWidth ) void GERBER_PLOTTER::PlotPoly( std::vector< wxPoint >& aCornerList, FILL_T aFill, int aWidth )
{ {

View File

@ -252,7 +252,7 @@ static void InitKiCadAboutNew( AboutAppInfo& info )
info.AddTranslator( new Contributor( wxT( "Kenta Yonekura" ), info.AddTranslator( new Contributor( wxT( "Kenta Yonekura" ),
wxT( "midpika@hotmail.com" ), wxT( "Japanese (JA)" ), wxT( "midpika@hotmail.com" ), wxT( "Japanese (JA)" ),
new wxBitmap( lang_jp_xpm ) ) ); new wxBitmap( lang_jp_xpm ) ) );
info.AddTranslator( new Contributor( wxT( "Manolis Stefanis and Milonas Kostas" ), info.AddTranslator( new Contributor( wxT( "Manolis Stefanis, Athanasios Vlastos and Milonas Kostas" ),
wxT( "milonas.ko@gmail.com" ), wxT( "Greek (el_GR)" ), wxT( "milonas.ko@gmail.com" ), wxT( "Greek (el_GR)" ),
new wxBitmap( lang_gr_xpm ) ) ); new wxBitmap( lang_gr_xpm ) ) );
info.AddTranslator( new Contributor( wxT( "Massimo Cioce" ), info.AddTranslator( new Contributor( wxT( "Massimo Cioce" ),

View File

@ -250,7 +250,7 @@ void EDGE_MODULE::Draw( EDA_DRAW_PANEL* panel, wxDC* DC, int draw_mode, const wx
// We must compute true coordinates from m_PolyPoints // We must compute true coordinates from m_PolyPoints
// which are relative to module position, orientation 0 // which are relative to module position, orientation 0
std::vector<wxPoint> points = m_PolyPoints; std::vector<wxPoint> points = m_PolyPoints;
for( unsigned ii = 0; ii < points.size(); ii++ ) for( unsigned ii = 0; ii < points.size(); ii++ )
{ {

View File

@ -444,7 +444,7 @@ void Plot_1_EdgeModule( PLOTTER* plotter, EDGE_MODULE* PtEdge,
for( unsigned ii = 0; ii < PtEdge->m_PolyPoints.size(); ii++ ) for( unsigned ii = 0; ii < PtEdge->m_PolyPoints.size(); ii++ )
{ {
wxPoint corner = PtEdge->m_PolyPoints[0]; wxPoint corner = PtEdge->m_PolyPoints[ii];
if( Module ) if( Module )
{ {
@ -452,8 +452,6 @@ void Plot_1_EdgeModule( PLOTTER* plotter, EDGE_MODULE* PtEdge,
corner += Module->m_Pos; corner += Module->m_Pos;
} }
corner += PtEdge->m_Start0;
cornerList.push_back( corner ); cornerList.push_back( corner );
} }