|
KiCad PCB EDA Suite
|
The block drag gesture, with the state it holds while it runs. More...
Public Member Functions | |
| BLOCK_DRAG_SESSION (PCB_POINT_EDITOR &aEditor, PCB_BASE_EDIT_FRAME *aEditFrame, PCB_GRID_HELPER &aGrid, BOARD_COMMIT &aCommit) | |
| bool | IsActive () const |
| Whether a drag is running. | |
| bool | Begin (const VECTOR2I &aOrigin, bool aPressInFlight) |
| Start a drag from the handle at aOrigin. | |
| bool | KeyboardDrag () const |
| Whether this drag runs from the keyboard, so motion moves it and a click places it. | |
| bool | ApplyCursor (const TOOL_EVENT &aEvent) |
| Place one frame of the drag. True when the editor has to leave its loop. | |
| bool | Release (const TOOL_EVENT &aEvent) |
| Finish the drag and push what it changed. True when the editor has to leave its loop. | |
| bool | Cancel (TOOL_EVENT &aEvent) |
| Undo the drag, keeping the picks. True when the editor has to leave its loop. | |
| void | Abort () |
| Undo a drag that is still running, for the exits that miss the release and cancel paths. | |
| bool | AreaPickStarts (const TOOL_EVENT &aEvent) |
| Whether a drag starting on empty canvas should pick handles by area. | |
| bool | RunAreaPick (const TOOL_EVENT &aEvent) |
| Run the lasso or the box, whichever the selection mode asks for. | |
| bool | Refused () const |
| Whether the last start was refused, in which case the gesture has already said why. | |
| void | ClearRefused () |
| bool | PressConsumed () const |
| Whether the rest of a swallowed button press is still to be ignored. | |
| void | ClearPressConsumed () |
Private Types | |
| enum class | FRAME_RESULT { APPLIED , LOST_IDENTITY , CONSTRAINED } |
| How one frame of the gesture turned out. More... | |
Private Member Functions | |
| FRAME_RESULT | applyFrame (const VECTOR2I &aDelta, std::vector< EDA_ITEM * > &aUpdated) |
| Write one frame. | |
| bool | collectTargets () |
| Pair every collection that holds a moved point with its behavior. | |
| void | releaseState () |
| Put the view, the flags and the router back, and drop the gesture's state. | |
| bool | revert (bool aPushed) |
| Undo the gesture. | |
| void | endDrag (bool aKeepPicks) |
| End the gesture and rebuild the handles. | |
| bool | refuseRelease (const wxString &aMessage) |
| Say why the release was refused and put the board back, keeping the picks so the user can try again from the same handles. | |
| KIGFX::COLOR4D | bandColor () const |
| Band colour for the area picks, kept clear of the canvas colour. | |
| void | showBand (HANDLE_PICK_AREA &aArea) |
| Put the pick band on the view and take the cursor for it, and take it off again. | |
| void | hideBand (HANDLE_PICK_AREA &aArea) |
| bool | runLasso (const TOOL_EVENT &aEvent) |
| Pick handles with a lasso, the way the object lasso works. | |
| bool | runBox (const TOOL_EVENT &aEvent) |
| Pick handles with a box, which finishes on release like normal box selection. | |
Private Attributes | |
| PCB_POINT_EDITOR & | m_editor |
| PCB_BASE_EDIT_FRAME * | m_editFrame |
| PCB_GRID_HELPER & | m_grid |
| BOARD_COMMIT & | m_commit |
| bool | m_active = false |
| A drag is running. | |
| bool | m_keyboardDrag = false |
| Started with D, so motion moves it and a click places it. | |
| bool | m_pressConsumed = false |
| The rest of a swallowed button press is still to be ignored. | |
| bool | m_refused = false |
| The last start was declined and said why itself. | |
| bool | m_revertRestarts = false |
| Undo will hand out fresh objects, so the editor has to start again from the live selection. | |
| bool | m_routerActive = false |
| A router drag session is carrying the block's copper. | |
| std::map< PCB_HANDLE_KEY, VECTOR2I > | m_origins |
| Where each picked handle stood when the gesture began. | |
| std::vector< std::pair< EDIT_POINTS *, POINT_EDIT_BEHAVIOR * > > | m_targets |
| Each collection holding a picked handle, with the behavior that rebuilds its item. | |
| std::vector< BLOCK_DRAG_ENDPOINT > | m_dependents |
| Unselected ends that sit on a moved joint and follow it, with the handle drawn at each one. | |
| std::vector< std::shared_ptr< EDIT_POINTS > > | m_dependentDisplays |
| std::vector< BOARD_ITEM * > | m_rigidItems |
| Selected items with no picked handle, which travel whole as they would under the move tool. | |
| std::vector< BOARD_ITEM * > | m_moving |
| Everything that moves with the cursor, kept out of the snap targets so the block cannot chase its own geometry. | |
| std::vector< KIID > | m_overlayHidden |
| Copper whose selection overlay is hidden while the router preview stands in for it, by id because fixing the route can replace a carried segment. | |
| std::vector< std::pair< PCB_SHAPE *, CONSTRAINT_MEMBER > > | m_constraintAnchors |
| What the solve holds fixed: the anchors the gesture placed itself, and the items it carried whole, whose offset is pinned so the solve cannot pull them back out. | |
| std::set< KIID > | m_constraintTranslated |
| std::optional< BOARD_CONSTRAINT_BLOCK_SESSION > | m_constraintSession |
| bool | m_constraintWarned = false |
| Said once, not per frame. | |
| std::set< PCB_SHAPE * > | m_solverBrightened |
| Neighbours the solve pulled along, brightened so the user can see what moved with the block. | |
| std::optional< BLOCK_DRAG_VALIDATION > | m_validation |
| The baseline the zone and board outline checks compare the released geometry against. | |
| VECTOR2I | m_appliedDelta |
| The last offset written to the board, which is what a refused frame is undone with. | |
| BOARD_ITEM * | m_refParent = nullptr |
| The grabbed handle's snapping context, taken once at the start. | |
| GRID_HELPER_GRIDS | m_refGrid = GRID_CURRENT |
| SNAP_CONSTRAINT_TYPE | m_snapConstraint = OBJECT_LAYERS |
| VECTOR2I | m_grabStart |
The block drag gesture, with the state it holds while it runs.
Lives on the stack for one run of PCB_POINT_EDITOR::OnSelectionChange and borrows that call's frame, grid helper and commit. The editor makes it a friend, because the gesture works on the same handle collections, picked set and expanded selection the editor builds, and its area picks run their own event loops through the editor's Wait().
The editor's loop decides which event goes where. Everything the gesture then does to the board is behind the calls below.
Definition at line 2957 of file pcb_point_editor.cpp.
|
strongprivate |
How one frame of the gesture turned out.
| Enumerator | |
|---|---|
| APPLIED | The frame's geometry went onto the board. |
| LOST_IDENTITY | A picked handle has gone, so the gesture has to stop. |
| CONSTRAINED | A constraint blocks this frame, and the board is untouched. |
Definition at line 3011 of file pcb_point_editor.cpp.
|
inline |
Definition at line 2960 of file pcb_point_editor.cpp.
References m_commit, m_editFrame, m_editor, and m_grid.
| void BLOCK_DRAG_SESSION::Abort | ( | ) |
Undo a drag that is still running, for the exits that miss the release and cancel paths.
Reset() runs it as well, while the items are still here.
Definition at line 3218 of file pcb_point_editor.cpp.
References m_active, m_commit, m_editor, and releaseState().
Referenced by Begin(), and PCB_POINT_EDITOR::OnSelectionChange().
| bool BLOCK_DRAG_SESSION::ApplyCursor | ( | const TOOL_EVENT & | aEvent | ) |
Place one frame of the drag. True when the editor has to leave its loop.
Definition at line 4252 of file pcb_point_editor.cpp.
References _, ALL_LAYERS, LSET::AllLayersMask(), PNS::ROUTING_SETTINGS::AllowDRCViolations(), APPLIED, applyFrame(), CONSTRAINED, CONVERGING, PCB_POINT_EDITOR::COORDS_PADDING, delta, endDrag(), FIXED_LENGTH, GetClampedCoords(), PNS::ROUTER::GetDragger(), EDIT_LINE::GetDragPolicy(), IGNORE_SNAPS, KeyNameFromKeyCode(), LOST_IDENTITY, m_appliedDelta, m_constraintWarned, m_editor, m_grabStart, m_grid, m_keyboardDrag, m_moving, m_origins, m_pressConsumed, m_refGrid, m_refParent, m_routerActive, m_snapConstraint, MD_CTRL, TOOL_EVENT::Modifier(), OBJECT_LAYERS, TOOL_EVENT::Position(), PSEUDO_WXK_CLICK, revert(), PNS::TOOL_BASE::Router(), ROUTER_STATUS_VIEW_ITEM::SetHint(), ROUTER_STATUS_VIEW_ITEM::SetMessage(), ROUTER_STATUS_VIEW_ITEM::SetPosition(), and PNS::ROUTER::Settings().
Referenced by PCB_POINT_EDITOR::OnSelectionChange().
|
private |
Write one frame.
First the reshaped items, then the ones that travel whole, then the joined endpoints that follow, then the constraint solve over all of them. Undoing a frame is this same call with the last offset the gesture accepted.
Definition at line 3318 of file pcb_point_editor.cpp.
References anchor, APPLIED, BlockDragApplyDisplacement(), collectTargets(), CONSTRAINED, ConstraintShapeAnchors(), BLOCK_DRAG_ENDPOINT::follow, EDA_SHAPE::GetEnd(), EDA_ITEM::GetParent(), EDA_SHAPE::GetStart(), BLOCK_DRAG_ENDPOINT::isStart, LOST_IDENTITY, m_appliedDelta, m_commit, m_constraintAnchors, m_constraintSession, m_constraintTranslated, m_dependentDisplays, m_dependents, m_editor, m_grid, m_origins, m_rigidItems, m_solverBrightened, m_targets, EDA_ITEM::m_Uuid, PCB_SHAPE::Move(), moved, PCB_SHAPE_T, BLOCK_DRAG_ENDPOINT::position, REFUSED, PCB_SHAPE::SetEnd(), PCB_SHAPE::SetStart(), BLOCK_DRAG_ENDPOINT::shape, and WHOLE.
Referenced by ApplyCursor().
| bool BLOCK_DRAG_SESSION::AreaPickStarts | ( | const TOOL_EVENT & | aEvent | ) |
Whether a drag starting on empty canvas should pick handles by area.
False with the feature off, with a handle under the drag origin, with nothing pickable, or on a selected object.
Definition at line 4033 of file pcb_point_editor.cpp.
References BlockDragHandlePickable(), TOOL_EVENT::DragOrigin(), m_editor, MD_ALT, MD_CTRL, MD_SHIFT, and TOOL_EVENT::Modifier().
Referenced by PCB_POINT_EDITOR::OnSelectionChange().
|
private |
Band colour for the area picks, kept clear of the canvas colour.
Definition at line 4071 of file pcb_point_editor.cpp.
References KIGFX::RENDER_SETTINGS::GetLayerColor(), KIGFX::COLOR4D::Invert(), LAYER_AUX_ITEMS, and m_editor.
Referenced by showBand().
| bool BLOCK_DRAG_SESSION::Begin | ( | const VECTOR2I & | aOrigin, |
| bool | aPressInFlight ) |
Start a drag from the handle at aOrigin.
aPressInFlight says a mouse button is down, so a refusal has the rest of that press to ignore and the drag follows the button. Without it the drag runs from the keyboard instead, with the cursor free.
Definition at line 3455 of file pcb_point_editor.cpp.
References _, Abort(), PNS::ITEM_SET::Add(), anchor, ARC, blockDragAppendConstraintCoMembers(), BlockDragApplyPick(), BlockDragCapability(), BlockDragFindDependents(), BlockDragHandlePickable(), BlockDragIsConstraintMember(), BlockDragMoveOrigins(), BoardHasConstraints(), candidates(), collectTargets(), ConstraintItemIsLocked(), constraintMemberForEditPoint(), PNS::DM_BLOCK, Edge_Cuts, END, PNS::NODE::FindItemsByParent(), PNS::ROUTER::GetDragger(), EDA_SHAPE::GetEnd(), PNS::TOOL_BASE::GetInterface(), EDA_ITEM::GetItemDescription(), EDA_ITEM::GetParent(), EDIT_POINTS::GetParent(), EDIT_POINT::GetPosition(), EDA_SHAPE::GetShape(), EDIT_POINT::GetSnapConstraint(), EDA_SHAPE::GetStart(), PNS::ROUTER::GetWorld(), FOOTPRINT::GraphicalItems(), IS_MOVING, IsConstrainableItem(), IsCopperLayer(), TOOL_BASE::IsToolActive(), link, LOCKED, m_active, m_appliedDelta, m_commit, m_constraintAnchors, m_constraintSession, m_constraintTranslated, m_dependentDisplays, m_dependents, m_editFrame, m_editor, m_grabStart, m_grid, m_keyboardDrag, m_moving, m_origins, m_overlayHidden, m_pressConsumed, m_refGrid, m_refParent, m_refused, m_revertRestarts, m_rigidItems, m_routerActive, m_snapConstraint, m_targets, EDA_ITEM::m_Uuid, m_validation, PCB_HANDLE_KEY::Make(), Margin, PNS::ROUTER::Move(), NO_RECURSE, pad, FOOTPRINT::Pads(), PCB_FOOTPRINT_T, PCB_GENERATOR_T, PCB_PAD_T, PCB_SHAPE_T, RECURSE, ROUTER, PNS::TOOL_BASE::Router(), PNS::ROUTER::RoutingInProgress(), SEGMENT, PNS_KICAD_IFACE_BASE::SetBoard(), PNS_KICAD_IFACE::SetIndependentPads(), PNS_KICAD_IFACE::SetView(), PNS::ITEM_SET::Size(), START, PNS::ROUTER::StartDragging(), PNS::ROUTER::SyncWorld(), EDA_ITEM::Type(), UNSUPPORTED, WHOLE, and FOOTPRINT::Zones().
Referenced by PCB_POINT_EDITOR::OnSelectionChange().
| bool BLOCK_DRAG_SESSION::Cancel | ( | TOOL_EVENT & | aEvent | ) |
Undo the drag, keeping the picks. True when the editor has to leave its loop.
Definition at line 4586 of file pcb_point_editor.cpp.
References endDrag(), TOOL_EVENT::GetCommandId(), TOOL_EVENT::IsCancel(), m_keyboardDrag, m_pressConsumed, revert(), and TOOL_EVENT::SetPassEvent().
Referenced by PCB_POINT_EDITOR::OnSelectionChange().
|
inline |
Definition at line 3007 of file pcb_point_editor.cpp.
References m_pressConsumed.
Referenced by PCB_POINT_EDITOR::OnSelectionChange().
|
inline |
Definition at line 3003 of file pcb_point_editor.cpp.
References m_refused.
Referenced by PCB_POINT_EDITOR::OnSelectionChange().
|
private |
Pair every collection that holds a moved point with its behavior.
Looked up again on each use, because updatePoints() can rebuild a collection in place.
Definition at line 3262 of file pcb_point_editor.cpp.
References PCB_POINT_EDITOR::BLOCK_HANDLE_ENTRY::behavior, EDA_ITEM::GetParent(), m_editor, m_origins, m_targets, EDA_ITEM::m_Uuid, and PCB_POINT_EDITOR::BLOCK_HANDLE_ENTRY::points.
Referenced by applyFrame(), Begin(), and Release().
|
private |
End the gesture and rebuild the handles.
Definition at line 3250 of file pcb_point_editor.cpp.
References m_active, m_editor, and releaseState().
Referenced by ApplyCursor(), Cancel(), refuseRelease(), and Release().
|
private |
Definition at line 4098 of file pcb_point_editor.cpp.
References m_editor.
Referenced by runBox(), and runLasso().
|
inline |
Whether a drag is running.
Definition at line 2970 of file pcb_point_editor.cpp.
References m_active.
Referenced by PCB_POINT_EDITOR::OnSelectionChange().
|
inline |
Whether this drag runs from the keyboard, so motion moves it and a click places it.
Definition at line 2978 of file pcb_point_editor.cpp.
References m_keyboardDrag.
Referenced by PCB_POINT_EDITOR::OnSelectionChange().
|
inline |
Whether the rest of a swallowed button press is still to be ignored.
Definition at line 3006 of file pcb_point_editor.cpp.
References m_pressConsumed.
Referenced by PCB_POINT_EDITOR::OnSelectionChange().
|
inline |
Whether the last start was refused, in which case the gesture has already said why.
Definition at line 3002 of file pcb_point_editor.cpp.
References m_refused.
Referenced by PCB_POINT_EDITOR::OnSelectionChange().
|
private |
| bool BLOCK_DRAG_SESSION::Release | ( | const TOOL_EVENT & | aEvent | ) |
Finish the drag and push what it changed. True when the editor has to leave its loop.
Definition at line 4387 of file pcb_point_editor.cpp.
References _, PNS::ROUTING_SETTINGS::AllowDRCViolations(), APPEND_UNDO, blockDragDrcRefusal(), collectTargets(), PCB_GENERATOR::EditFinish(), PCB_GENERATOR::EditStart(), endDrag(), ZONE_FILLER::Fill(), PNS::ROUTER::FixRoute(), PNS::ROUTER::GetDragger(), PNS::DRAG_ALGO::GetForceMarkObstaclesMode(), PNS::TOOL_BASE::GetInterface(), INVALID_ZONE, PCB_GENERATOR::IsDirty(), m_active, m_appliedDelta, m_commit, m_dependents, m_editFrame, m_editor, m_moving, m_origins, m_rigidItems, m_routerActive, m_targets, m_validation, MD_CTRL, TOOL_EVENT::Modifier(), OK, PCB_GENERATOR_T, PCB_ZONE_T, BOARD_COMMIT::Push(), refuseRelease(), revert(), PNS::TOOL_BASE::Router(), PNS_KICAD_IFACE::SetCommitFlags(), PNS::ROUTER::Settings(), PCB_GENERATOR::Update(), and ZONE_FILL_OP.
Referenced by PCB_POINT_EDITOR::OnSelectionChange().
|
private |
Put the view, the flags and the router back, and drop the gesture's state.
Definition at line 3132 of file pcb_point_editor.cpp.
References PNS::TOOL_BASE::GetInterface(), IS_MOVING, m_active, m_appliedDelta, m_constraintAnchors, m_constraintSession, m_constraintTranslated, m_constraintWarned, m_dependentDisplays, m_dependents, m_editor, m_grid, m_keyboardDrag, m_moving, m_origins, m_overlayHidden, m_revertRestarts, m_rigidItems, m_routerActive, m_solverBrightened, m_targets, m_validation, PNS::TOOL_BASE::Router(), PNS::ROUTER::RoutingInProgress(), PNS_KICAD_IFACE::SetIndependentPads(), and PNS::ROUTER::StopRouting().
|
private |
Undo the gesture.
True when the editor has to leave its loop and start again from the live selection: in the board editor a footprint child is staged through its footprint, and undoing that gives the footprint fresh children, so every pointer held here to such a child is dead. The move tool restarts the point editor the same way after its own undo. Once the carried changes have been pushed, the gesture's undo entry is popped off instead.
Definition at line 3232 of file pcb_point_editor.cpp.
References m_commit, m_editFrame, m_editor, m_revertRestarts, releaseState(), and EVENTS::SelectedEvent.
Referenced by ApplyCursor(), Cancel(), refuseRelease(), and Release().
| bool BLOCK_DRAG_SESSION::RunAreaPick | ( | const TOOL_EVENT & | aEvent | ) |
Run the lasso or the box, whichever the selection mode asks for.
True when the editor has to leave its loop.
Definition at line 3121 of file pcb_point_editor.cpp.
References INSIDE_LASSO, m_editor, runBox(), runLasso(), and TOUCHING_LASSO.
Referenced by PCB_POINT_EDITOR::OnSelectionChange().
|
private |
Pick handles with a box, which finishes on release like normal box selection.
True when the band ended on an event the editor's loop has to handle itself.
Definition at line 4186 of file pcb_point_editor.cpp.
References BlockDragLassoPick(), blockDragPassNavigation(), BlockDragPickRect(), BUT_LEFT, TOOL_EVENT::DragOrigin(), end, hideBand(), EVENTS::InhibitSelectionEditing, m_editor, MD_SHIFT, TOOL_EVENT::Modifier(), TOOL_EVENT::Position(), showBand(), and KIGFX::VIEW::Update().
Referenced by RunAreaPick().
|
private |
Pick handles with a lasso, the way the object lasso works.
True when the band ended on an event the editor's loop has to handle itself.
Definition at line 4106 of file pcb_point_editor.cpp.
References SHAPE_LINE_CHAIN::Append(), BlockDragLassoPick(), blockDragPassNavigation(), BUT_LEFT, SHAPE_LINE_CHAIN::CLastPoint(), ACTIONS::cursorClick, ACTIONS::cursorDblClick, ACTIONS::deleteLastPoint, ACTIONS::doDelete, TOOL_EVENT::DragOrigin(), ACTIONS::finishInteractive, SHAPE_LINE_CHAIN::GetPointCount(), hideBand(), EVENTS::InhibitSelectionEditing, m_editor, MD_SHIFT, TOOL_EVENT::Modifier(), SHAPE_LINE_CHAIN::Remove(), SHAPE_LINE_CHAIN::SetClosed(), showBand(), ACTIONS::undo, and KIGFX::VIEW::Update().
Referenced by RunAreaPick().
|
private |
Put the pick band on the view and take the cursor for it, and take it off again.
Definition at line 4083 of file pcb_point_editor.cpp.
References bandColor(), m_editor, and KIGFX::COLOR4D::WithAlpha().
Referenced by runBox(), and runLasso().
|
private |
A drag is running.
Definition at line 3065 of file pcb_point_editor.cpp.
Referenced by Abort(), Begin(), endDrag(), IsActive(), Release(), and releaseState().
|
private |
The last offset written to the board, which is what a refused frame is undone with.
Definition at line 3111 of file pcb_point_editor.cpp.
Referenced by ApplyCursor(), applyFrame(), Begin(), Release(), and releaseState().
|
private |
Definition at line 3063 of file pcb_point_editor.cpp.
Referenced by Abort(), applyFrame(), Begin(), BLOCK_DRAG_SESSION(), Release(), and revert().
|
private |
What the solve holds fixed: the anchors the gesture placed itself, and the items it carried whole, whose offset is pinned so the solve cannot pull them back out.
Definition at line 3098 of file pcb_point_editor.cpp.
Referenced by applyFrame(), Begin(), and releaseState().
|
private |
Definition at line 3101 of file pcb_point_editor.cpp.
Referenced by applyFrame(), Begin(), and releaseState().
|
private |
Definition at line 3099 of file pcb_point_editor.cpp.
Referenced by applyFrame(), Begin(), and releaseState().
|
private |
Said once, not per frame.
Definition at line 3102 of file pcb_point_editor.cpp.
Referenced by ApplyCursor(), and releaseState().
|
private |
Definition at line 3083 of file pcb_point_editor.cpp.
Referenced by applyFrame(), Begin(), and releaseState().
|
private |
Unselected ends that sit on a moved joint and follow it, with the handle drawn at each one.
The two line up index by index.
Definition at line 3082 of file pcb_point_editor.cpp.
Referenced by applyFrame(), Begin(), Release(), and releaseState().
|
private |
Definition at line 3061 of file pcb_point_editor.cpp.
Referenced by Begin(), BLOCK_DRAG_SESSION(), Release(), and revert().
|
private |
Definition at line 3060 of file pcb_point_editor.cpp.
Referenced by Abort(), ApplyCursor(), applyFrame(), AreaPickStarts(), bandColor(), Begin(), BLOCK_DRAG_SESSION(), collectTargets(), endDrag(), hideBand(), refuseRelease(), Release(), releaseState(), revert(), RunAreaPick(), runBox(), runLasso(), and showBand().
|
private |
Definition at line 3117 of file pcb_point_editor.cpp.
Referenced by ApplyCursor(), and Begin().
|
private |
Definition at line 3062 of file pcb_point_editor.cpp.
Referenced by ApplyCursor(), applyFrame(), Begin(), BLOCK_DRAG_SESSION(), and releaseState().
|
private |
Started with D, so motion moves it and a click places it.
Definition at line 3066 of file pcb_point_editor.cpp.
Referenced by ApplyCursor(), Begin(), Cancel(), KeyboardDrag(), and releaseState().
|
private |
Everything that moves with the cursor, kept out of the snap targets so the block cannot chase its own geometry.
Also the list the release clears the moving flags from.
Definition at line 3090 of file pcb_point_editor.cpp.
Referenced by ApplyCursor(), Begin(), Release(), and releaseState().
|
private |
Where each picked handle stood when the gesture began.
Every frame is placed from these, never from the current position, so a long drag cannot drift.
Definition at line 3075 of file pcb_point_editor.cpp.
Referenced by ApplyCursor(), applyFrame(), Begin(), collectTargets(), Release(), and releaseState().
|
private |
Copper whose selection overlay is hidden while the router preview stands in for it, by id because fixing the route can replace a carried segment.
Definition at line 3094 of file pcb_point_editor.cpp.
Referenced by Begin(), and releaseState().
|
private |
The rest of a swallowed button press is still to be ignored.
Definition at line 3067 of file pcb_point_editor.cpp.
Referenced by ApplyCursor(), Begin(), Cancel(), ClearPressConsumed(), and PressConsumed().
|
private |
Definition at line 3115 of file pcb_point_editor.cpp.
Referenced by ApplyCursor(), and Begin().
|
private |
The grabbed handle's snapping context, taken once at the start.
Definition at line 3114 of file pcb_point_editor.cpp.
Referenced by ApplyCursor(), and Begin().
|
private |
The last start was declined and said why itself.
Definition at line 3068 of file pcb_point_editor.cpp.
Referenced by Begin(), ClearRefused(), and Refused().
|
private |
Undo will hand out fresh objects, so the editor has to start again from the live selection.
Definition at line 3069 of file pcb_point_editor.cpp.
Referenced by Begin(), releaseState(), and revert().
|
private |
Selected items with no picked handle, which travel whole as they would under the move tool.
Definition at line 3086 of file pcb_point_editor.cpp.
Referenced by applyFrame(), Begin(), Release(), and releaseState().
|
private |
A router drag session is carrying the block's copper.
Definition at line 3071 of file pcb_point_editor.cpp.
Referenced by ApplyCursor(), Begin(), Release(), and releaseState().
|
private |
Definition at line 3116 of file pcb_point_editor.cpp.
Referenced by ApplyCursor(), and Begin().
|
private |
Neighbours the solve pulled along, brightened so the user can see what moved with the block.
Definition at line 3105 of file pcb_point_editor.cpp.
Referenced by applyFrame(), and releaseState().
|
private |
Each collection holding a picked handle, with the behavior that rebuilds its item.
Definition at line 3078 of file pcb_point_editor.cpp.
Referenced by applyFrame(), Begin(), collectTargets(), Release(), and releaseState().
|
private |
The baseline the zone and board outline checks compare the released geometry against.
Definition at line 3108 of file pcb_point_editor.cpp.
Referenced by Begin(), Release(), and releaseState().