tomasz.wlostowski@cern.ch
0d4b71ef3c
Merged Orson's latest changes.
2013-09-18 20:10:55 +02:00
tomasz.wlostowski@cern.ch
db62d672d2
Initial version of the P&S router. Buggy and crappy.
2013-09-18 19:55:16 +02:00
Maciej Suminski
9ec4520c45
Added missing files
2013-09-18 19:51:57 +02:00
Maciej Suminski
9b16651607
Added limits for VIEW scale values & panning area.
2013-09-18 17:36:54 +02:00
Maciej Suminski
56c78d44bf
Moved Type() method from EDA_ITEM to VIEW_ITEM.
2013-09-18 17:04:07 +02:00
Maciej Suminski
dcb5d8f25c
Merged Tom's branch
2013-09-18 16:59:08 +02:00
tomasz.wlostowski@cern.ch
1112d279c5
PCB_PAINTER: fix segfault when item has no net assigned
2013-09-18 13:16:57 +02:00
Maciej Suminski
300c066b68
The last fix to selection rules.
2013-09-17 13:47:33 +02:00
Maciej Suminski
867067aa9c
Selection in high contrast mode selects only items that are shown as active.
2013-09-17 11:32:47 +02:00
Maciej Suminski
c5c65d366d
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
f53dafd496
Modules are marked to be on copper layer too.
2013-09-17 11:21:42 +02:00
Maciej Suminski
8e0674b724
Unified marking of selected items.
2013-09-16 16:18:43 +02:00
Maciej Suminski
7207de9bea
Fixed bounding box for dimension.
2013-09-16 14:44:03 +02:00
Maciej Suminski
8a1c97ea56
More careful check on the net number while drawing net labels for tracks.
2013-09-16 11:08:31 +02:00
Maciej Suminski
573f9841df
Better way of marking 'brightened' mode for items.
2013-09-16 11:00:59 +02:00
Maciej Suminski
86f520f76e
Sorted out headers.
2013-09-16 09:52:47 +02:00
Maciej Suminski
b907e74d37
Added more required layers for pads (adhesive, solder paste & solder mask)
2013-09-13 17:45:40 +02:00
Maciej Suminski
4c2e3b9a59
Removed unnecessary debug message
2013-09-13 15:05:57 +02:00
Maciej Suminski
42860b5d02
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
d9ff4b851a
Currently selected layer is displayed on the top.
2013-09-12 18:24:53 +02:00
Maciej Suminski
82fe1a4972
Merged Tom's branch
2013-09-12 17:42:28 +02:00
tomasz.wlostowski@cern.ch
ac871702ce
added note why there's no P&S sources yet...
2013-09-12 11:49:24 +02:00
Maciej Suminski
bfdad27893
Fixed rollback of traces movement.
2013-09-12 10:54:11 +02:00
Maciej Suminski
8f5e6badc4
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
382c6bd201
Move tool is activated when drag event starts nearby selected items.
2013-09-12 10:24:23 +02:00
Maciej Suminski
d13355f7fe
Removed some potential memory leaks.
2013-09-11 19:37:52 +02:00
Maciej Suminski
f179183dea
Removed some dead code.
2013-09-11 16:38:40 +02:00
Maciej Suminski
90a3b97c2f
Added drawing of worksheet layout.
2013-09-11 14:42:12 +02:00
Maciej Suminski
e2f5b2779f
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
afe2e27b0a
Moved GetColor() from PAINTER to RENDER_SETTINGS. Fixed recaching of custom items.
2013-09-11 11:39:46 +02:00
Maciej Suminski
c5d3376c26
Changed some 'magic numbers' into constants. Added const modifier in appropriate spots.
2013-09-11 11:34:10 +02:00
tomasz.wlostowski@cern.ch
9eb3916852
Merged kicad-gal-orson
2013-09-10 19:32:19 +02:00
tomasz.wlostowski@cern.ch
fa817b7475
pcbnew: start integrating P&S router
2013-09-10 19:26:44 +02:00
Maciej Suminski
5659dd479e
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
4f0aa1c07c
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
b0357ce9a7
PCB_PAINTER: added public GetLayerColor() method
2013-09-09 17:08:52 +02:00
Maciej Suminski
5e3ab406e2
Enabled snapping for the move tool.
2013-09-09 11:45:20 +02:00
Maciej Suminski
d2c47a74f2
Parts of MODULEs are not selectable in multiple selection mode.
2013-09-09 10:10:02 +02:00
Maciej Suminski
31f7ecc16a
First version of the move tool.
2013-09-09 09:34:52 +02:00
Maciej Suminski
f1b0ffd3d7
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
c012554daa
Starts the GAL by default.
2013-09-06 17:06:33 +02:00
Maciej Suminski
8658d90663
Some more spots where the GAL refresh was required.
2013-09-06 17:06:02 +02:00
Maciej Suminski
d213a26057
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
ab4cb862b0
Solved refreshing issues.
2013-09-06 11:31:16 +02:00
Maciej Suminski
f04df9d79c
Fixed hotkeys for switching rendering backends.
2013-09-06 10:19:53 +02:00
Maciej Suminski
000f1122b1
Moved selection marking boxes to a different layer.
2013-09-04 16:18:37 +02:00
Maciej Suminski
44bafd1c8f
Improved selection rules. Added some comments to the selection tool.
2013-09-04 10:56:06 +02:00
Maciej Suminski
2a45987d46
Module texts are now moveable, rotatable and flippable.
2013-09-03 14:15:37 +02:00
Maciej Suminski
8a0157069b
Support for trapezoidal pads.
2013-09-03 13:51:53 +02:00
Maciej Suminski
ee3f47ae51
Added autopanning to the selection tool.
2013-09-02 16:29:10 +02:00