kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #17987
[PATCH] dist and d labels in Kicad package
Eeschema, Libedit have in status bar label "d" that means distance.
But Pcbnew and Gerbview have label "dist" instead this.
I think that they should be same.
"d" label is short, not bulky and looks pretty than "dist".
Patch make label "d" for all them.
=== modified file 'gerbview/gerbview_frame.cpp'
--- gerbview/gerbview_frame.cpp 2015-03-06 17:46:04 +0000
+++ gerbview/gerbview_frame.cpp 2015-04-19 13:19:04 +0000
@@ -864,12 +864,12 @@
{
case INCHES:
absformatter = wxT( "X %.6f Y %.6f" );
- locformatter = wxT( "dx %.6f dy %.6f dist %.4f" );
+ locformatter = wxT( "dx %.6f dy %.6f d %.4f" );
break;
case MILLIMETRES:
absformatter = wxT( "X %.5f Y %.5f" );
- locformatter = wxT( "dx %.5f dy %.5f dist %.3f" );
+ locformatter = wxT( "dx %.5f dy %.5f d %.3f" );
break;
case UNSCALED_UNITS:
=== modified file 'pcbnew/basepcbframe.cpp'
--- pcbnew/basepcbframe.cpp 2015-03-03 14:53:47 +0000
+++ pcbnew/basepcbframe.cpp 2015-04-19 13:17:35 +0000
@@ -699,17 +699,17 @@
{
case INCHES:
absformatter = wxT( "X %.6f Y %.6f" );
- locformatter = wxT( "dx %.6f dy %.6f dist %.4f" );
+ locformatter = wxT( "dx %.6f dy %.6f d %.4f" );
break;
case MILLIMETRES:
absformatter = wxT( "X %.6f Y %.6f" );
- locformatter = wxT( "dx %.6f dy %.6f dist %.3f" );
+ locformatter = wxT( "dx %.6f dy %.6f d %.3f" );
break;
case UNSCALED_UNITS:
absformatter = wxT( "X %f Y %f" );
- locformatter = wxT( "dx %f dy %f dist %f" );
+ locformatter = wxT( "dx %f dy %f d %f" );
break;
case DEGREES:
Follow ups