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
Maciej Suminski
a2f0110f3d
Added selection box for DIMENSION.
2013-08-30 14:02:57 +02:00
Maciej Suminski
9c6998c6bc
Added SELECTION_TOOL::GetSelection()
2013-08-30 10:23:18 +02:00
Maciej Suminski
1bf848e418
Unified Set/GetPosition() for BOARD_ITEMs.
2013-08-29 12:06:06 +02:00
Maciej Suminski
68125a7f50
Changed reaction of SELECTION_TOOL to ToolCancel event (first event clears selection, second one deactivates the tool).
2013-08-22 15:05:37 +02:00
Maciej Suminski
b518569674
Added handling keyboard events for the Tool framework.
2013-08-21 17:37:27 +02:00
Maciej Suminski
e70a0e4e0e
Reformatting.
2013-08-19 09:47:36 +02:00
Maciej Suminski
543d4af682
Added resetting of tools after loading a new board.
2013-08-15 10:20:49 +02:00
Maciej Suminski
18618deea3
Added selection boxes for texts.
2013-08-09 15:04:10 +02:00
Maciej Suminski
67b64f5ec6
Added the additive mode for the selection area.
2013-08-09 10:18:48 +02:00
Maciej Suminski
46670c7eeb
Multiple items selection tool.
2013-08-08 19:42:19 +02:00
Maciej Suminski
eefc79b5b2
Reformatting.
2013-08-08 19:41:20 +02:00
Maciej Suminski
9d9d74faad
Reformatting.
2013-08-08 14:59:59 +02:00
Maciej Suminski
c2342776e1
Fixed disambiguation menu issue.
2013-08-08 14:50:32 +02:00
Maciej Suminski
09aa89f3f9
Added brightened mode for selecting items using disambiguation menu.
2013-08-08 12:30:00 +02:00
Maciej Suminski
a8430e09f5
Added selection box for modules.
2013-08-08 11:53:29 +02:00
Maciej Suminski
768b039cde
Added general purpose overlay layer and moved selection box to it.
2013-08-08 11:43:56 +02:00
Maciej Suminski
c928bc8ce3
Fixed layers caching settings. Added some comments.
2013-08-07 10:52:50 +02:00