Re: [Kicad-developers] Moving field-texts with connecting line to component; potential patch

2014-02-11 Thread Brian Sidebotham
Hi Henner, Committed in BZR4686. Thanks again for your contribution. Best Regards, Brian. ___ Mailing list: https://launchpad.net/~kicad-developers Post to : kicad-developers@lists.launchpad.net Unsubscribe :

Re: [Kicad-developers] Moving field-texts with connecting line to component; potential patch

2014-02-10 Thread Henner Zeller
Is this patch good to go ? On 9 February 2014 08:14, Henner Zeller h.zel...@acm.org wrote: Hi Marco, On 9 February 2014 03:26, Marco Serantoni marco.serant...@gmail.com wrote: - In other places in the code that has to do with redraws, there is some special handling with the USE_WX_OVERLAY

Re: [Kicad-developers] Moving field-texts with connecting line to component; potential patch

2014-02-09 Thread Henner Zeller
Hi Marco, On 9 February 2014 03:26, Marco Serantoni marco.serant...@gmail.com wrote: - In other places in the code that has to do with redraws, there is some special handling with the USE_WX_OVERLAY macro. I can't really test this properly in my installation of wxWidgets, so I don't know if

Re: [Kicad-developers] Moving field-texts with connecting line to component; potential patch

2014-02-08 Thread Henner Zeller
Hi, Alright, fixed the draw artifact issue with filled boxes, Nick noticed. The original artifact was due to the fact that the SCH_FIELD element had to second-guess in which mode it was in 'normal mode' or 'moving mode'. This is now fixed the way it should be by explicitly telling the component,

[Kicad-developers] Moving field-texts with connecting line to component; potential patch

2014-02-07 Thread Henner Zeller
Hi, While moving a field text (REFERENCE, VALUE and such) in the schematic, it is possible to loose the visual sight to which component it belonged to, in particular in tight spaces (which is typically the time when you need to start moving labels around). At least once I swapped the visual

Re: [Kicad-developers] Moving field-texts with connecting line to component; potential patch

2014-02-07 Thread jp charras
Le 07/02/2014 09:22, Henner Zeller a écrit : Hi, While moving a field text (REFERENCE, VALUE and such) in the schematic, it is possible to loose the visual sight to which component it belonged to, in particular in tight spaces (which is typically the time when you need to start moving labels

Re: [Kicad-developers] Moving field-texts with connecting line to component; potential patch

2014-02-07 Thread Brian Sidebotham
On 7 February 2014 10:31, jp charras jp.char...@wanadoo.fr wrote: Le 07/02/2014 09:22, Henner Zeller a écrit : Hi, While moving a field text (REFERENCE, VALUE and such) in the schematic, it is possible to loose the visual sight to which component it belonged to, in particular in tight spaces

Re: [Kicad-developers] Moving field-texts with connecting line to component; potential patch

2014-02-07 Thread Nick Østergaard
I like the way it works. But when using it on a component with a filled rectangle the line keeps appearing as an artifact. This does not happen with non filled rectangles. Se attached image. 2014-02-07 Brian Sidebotham brian.sidebot...@gmail.com: On 7 February 2014 10:31, jp charras

Re: [Kicad-developers] Moving field-texts with connecting line to component; potential patch

2014-02-07 Thread Rick Walker
Hi Henner, The way I did it in the Piglet hierarchical drawing editor[1] was to put a function in each primitive that is responsible for drawing rubberband representations of the primitive. The drawing function gets fed a sequence of transformed mouse coordinates by a callback in the eventloop.