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
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
745b5328eb
Moved common actions to a separate file.
2013-09-27 20:52:34 +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
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
c6d9a04dba
Parts of MODULEs are not selectable in multiple selection mode.
2013-09-09 10:10: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
55dddb69f7
Improved selection rules. Added some comments to the selection tool.
2013-09-04 10:56:06 +02:00
Maciej Suminski
9c6998c6bc
Added SELECTION_TOOL::GetSelection()
2013-08-30 10:23:18 +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
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
ff2a719bf7
Code reformatting.
2013-08-06 10:30:09 +02:00
Maciej Suminski
b6c4aaac8e
Moved highlighted flag from VIEW_ITEM to EDA_ITEM. Added brightened and selected flag to EDA_ITEM.
2013-08-06 09:31:08 +02:00
unknown
1a19c761ae
pcbnew: hooked Tool Framework into the edit panel. Added a sample selection tool (not fully functional).
2013-08-02 16:53:50 +02:00