47 _(
"New Track" ),
_(
"Starts laying a new track." ) );
52 _(
"End Track" ),
_(
"Stops laying the current meander." ) );
57 _(
"Increase Spacing" ),
_(
"Increase meander spacing by one step." ),
63 _(
"Decrease Spacing" ),
_(
"Decrease meander spacing by one step." ),
69 _(
"Increase Amplitude" ),
_(
"Increase meander amplitude by one step." ),
75 _(
"Decrease Amplitude" ),
_(
"Decrease meander amplitude by one step." ),
79#define _(s) wxGetTranslation((s))
102 menu.DisplayTitle(
true );
128 wxPoint p = wxGetMousePosition();
188 if( evt->IsCancelInteractive() || evt->IsActivate() )
192 else if( evt->IsMotion() )
194 end = evt->Position();
214 placer->AmplitudeStep( -1 );
220 placer->AmplitudeStep( 1 );
226 placer->SpacingStep( -1 );
232 placer->SpacingStep( 1 );
307 if( evt->IsCancelInteractive() || evt->IsActivate() )
319 else if( evt->IsMotion() )
359 if( settingsDlg.ShowModal() == wxID_OK )
#define LEGACY_HK_NAME(x)
@ router_len_tuner_dist_incr
@ router_len_tuner_dist_decr
@ router_len_tuner_amplitude_incr
@ router_len_tuner_amplitude_decr
static TOOL_ACTION cancelInteractive
void ShowInfoBarMsg(const wxString &aMsg, bool aShowCloseButton=false)
Show the WX_INFOBAR displayed on the top of the canvas with a message and an info icon on the left of...
void SetCurrentCursor(KICURSOR aCursor)
Set the current cursor shape for this panel.
void SetStatusPopup(wxWindow *aPopup)
virtual void ForceCursorPosition(bool aEnabled, const VECTOR2D &aPosition=VECTOR2D(0, 0))
Place the cursor immediately at a given point.
virtual void ShowCursor(bool aEnabled)
Enable or disables display of cursor.
virtual VECTOR2D GetMousePosition(bool aWorldCoordinates=true) const =0
Return the current mouse pointer position.
virtual void SetAutoPan(bool aEnabled)
Turn on/off auto panning (this feature is used when there is a tool active (eg.
static TOOL_ACTION routerTuneDiffPair
Activation of the Push and Shove router (diff pair tuning mode)
static TOOL_ACTION routerTuneDiffPairSkew
Activation of the Push and Shove router (skew tuning mode)
static TOOL_ACTION selectionClear
Clear the current selection.
static TOOL_ACTION routerTuneSingleTrace
Activation of the Push and Shove router (tune single line mode)
static TOOL_ACTION lengthTunerSettingsDialog
void UndoRedoBlock(bool aBlock=true)
Enable/disable undo and redo operations.
virtual PCB_LAYER_ID GetActiveLayer() const
PCB_DRAW_PANEL_GAL * GetCanvas() const override
Return a pointer to GAL-based canvas of given EDA draw frame.
virtual void SetActiveLayer(PCB_LAYER_ID aLayer)
virtual int Layer() const
const LAYER_RANGE & Layers() const
Base class for Single trace & Differential pair meandering tools, as both of them share a lot of code...
virtual void UpdateSettings(const MEANDER_SETTINGS &aSettings)
virtual const MEANDER_SETTINGS & MeanderSettings() const
Return the current meandering configuration.
Dimensions for the meandering algorithm.
void SetMode(ROUTER_MODE aMode)
PLACEMENT_ALGO * Placer()
const wxString & FailureReason() const
bool FixRoute(const VECTOR2I &aP, ITEM *aItem, bool aForceFinish=false)
bool StartRouting(const VECTOR2I &aP, ITEM *aItem, int aLayer)
bool Move(const VECTOR2I &aP, ITEM *aItem)
static bool ShowAlways(const SELECTION &aSelection)
The default condition function (always returns true).
PCB_LAYER_ID ToLAYER_ID(int aLayer)
The Cairo implementation of the graphics abstraction layer.
std::vector< FAB_LAYER_COLOR > dummy