48 _(
"New Track" ),
_(
"Starts laying a new track." ) );
53 _(
"End Track" ),
_(
"Stops laying the current meander." ) );
58 _(
"Increase Spacing" ),
_(
"Increase meander spacing by one step." ),
64 _(
"Decrease Spacing" ),
_(
"Decrease meander spacing by one step." ),
70 _(
"Increase Amplitude" ),
_(
"Increase meander amplitude by one step." ),
76 _(
"Decrease Amplitude" ),
_(
"Decrease meander amplitude by one step." ),
80#define _(s) wxGetTranslation((s))
85 m_inLengthTuner( false )
106 menu.SetIcon( BITMAPS::router_len_tuner );
107 menu.DisplayTitle(
true );
193 if( evt->IsCancelInteractive() || evt->IsActivate() )
197 else if( evt->IsMotion() )
199 end = evt->Position();
219 placer->AmplitudeStep( -1 );
225 placer->AmplitudeStep( 1 );
231 placer->SpacingStep( -1 );
237 placer->SpacingStep( 1 );
317 if( evt->IsCancelInteractive() || evt->IsActivate() )
329 else if( evt->IsMotion() )
369 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 NET_HANDLE Net() const
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