Maciej Suminski
e1ca953c40
Isolated EDIT_CONSTRAINTs to different .cpp/.h files.
2014-03-18 16:55:06 +01:00
Maciej Suminski
b857ba58ca
Instant dragging (without prior selection).
2014-03-18 16:25:46 +01:00
Maciej Suminski
140361e2c8
Splitting DRAWSEGMENTs with POINT_EDITOR.
2014-03-18 15:46:38 +01:00
Maciej Suminski
3aae81b307
Breaking outlines for zones using POINT_EDITOR.
2014-03-18 14:52:22 +01:00
Maciej Suminski
b361baae42
Enabled autopanning while drawing zones.
2014-03-18 14:01:09 +01:00
Maciej Suminski
d52568908f
EC_CONVERGING handles colinear lines properly.
2014-03-18 13:57:10 +01:00
Maciej Suminski
6b99cbe9a5
Minor fixes to zone drawing tool.
2014-03-18 11:33:49 +01:00
Maciej Suminski
5dd03b4ecd
Fixed triple click bug while drawing zones with DRAWING_TOOL.
2014-03-18 11:09:43 +01:00
Maciej Suminski
a3cd531e9e
Yet another approach to EC_LINE and EC_CONVERGING edit constraints.
2014-03-18 11:05:24 +01:00
Maciej Suminski
86f84b9ed0
Comments.
2014-03-18 11:04:52 +01:00
Maciej Suminski
9134289303
ZONE_CONTAINERs are drawn as outlines while being edited using the POINT_EDITOR.
2014-03-14 16:05:30 +01:00
Maciej Suminski
d19f57b0d5
Added EC_CONVERGING for zone areas modification.
2014-03-14 15:37:55 +01:00
Maciej Suminski
f8a0869314
Templated EDIT_POINT_CONSTRAINT.
...
Removed EDIT_CONSTRAINT::Update() - replaced with resetting constraints.
EDIT_CONSTRAINT is stored in EDIT_POIN using boost::shared_ptr instead of pointer.
Added EDIT_LINE::GetEnd() & GetOrigin(). Overridden ApplyConstraint() for EDIT_LINE.
Side EDIT_POINTS for zones are drawn as circles.
2014-03-14 15:15:38 +01:00
Maciej Suminski
3700ab0555
Yet another approach to 45 degree constraints.
2014-03-13 11:48:19 +01:00
Maciej Suminski
1770e40aec
Fixed 45 degree mode toggle.
2014-03-12 17:50:24 +01:00
Maciej Suminski
af7454b767
Fixed erroneous hit testing for polygons in ratsnest for GAL.
2014-03-12 17:11:52 +01:00
Maciej Suminski
3e50e00f89
Moved panning boundaries and scale limits from VIEW to VIEW_CONTROL.
2014-03-12 17:09:53 +01:00
Maciej Suminski
e35647b25b
Changed the way of handling BOX2 traits (used std::numeric_limits).
2014-03-12 17:09:37 +01:00
Maciej Suminski
70c62508a5
Removed excessive variable (m_Corners) from MARKER_BASE.
2014-03-12 15:53:20 +01:00
Maciej Suminski
babeea0c45
Switched order of EDIT_POINTs for DIMENSION, so in case when feature lines are of 0 length, then still can be stretched.
2014-03-12 10:53:42 +01:00
Maciej Suminski
fac1cab1d9
Added new constraint for EDIT_POINTs (EPC_LINE).
...
Dimensions have EDIT_POINTs.
Different handling of 45 degree mode in POINT_EDITOR.
2014-03-12 10:46:11 +01:00
Maciej Suminski
3f4ba31188
Minor fix to SEG class.
2014-03-12 10:05:09 +01:00
Maciej Suminski
ba7cfecd5d
Workarounded SWIG problems (does not support nested C++ classes, more on the subject: http://www.swig.org/Doc1.3/SWIGPlus.html#SWIGPlus_nested_classes ).
2014-03-11 14:50:53 +01:00
Maciej Suminski
7b706ee873
Added a few settings to make the layer settings more similar to KiCad defaults (moved vias to VIA_THROUGH_VISIBLE, added a few rules for required layers).
2014-03-11 10:58:58 +01:00
Maciej Suminski
e9aec03ce0
Cursor snaps to EDIT_POINTs.
...
Added POINT_EDITOR::isModified().
2014-03-10 16:25:40 +01:00
Maciej Suminski
bf9a7511f3
Fixed a bug caused by removed VIEW_ITEMs that were marked for updating.
2014-03-10 16:01:15 +01:00
Maciej Suminski
517c555d6a
Removed unnecessary casting.
2014-03-10 10:18:48 +01:00
Maciej Suminski
9d0b3649a1
Added documentation. Moved some functions from .h to .cpp files.
2014-03-07 10:26:33 +01:00
Maciej Suminski
099f58a100
Added EDIT_LINEs for dragging zone outlines.
2014-03-06 17:34:04 +01:00
Maciej Suminski
3029f762bf
45 degrees mode for POINT_EDITOR.
2014-03-06 14:41:25 +01:00
Maciej Suminski
2bce2f96d8
Undo/redo support for POINT_EDITOR.
2014-03-06 12:36:20 +01:00
Maciej Suminski
8d38938da1
Auto zone refilling after using the POINT_EDITOR.
...
Minor code cleaning.
2014-03-06 11:49:08 +01:00
Maciej Suminski
21d2c19333
Merged selection_tool branch.
2014-03-06 10:43:40 +01:00
Maciej Suminski
4419ef42bb
Merged upstream.
2014-03-06 09:42:16 +01:00
Maciej Suminski
8461fc2f3b
Removed warnings.
2014-03-06 09:14:06 +01:00
jean-pierre charras
eb8d78ea21
Fix a minor bug I created in commit 4733
2014-03-05 18:57:13 +01:00
jean-pierre charras
f944c79269
Minor code cleanup in 3d viewer (remove dead or useless code). Some minor other fixes.
2014-03-05 18:40:23 +01:00
Maciej Suminski
aa54a3e5a1
Fixed undo while PNS is active.
2014-03-05 16:44:08 +01:00
Maciej Suminski
1d6357a76a
Squashed memory leaks.
2014-03-05 14:57:14 +01:00
Maciej Suminski
c66a3232ac
Removed a few memory leaks.
2014-03-03 17:15:41 +01:00
Martin Janitschke
7adb74699b
Pcbnew: add option to merge non-plated through holes to drill file. (fixes lp:1133330)
2014-03-03 09:28:05 -05:00
Maciej Suminski
b31fede98e
Pcbnew: fixed SIGFPE arithetic exception. (fixes lp:128339, 1285969, and 1286426)
2014-03-02 20:18:26 -05:00
Martin Janitschke
cef8e05eb0
Pcbnew: fix global deletion bug and minor dialog changes. (fixes lp:1263795)
...
* Handle different item global deletions correctly. No more removing of text
if graphics is selected.
* Layer settings are always obeyed for modules, zones, text, and graphics.
* Text will be removed from copper layers if all layers are selected or
according to the current layer.
* Added check boxes for "normal" and "locked" footprints to be consistent
with the naming for the track deletion options.
2014-03-01 12:20:22 -05:00
jean-pierre charras
e28ead71b6
3D viewer: fix mirroring issue for texts in flipped footprints.
2014-02-28 18:46:18 +01:00
Fabrizio Tappero
ccc11c8ed8
Commit patch about cvpcb, pcbnew and layout editor menu items, with 3 menu labels modified in Eeschema.
2014-02-28 18:31:00 +01:00
Maciej Suminski
c5f04753f9
Zones are supported by POINT_EDITOR.
2014-02-28 18:24:29 +01:00
Maciej Suminski
9f4d338a02
Circles are supported by POINT_EDITOR.
2014-02-28 18:24:13 +01:00
Maciej Suminski
96ca762543
Fixed POINT_EDITOR crash on GAL change / board reload.
2014-02-28 17:20:10 +01:00
Maciej Suminski
a1f80f20a7
Added TOOL_ACTION for updating EDIT_POINTS.
...
EDIT_POINTs show up when there is only one item selected (now after deselection as well).
2014-02-28 16:53:28 +01:00
Maciej Suminski
8d8c72856d
Added TOOL_MANAGER & ACTION_MANAGER::RunAction( const TOOL_ACTION aAction ).
...
Selection clearing is invoked using TOOL_ACTION object rather than its name.
2014-02-28 15:46:05 +01:00