wxFloatingPointValidator was pretty straightforward for this. 6679 switches the new arbitrary module text angle to FP units, refactors the dialog to use TransferDataToWindow, and cleans up the arbitrary angle patch a bit. I'll continue doing this with the other 0.1deg fields.
On Sat, Apr 09, 2016 at 03:06:08PM -0400, Chris Pavlina wrote: > Awesome, I'm starting on that now. > > On Sat, Apr 09, 2016 at 02:36:49PM -0400, Wayne Stambaugh wrote: > > We've being talking about this for a long time so I would like to see > > this implemented. Entering 900 for 90.0 degrees really doesn't make > > much sense. You may have to write your own validator if > > wxFloatingPointValidator does not meet your needs. I haven't used > > wxFloatingPointValidator so I don't know how much success you will have. > > > > On 4/9/2016 11:16 AM, Simon Wells wrote: > > > This was seen in a previous thread iirc and wayne mentioned that > > > someone would need to write it so that it verified values were entered > > > correctly etc > > > > > > On Sun, Apr 10, 2016 at 2:37 AM, Chris Pavlina <pavlina.ch...@gmail.com> > > > wrote: > > >> Anyone mind if I go through and fix the "in 0.1 degrees" units that are > > >> all > > >> over pcbnew? I don't see any reason why we can't let the user enter unit > > >> degrees with a decimal point. > > >> > > >> -- > > >> Chris > > >> > > >> _______________________________________________ > > >> Mailing list: https://launchpad.net/~kicad-developers > > >> Post to : kicad-developers@lists.launchpad.net > > >> Unsubscribe : https://launchpad.net/~kicad-developers > > >> More help : https://help.launchpad.net/ListHelp > > > > > > _______________________________________________ > > > Mailing list: https://launchpad.net/~kicad-developers > > > Post to : kicad-developers@lists.launchpad.net > > > Unsubscribe : https://launchpad.net/~kicad-developers > > > More help : https://help.launchpad.net/ListHelp > > > > > > > > > _______________________________________________ > > Mailing list: https://launchpad.net/~kicad-developers > > Post to : kicad-developers@lists.launchpad.net > > Unsubscribe : https://launchpad.net/~kicad-developers > > More help : https://help.launchpad.net/ListHelp _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp