tomasz.wlostowski@cern.ch
f6a3bc9168
Merged Orson's latest changes.
2013-09-18 20:10:55 +02:00
tomasz.wlostowski@cern.ch
abf37168de
Initial version of the P&S router. Buggy and crappy.
2013-09-18 19:55:16 +02:00
Maciej Suminski
67fadf0c94
Added missing files
2013-09-18 19:51:57 +02:00
Maciej Suminski
fcd3bbecdf
Added limits for VIEW scale values & panning area.
2013-09-18 17:36:54 +02:00
Maciej Suminski
3d767ffcc7
Moved Type() method from EDA_ITEM to VIEW_ITEM.
2013-09-18 17:04:07 +02:00
Maciej Suminski
f88711ebf9
Merged Tom's branch
2013-09-18 16:59:08 +02:00
tomasz.wlostowski@cern.ch
8bb3bba7e8
PCB_PAINTER: fix segfault when item has no net assigned
2013-09-18 13:16:57 +02:00
Maciej Suminski
b03359a3db
The last fix to selection rules.
2013-09-17 13:47:33 +02:00
Maciej Suminski
d4e07e981a
Selection in high contrast mode selects only items that are shown as active.
2013-09-17 11:32:47 +02:00
Maciej Suminski
2d097d0fd7
Selection box color is put into render settings. Selection layer is removed from active layers.
2013-09-17 11:23:00 +02:00
Maciej Suminski
278b4547f4
Modules are marked to be on copper layer too.
2013-09-17 11:21:42 +02:00
Maciej Suminski
32a12d1d6f
Unified marking of selected items.
2013-09-16 16:18:43 +02:00
Maciej Suminski
66fcd4c5a2
Fixed bounding box for dimension.
2013-09-16 14:44:03 +02:00
Maciej Suminski
ccdeb6dc0a
More careful check on the net number while drawing net labels for tracks.
2013-09-16 11:08:31 +02:00
Maciej Suminski
b579262869
Better way of marking 'brightened' mode for items.
2013-09-16 11:00:59 +02:00
Maciej Suminski
11f1dd1623
Sorted out headers.
2013-09-16 09:52:47 +02:00
Maciej Suminski
6dad482efa
Added more required layers for pads (adhesive, solder paste & solder mask)
2013-09-13 17:45:40 +02:00
Maciej Suminski
5e41599d13
Removed unnecessary debug message
2013-09-13 15:05:57 +02:00
Maciej Suminski
404bfdcf30
Changed VIEW::PrepareTargets() to more appropriate name VIEW::ClearTargets(). Added SELECTION layer to always-on-top list.
2013-09-13 11:28:47 +02:00
Maciej Suminski
7d41dc1616
Currently selected layer is displayed on the top.
2013-09-12 18:24:53 +02:00
Maciej Suminski
c1e1502d35
Merged Tom's branch
2013-09-12 17:42:28 +02:00
tomasz.wlostowski@cern.ch
73949712f6
added note why there's no P&S sources yet...
2013-09-12 11:49:24 +02:00
Maciej Suminski
9b2a450133
Fixed rollback of traces movement.
2013-09-12 10:54:11 +02:00
Maciej Suminski
fcfbe920d5
Removed selection disambiguation in case when there is a choice between a footprint and a smaller component (smaller components have priority).
2013-09-12 10:46:22 +02:00
Maciej Suminski
b57331f450
Move tool is activated when drag event starts nearby selected items.
2013-09-12 10:24:23 +02:00
Maciej Suminski
f8ae1a9997
Removed some potential memory leaks.
2013-09-11 19:37:52 +02:00
Maciej Suminski
e38019d74e
Removed some dead code.
2013-09-11 16:38:40 +02:00
Maciej Suminski
7da892b49a
Added drawing of worksheet layout.
2013-09-11 14:42:12 +02:00
Maciej Suminski
60c84abfe4
Changed lifetime of RENDER_SETTINGS (now they are accessible right after PAINTER object is created).
2013-09-11 12:09:22 +02:00
Maciej Suminski
efa1ac3807
Moved GetColor() from PAINTER to RENDER_SETTINGS. Fixed recaching of custom items.
2013-09-11 11:39:46 +02:00
Maciej Suminski
f6b7ab7994
Changed some 'magic numbers' into constants. Added const modifier in appropriate spots.
2013-09-11 11:34:10 +02:00
tomasz.wlostowski@cern.ch
d1883bdd9d
Merged kicad-gal-orson
2013-09-10 19:32:19 +02:00
tomasz.wlostowski@cern.ch
b4ff4df808
pcbnew: start integrating P&S router
2013-09-10 19:26:44 +02:00
Maciej Suminski
57a1201b11
PCB items are refreshed on GAL switching (changes made using default renderer are displayed by GAL).
2013-09-10 13:57:28 +02:00
Maciej Suminski
bd6bb510f8
Changed D() macro to DBG() because of conflict with glm::D().
...
Added const to GetColor() and GetType() functions in WS_DRAW_ITEM.
2013-09-10 10:47:42 +02:00
tomasz.wlostowski@cern.ch
36d4e8fa62
PCB_PAINTER: added public GetLayerColor() method
2013-09-09 17:08:52 +02:00
Maciej Suminski
9406893722
Enabled snapping for the move tool.
2013-09-09 11:45:20 +02:00
Maciej Suminski
c6d9a04dba
Parts of MODULEs are not selectable in multiple selection mode.
2013-09-09 10:10:02 +02:00
Maciej Suminski
77fc1aecb2
First version of the move tool.
2013-09-09 09:34:52 +02:00
Maciej Suminski
02f7e9c800
Changed focus owner of LayerWidget to EDA_DRAW_PANEL_GAL to make keyboard events work (apparently everything works fine, to be tested more extensively).
...
Removed unnecessary event hook from EDA_DRAW_PANEL_GAL.
2013-09-06 17:53:01 +02:00
Maciej Suminski
cbbc2f42e8
Starts the GAL by default.
2013-09-06 17:06:33 +02:00
Maciej Suminski
7e73dad7b0
Some more spots where the GAL refresh was required.
2013-09-06 17:06:02 +02:00
Maciej Suminski
bc67fc338e
Smarter selection algorithm (does not allow to select both whole MODULE and its parts at the same time).
...
Cancel event works better (selection box does not appear after cancelling the selection tool).
Removed blinking selection box effect.
Model is accessed in more appropriate way (getModel() method).
2013-09-06 16:04:12 +02:00
Maciej Suminski
345e97f296
Solved refreshing issues.
2013-09-06 11:31:16 +02:00
Maciej Suminski
7716d4592d
Fixed hotkeys for switching rendering backends.
2013-09-06 10:19:53 +02:00
Maciej Suminski
9a032e7422
Moved selection marking boxes to a different layer.
2013-09-04 16:18:37 +02:00
Maciej Suminski
55dddb69f7
Improved selection rules. Added some comments to the selection tool.
2013-09-04 10:56:06 +02:00
Maciej Suminski
446a0a174e
Module texts are now moveable, rotatable and flippable.
2013-09-03 14:15:37 +02:00
Maciej Suminski
6405273059
Support for trapezoidal pads.
2013-09-03 13:51:53 +02:00
Maciej Suminski
202f7f9107
Added autopanning to the selection tool.
2013-09-02 16:29:10 +02:00