Browse Source

Unify terminology for items to be anchor instead of origin

The "anchor" is the point on items that are their local (0,0), and
origin is on the coordinate system.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19290
pcb_db
Ian McInerney 9 months ago
parent
commit
1dfb7ecbd2
  1. 4
      common/dialogs/panel_common_settings_base.cpp
  2. 2
      common/dialogs/panel_common_settings_base.fbp
  3. 2
      common/dialogs/panel_common_settings_base.h
  4. 2
      pcbnew/tools/pcb_actions.cpp

4
common/dialogs/panel_common_settings_base.cpp

@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6-dirty)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!
@ -294,7 +294,7 @@ PANEL_COMMON_SETTINGS_BASE::PANEL_COMMON_SETTINGS_BASE( wxWindow* parent, wxWind
wxBoxSizer* bEditingSizer;
bEditingSizer = new wxBoxSizer( wxVERTICAL );
m_warpMouseOnMove = new wxCheckBox( this, wxID_ANY, _("Warp mouse to origin of moved object"), wxDefaultPosition, wxDefaultSize, 0 );
m_warpMouseOnMove = new wxCheckBox( this, wxID_ANY, _("Warp mouse to anchor of moved object"), wxDefaultPosition, wxDefaultSize, 0 );
m_warpMouseOnMove->SetValue(true);
bEditingSizer->Add( m_warpMouseOnMove, 0, wxALL, 5 );

2
common/dialogs/panel_common_settings_base.fbp

@ -3026,7 +3026,7 @@
<property name="gripper">0</property>
<property name="hidden">0</property>
<property name="id">wxID_ANY</property>
<property name="label">Warp mouse to origin of moved object</property>
<property name="label">Warp mouse to anchor of moved object</property>
<property name="max_size"></property>
<property name="maximize_button">0</property>
<property name="maximum_size"></property>

2
common/dialogs/panel_common_settings_base.h

@ -1,5 +1,5 @@
///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6)
// C++ code generated with wxFormBuilder (version 4.2.1-0-g80c4cb6-dirty)
// http://www.wxformbuilder.org/
//
// PLEASE DO *NOT* EDIT THIS FILE!

2
pcbnew/tools/pcb_actions.cpp

@ -346,7 +346,7 @@ TOOL_ACTION PCB_ACTIONS::setAnchor( TOOL_ACTION_ARGS()
.DefaultHotkey( MD_SHIFT + MD_CTRL + 'N' )
.LegacyHotkeyName( "Place the Footprint Anchor" )
.FriendlyName( _( "Place the Footprint Anchor" ) )
.Tooltip( _( "Set the coordinate origin point (anchor) of the footprint" ) )
.Tooltip( _( "Set the anchor point of the footprint" ) )
.Icon( BITMAPS::anchor )
.Flags( AF_ACTIVATE ) );

Loading…
Cancel
Save