Eeschema: Simplify transformation representation
Fixes: lp:1752745 * https://bugs.launchpad.net/kicad/+bug/1752745
This commit is contained in:
parent
f4eb63f871
commit
9c44d67f3b
|
@ -53,9 +53,9 @@ DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP::DIALOG_EDIT_COMPONENT_IN_SCHEMATIC_FBP(
|
||||||
|
|
||||||
optionsSizer->Add( orientationRadioBox, 0, wxEXPAND|wxALL, 5 );
|
optionsSizer->Add( orientationRadioBox, 0, wxEXPAND|wxALL, 5 );
|
||||||
|
|
||||||
wxString mirrorRadioBoxChoices[] = { _("Default"), _("Mirror horizontally"), _("Mirror vertically") };
|
wxString mirrorRadioBoxChoices[] = { _("Default"), _("Mirror around X axis"), _("Mirror around Y axis") };
|
||||||
int mirrorRadioBoxNChoices = sizeof( mirrorRadioBoxChoices ) / sizeof( wxString );
|
int mirrorRadioBoxNChoices = sizeof( mirrorRadioBoxChoices ) / sizeof( wxString );
|
||||||
mirrorRadioBox = new wxRadioBox( optionsSizer->GetStaticBox(), wxID_ANY, _("Position:"), wxDefaultPosition, wxDefaultSize, mirrorRadioBoxNChoices, mirrorRadioBoxChoices, 1, wxRA_SPECIFY_COLS );
|
mirrorRadioBox = new wxRadioBox( optionsSizer->GetStaticBox(), wxID_ANY, _("Aspect:"), wxDefaultPosition, wxDefaultSize, mirrorRadioBoxNChoices, mirrorRadioBoxChoices, 1, wxRA_SPECIFY_COLS );
|
||||||
mirrorRadioBox->SetSelection( 2 );
|
mirrorRadioBox->SetSelection( 2 );
|
||||||
mirrorRadioBox->SetToolTip( _("Pick the graphical transformation to be used when displaying the symbol") );
|
mirrorRadioBox->SetToolTip( _("Pick the graphical transformation to be used when displaying the symbol") );
|
||||||
|
|
||||||
|
|
|
@ -571,7 +571,7 @@
|
||||||
<property name="caption"></property>
|
<property name="caption"></property>
|
||||||
<property name="caption_visible">1</property>
|
<property name="caption_visible">1</property>
|
||||||
<property name="center_pane">0</property>
|
<property name="center_pane">0</property>
|
||||||
<property name="choices">"Default" "Mirror horizontally" "Mirror vertically"</property>
|
<property name="choices">"Default" "Mirror around X axis" "Mirror around Y axis"</property>
|
||||||
<property name="close_button">1</property>
|
<property name="close_button">1</property>
|
||||||
<property name="context_help"></property>
|
<property name="context_help"></property>
|
||||||
<property name="context_menu">1</property>
|
<property name="context_menu">1</property>
|
||||||
|
@ -586,7 +586,7 @@
|
||||||
<property name="gripper">0</property>
|
<property name="gripper">0</property>
|
||||||
<property name="hidden">0</property>
|
<property name="hidden">0</property>
|
||||||
<property name="id">wxID_ANY</property>
|
<property name="id">wxID_ANY</property>
|
||||||
<property name="label">Position:</property>
|
<property name="label">Aspect:</property>
|
||||||
<property name="majorDimension">1</property>
|
<property name="majorDimension">1</property>
|
||||||
<property name="max_size"></property>
|
<property name="max_size"></property>
|
||||||
<property name="maximize_button">0</property>
|
<property name="maximize_button">0</property>
|
||||||
|
|
|
@ -1291,7 +1291,7 @@ int SCH_COMPONENT::GetOrientation()
|
||||||
CMP_ORIENT_0, CMP_ORIENT_90, CMP_ORIENT_180,
|
CMP_ORIENT_0, CMP_ORIENT_90, CMP_ORIENT_180,
|
||||||
CMP_ORIENT_270,
|
CMP_ORIENT_270,
|
||||||
CMP_MIRROR_X + CMP_ORIENT_0, CMP_MIRROR_X + CMP_ORIENT_90,
|
CMP_MIRROR_X + CMP_ORIENT_0, CMP_MIRROR_X + CMP_ORIENT_90,
|
||||||
CMP_MIRROR_X + CMP_ORIENT_180, CMP_MIRROR_X + CMP_ORIENT_270,
|
CMP_MIRROR_Y, CMP_MIRROR_X + CMP_ORIENT_270,
|
||||||
CMP_MIRROR_Y + CMP_ORIENT_0, CMP_MIRROR_Y + CMP_ORIENT_90,
|
CMP_MIRROR_Y + CMP_ORIENT_0, CMP_MIRROR_Y + CMP_ORIENT_90,
|
||||||
CMP_MIRROR_Y + CMP_ORIENT_180, CMP_MIRROR_Y + CMP_ORIENT_270
|
CMP_MIRROR_Y + CMP_ORIENT_180, CMP_MIRROR_Y + CMP_ORIENT_270
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue