Dick Hollenbeck
bf9db2148c
Hide m_galCanvas and m_galCanvasActive behind accessors. Fix DLIST concatonation API corner case.
2013-12-26 16:36:43 -06:00
Maciej Suminski
342684587a
Upstream merge.
2013-12-20 10:15:00 +01:00
Maciej Suminski
9a860c355a
Fixed disappearance of selected items after GAL switching.
2013-12-02 11:34:07 +01:00
Maciej Suminski
dd89260db3
Added ratsnest for GAL
2013-11-25 16:50:03 +01:00
Dick Hollenbeck
eed87fc699
more EDA_LIST_DIALOG usability enhancements, compiler warning, coding standards
2013-11-18 13:27:27 -06:00
Maciej Suminski
ee289e4a30
Modified error handling for OpenGL backend, now error messages should be visible.
2013-11-11 10:48:49 +01:00
Wayne Stambaugh
7b68bdce5f
Fix debug builds on wxWidgets 2.8.
2013-11-03 13:15:46 -05:00
Maciej Suminski
4bf49bf6a6
Renamed TOOL_MOUSE_BUTTONS constants to avoid name conflict with Windows MB_RIGHT constant.
2013-10-15 10:41:00 +02:00
Maciej Suminski
f9f23806ed
Mainly case changes.
2013-10-14 20:40:36 +02:00
Maciej Suminski
e66a4ce337
Namespace KiGfx->KIGFX.
...
template<> -> template <>
Some more reformatting according to uncrustify results.
2013-10-14 16:13:35 +02:00
Maciej Suminski
8223f9742e
Fixed memory leak caused by ViewUpdate() with VIEW_ITEM::GEOMETRY/LAYER parameters.
2013-10-02 13:57:21 +02:00
Maciej Suminski
dfdacba649
Worksheet is not selectable anymore.
2013-10-02 12:02:25 +02:00
Maciej Suminski
eeeffd1ad1
Removed SELECTION layer.
2013-10-02 11:39:08 +02:00
Maciej Suminski
93fc797b2e
Added missing ViewUpdate flag
2013-10-02 11:25:04 +02:00
Maciej Suminski
094d6de8e0
Fixed reset for the selection tool.
2013-10-02 11:21:17 +02:00
Maciej Suminski
3d9fc4c40f
Moved VIEW_GROUP creation to the selection tool. In this way selected items are always drawn on overlay, not only when dragged.
2013-10-02 10:21:05 +02:00
Maciej Suminski
3715af2172
Comments, refactoring
2013-10-01 10:21:32 +02:00
Maciej Sumiński
248e37c292
Fixed selection disambiguation menu for wx2.8
2013-09-29 21:23:45 +02:00
Maciej Sumiński
a64fb40d7e
Fixed strings for wxWidgets 2.8
2013-09-29 12:57:20 +02:00
Maciej Suminski
745b5328eb
Moved common actions to a separate file.
2013-09-27 20:52:34 +02:00
Maciej Suminski
a3a73426bf
Even more code comments and reformatting.
2013-09-27 18:51:21 +02:00
Maciej Suminski
276d867ab2
Some more comments and code formatting.
2013-09-27 16:23:43 +02:00
Maciej Suminski
9bef4cb797
Added Init() to TOOL_INTERACTIVE, allowing to set up things that are needed to be initialized only once.
...
TOOL_ACTIONs can be run from CONTEXT_MENU after adding them.
Move tool actions are available to be run from CONTEXT_MENU displayed after right mouse button click on selected items.
Added some asserts to check the code.
2013-09-26 18:38:58 +02:00
Maciej Suminski
e47790c3f8
Different way of handling CONTEXT_MENU in the selection tool. Removed some unnecessary lines.
2013-09-26 14:09:56 +02:00
Maciej Suminski
133e60410c
Added rotate & flip to the pcbnew.InteractiveMove tool, hotkeys for them and undoing all the operations on cancelling the tool.
2013-09-24 15:49:43 +02:00
Maciej Suminski
c931800642
Restored previous function names.
2013-09-20 16:32:11 +02:00
Maciej Suminski
e839d1a129
Merged kicad-gal
2013-09-20 15:48:27 +02:00
Maciej Suminski
1efec52b33
Added cursor for the move tool
2013-09-20 15:01:08 +02:00
Maciej Suminski
e07a8fbe31
Removed TA_ActivateTool (now tools are invoked by sending TA_Action event, with the tool name as string parameter).
...
Developed TOOL_Action class & added ActionManager. Hot keys registered by tools are processed.
Selection & move tool can be invoked by a hot key.
2013-09-19 17:02:57 +02:00
Maciej Suminski
67fadf0c94
Added missing files
2013-09-18 19:51: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
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
5e41599d13
Removed unnecessary debug message
2013-09-13 15:05:57 +02:00
Maciej Suminski
c1e1502d35
Merged Tom's branch
2013-09-12 17:42:28 +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
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
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
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
55dddb69f7
Improved selection rules. Added some comments to the selection tool.
2013-09-04 10:56:06 +02:00
Maciej Suminski
202f7f9107
Added autopanning to the selection tool.
2013-09-02 16:29:10 +02:00