Remove valeur_param(), that does not work in Kicad Nanometer
This commit is contained in:
@@ -67,6 +67,11 @@ double To_User_Unit( EDA_UNITS_T aUnit, double aValue )
|
||||
|
||||
|
||||
wxString CoordinateToString( int aValue, bool aConvertToMils )
|
||||
{
|
||||
return LengthDoubleToString( (double) aValue, aConvertToMils );
|
||||
}
|
||||
|
||||
wxString LengthDoubleToString( double aValue, bool aConvertToMils )
|
||||
{
|
||||
wxString text;
|
||||
const wxChar* format;
|
||||
@@ -249,3 +254,14 @@ int ReturnValueFromTextCtrl( const wxTextCtrl& aTextCtr )
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
wxString& operator <<( wxString& aString, const wxPoint& aPos )
|
||||
{
|
||||
aString << wxT( "@ (" ) << CoordinateToString( aPos.x );
|
||||
aString << wxT( "," ) << CoordinateToString( aPos.y );
|
||||
aString << wxT( ")" );
|
||||
|
||||
return aString;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user