Maciej Suminski
3a43f0527f
Changed void BASE_SCREEN::GetGrids( GRIDS& aList ) to const GRIDS& BASE_SCREEN::GetGrids().
...
Refactored:
- EDA_DRAW_FRAME::SetNextGrid() & SetPrevGrid()
- PCB_BASE_FRAME::SetFastGrid1() & SetFastGrid2()
Removed a warning from RN_DATA::updateNet(int).
2014-03-21 18:00:11 +01:00
Maciej Suminski
426844896e
Minor fixes (check for net codes size for ratsnest, cursor coordinates are not always shown as if the cursor was snapped).
2014-03-20 11:31:32 +01:00
Maciej Suminski
696a8a89fe
Changed cast from float to double in RN_POLY::HitTest.
2014-03-19 11:16:01 +01:00
Maciej Suminski
52791f2375
Changed cast from float to double in RN_POLY::HitTest.
2014-03-12 22:42:08 +01:00
Maciej Suminski
a377c9c1bc
Fixed erroneous hit testing for polygons in ratsnest for GAL.
2014-03-12 17:11:52 +01:00
Maciej Suminski
c7e3887ba4
Fixed erroneous hit testing for polygons in ratsnest for GAL.
2014-03-12 15:00:14 +01:00
Maciej Suminski
b6e3b3a3f9
Merged selection_tool branch.
2014-03-06 10:43:40 +01:00
Maciej Suminski
5ed0980dd5
Merged upstream.
2014-03-06 09:42:16 +01:00
Maciej Suminski
c557e52dab
Squashed memory leaks.
2014-03-05 14:57:14 +01:00
Maciej Suminski
41397f5b5b
Fixes ratsnest crashing on zones with negative net codes.
2014-02-28 11:12:55 +01:00
Maciej Suminski
f7d00a393b
Renamed BOARD_CONNECTED_ITEM::GetNet() -> GetNetCode()
...
Renamed BOARD_CONNECTED_ITEM::SetNet() -> SetNetCode()
Added BOARD_CONNECTED_ITEM::GetNet() for accessing NETINFO_ITEM* of a given item.
Fixed module editor crash when launched to edit a module from a PCB.
Replaced some BOARD::FindNet( item->GetNet() ) calls with BOARD_CONNECTED_ITEM::GetNet().
2014-02-25 11:47:27 +01:00
Maciej Suminski
75026d8754
Renamed BOARD_CONNECTED_ITEM::GetNet() -> GetNetCode()
...
Renamed BOARD_CONNECTED_ITEM::SetNet() -> SetNetCode()
Added BOARD_CONNECTED_ITEM::GetNet() for accessing NETINFO_ITEM* of a given item.
Fixed module editor crash when launched to edit a module from a PCB.
Replaced some BOARD::FindNet( item->GetNet() ) calls with BOARD_CONNECTED_ITEM::GetNet().
2014-02-25 11:40:34 +01:00
Maciej Suminski
363709e7a9
Added TOOL_INTERACTIVE::Activate().
...
Removed an unnecessary header from class_board_item.h.
2014-02-06 14:45:33 +01:00
Maciej Suminski
468e14f003
Merged ratsnest_threadsafe branch.
2014-02-05 11:55:04 +01:00
Maciej Suminski
f6aa447036
Ratsnest lines for zones are removed when a zone is dragged.
2014-02-03 17:40:39 +01:00
Carl Poirier
1490099ddd
Parallelized the RN_DATA::Recalculate() function.
2014-01-31 18:27:06 +01:00
Maciej Suminski
0c67e26e9c
Added the dynamic ratsnest for the tracks that are currently routed with the PNS router.
2014-01-31 18:05:11 +01:00
Maciej Suminski
630a3fb1b9
Safer RN_NET::GetNodes()
2014-01-31 14:41:15 +01:00
Maciej Suminski
7f3bf1bef7
Added missing operators==/!= for RN_NODE_PTR.
...
Moved ClearSimple() functions back to the header file.
2014-01-31 13:19:59 +01:00
Maciej Suminski
510fee1358
Another way of handling items for the ratsnest (clearer and now finally supports undo/redo of the PNS created tracks).
2014-01-30 15:46:39 +01:00
Maciej Suminski
83f7c7e35e
Added RN_DATA::Add()/Remove() methods.
...
RN_DATA::Update()/AddSimple() take BOARD_ITEM* as the parameter (instead of being split to versions with BOARD_CONNECTED_ITEM* and MODULE*), to make the code look clearer.
2014-01-28 16:30:58 +01:00
Maciej Suminski
a10d918cac
Thread-safe version of Delaunay triangulation.
2014-01-27 11:42:47 +01:00
Maciej Suminski
e537480f1e
Fixes crash when there are no edges for a given net in the ratsnest.
2014-01-26 22:01:42 +01:00
Maciej Suminski
84412ce135
Delaunau triangulation algorithm was bailing out if run on an emprty container.
2014-01-07 15:52:10 +01:00
Maciej Suminski
aaf857e894
Items removed from board are removed from ratsnest as well. Corrected the way of items removal from ratsnest.
2014-01-07 14:15:40 +01:00
Maciej Suminski
c79962635e
Ratsnest is updated, when there are tracks added using the P&S router.
2013-12-20 15:18:41 +01:00
Maciej Suminski
5fe20bbc70
Fixed broken search filters.
2013-12-20 11:54:48 +01:00
Maciej Suminski
c6efc451e6
Added ratsnest for GAL
2013-11-25 16:50:03 +01:00