Commit Graph

5 Commits

Author SHA1 Message Date
Dick Hollenbeck bc14e66d78 A little useful feature: even if the default unit can be changed between
inches and mm, the industry is crazy enough to force us with mixed
design. For example I routinely use imperial units for track size and
clearance, but drilling is strictly a metric issue...

So I added a little parser to recognize a suffix specification in the
unit text boxes... so you can put in things like:
1in (1 inch)
1" (idem)
25th (25 thou)
25mi (25 mils, the same)
6mm (6 mm, obviously)

The rules are: spaces between the number and the unit are accepted, only
the first two letters are significant.

As a bonus, it also recognize the period (.) as a decimal point
substituting it with the correct locale character (there was a wishlist
for it, IIRC). Most useful for number pad fans :D
2010-07-12 09:07:09 -05:00
charras 9b2c6f043c fixed problem in global track edition dialog (Column label too small under linux)
But needs wxWidgets >= 2.8.8
2009-11-13 17:08:05 +00:00
charras cb24fb2588 convert dialog_global_edit_tracks_and_vias to Gnome standards. 2009-11-12 14:55:33 +00:00
charras a0c5e040f7 Minor changes 2009-11-02 20:36:20 +00:00
charras 29e217d310 pcbnew Rewrite the GUI relative to the tracks widths and vias diameters and drills selection and edition, for compatibility with new netclass approach. 2009-10-30 17:58:15 +00:00