← Back to team overview

kicad-developers team mailing list archive

Patch for Module Position in Module Edit Dialog

 

Hi Guys,

Please find attached a patch for adding module position to the Module
Edit dialog for pcbnew.

A couple of points -

(1) I'm not a c++ programmer, or a wxWidgets person so be gentle :)

(2) Please feel free to review and offer enhancement advice for me to
get the patch approved. I gather there is no regression test suite or
anything.

(3) Things that need to be done are either to get the wxTextValidator
working properly, or else validate the input manually. Also, the
screen needs a redraw if the module is repositioned through the
dialog, otherwise the module appears twice.

This added functionality is very useful for positioning
electro-mechanical parts like switches, displays and connectors and
things. I always prefer to type in the coordinates of these parts
rather than position them with a mouse.

Looking forward to some advice and feedback.

Best Regards,

Brian Sidebotham.
 ------=_Part_38805_8086565.1220486941409 Content-Type: application/octet-stream; name=kicad_module_position.patch
Content-Transfer-Encoding: base64
X-Attachment-Id: f_fkome98g0
Content-Disposition: attachment; filename=kicad_module_position.patch

[Attachment content not displayed.] ------=_Part_38805_8086565.1220486941409--