kicad-developers team mailing list archive
-
kicad-developers team
-
Mailing list archive
-
Message #17988
Re: [PATCH] [VER 2] dist and d labels in Kicad package
Instead previous patch.
Add spaces between values.
19.04.2015 16:40, Eldar Khayrullin пишет:
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.
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help : https://help.launchpad.net/ListHelp
=== 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:50:09 +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
References