Maciej Suminski
89055c4425
Code formatting
9 years ago
Tomasz Włostowski
27a10e8597
Multiple simplifications to GAL tools in PCBNew:
- Finalize transition to BOARD_COMMIT (removed all remaining uses of PICKED_ITEMS_LIST) and implicit view/ratsnest updates
- Simplified SELECTION class, it now can be directly added to a VIEW
- Removed unnecesary casts and templates
- Introduced C++11 features (range based for, lambdas) where they improve code readability
- Added non-undoable COMMITs, which can be used to propagate change notifications to interested listeners (e.g. ratsnest/view)
9 years ago
Maciej Suminski
5a1f52bf30
Modified tools to use BOARD_COMMIT.
9 years ago
Simon Richter
1b2fd6a382
Replace BOOST_FOREACH with C++11 range based for.
9 years ago
Maciej Suminski
d6bc33bd42
Removed a few more memory leaks and fixed crash on exit.
10 years ago
Maciej Suminski
99e5228948
Moved the list of TOOL_ACTIONs to ACTION_MANAGER.
11 years ago
Maciej Suminski
872259981a
CONDITIONAL_MENU supports separators and ordering.
11 years ago
Maciej Suminski
958046ddb2
Moved SELECTION_TOOL context menu to a separate class.
11 years ago
Maciej Suminski
946b9d1933
setTransitions() are called automatically for tools.
11 years ago
Maciej Suminski
b0ad779ee4
Calming down the Coverity report.
11 years ago
Maciej Suminski
902d0e3f1f
Tools are processing const TOOL_EVENT& (Tool Framework).
11 years ago
Maciej Suminski
d7c3c7828b
wxWidgets 2.8 compatibility fixes.
11 years ago
Maciej Suminski
2b0e27f132
Introduced SELECTION_CONDITIONS to determine which menu entries should be visible in the SELECTION_TOOL context menu, depending on the selection.
11 years ago
Maciej Suminski
bfa15d8db0
Moved SELECTION out of SELECTION_TOOL class.
11 years ago
Maciej Suminski
6f772c90d9
Renamed "Placement" context menu to "Align/distribute".
11 years ago
Maciej Suminski
77d8b2d84e
Context menu for the Placement Tool.
11 years ago
Maciej Suminski
f0ff744e97
Initial version of the Placement Tool.
11 years ago