46 wxFAIL_MSG(
"Invalid ARC_EDIT_MODE" );
62 wxFAIL_MSG( wxString::Format(
"Invalid index for ARC_EDIT_MODE: %d", aIndex ) );
72 wxWindow* aEventSource ) :
74 m_hPitch( aUnitsProvider, aEventSource, m_hPitchLabel, m_hPitchCtrl, m_hPitchUnits ),
75 m_vPitch( aUnitsProvider, aEventSource, m_vPitchLabel, m_vPitchCtrl, m_vPitchUnits )
ARC_EDIT_MODE
Settings for arc editing.
@ KEEP_ENDPOINTS_OR_START_DIRECTION
Whe editing endpoints, the other end remains in place.
@ KEEP_CENTER_ENDS_ADJUST_ANGLE
When editing endpoints, only the angle is adjusted.
@ KEEP_CENTER_ADJUST_ANGLE_RADIUS
When editing endpoints, the angle and radius are adjusted.
constexpr EDA_IU_SCALE schIUScale
Color settings are a bit different than most of the settings objects in that there can be more than o...
COLOR4D GetColor(int aLayer) const
COLOR4D GetDefaultColor(int aLayer)
void SetSwatchColor(const KIGFX::COLOR4D &aColor, bool aSendEvent)
Set the current swatch color directly.
KIGFX::COLOR4D GetSwatchColor() const
void SetDefaultColor(const KIGFX::COLOR4D &aColor)
Sets the color that will be chosen with the "Reset to Default" button in the chooser.
void SetSwatchBackground(const KIGFX::COLOR4D &aBackground)
Set the swatch background color.
AUTOPLACE_FIELDS m_AutoplaceFields
virtual void Load()
Updates the parameters of this object based on the current JSON document contents.
A color representation with 4 components: red, green, blue, alpha.
Class PANEL_EESCHEMA_EDITING_OPTIONS_BASE.
wxCheckBox * m_escClearsNetHighlight
wxCheckBox * m_checkAutoplaceAlign
wxCheckBox * m_mouseDragIsDrag
COLOR_SWATCH * m_borderColorSwatch
wxChoice * m_choiceLineMode
wxSpinCtrl * m_spinLabelRepeatStep
wxChoice * m_choiceArcMode
wxCheckBox * m_checkAutoplaceFields
wxSimplebook * m_leftClickCmdsBook
wxCheckBox * m_neverShowRescue
wxCheckBox * m_footprintPreview
wxCheckBox * m_cbAutoStartWires
wxCheckBox * m_checkAutoplaceJustify
COLOR_SWATCH * m_backgroundColorSwatch
void loadEEschemaSettings(EESCHEMA_SETTINGS *aCfg)
PANEL_EESCHEMA_EDITING_OPTIONS(wxWindow *aWindow, UNITS_PROVIDER *aUnitsProvider, wxWindow *aEventSource)
void ResetPanel() override
Reset the contents of this panel.
bool TransferDataToWindow() override
bool TransferDataFromWindow() override
virtual void SetValue(long long int aValue)
Set new value (in Internal Units) for the text field, taking care of units conversion.
@ LAYER_SCHEMATIC_BACKGROUND
KICOMMON_API wxFont GetSmallInfoFont(wxWindow *aWindow)
static ARC_EDIT_MODE arcEditModeToEnum(int aIndex)
static int arcEditModeToComboIndex(ARC_EDIT_MODE aMode)
COLOR_SETTINGS * GetColorSettings(const wxString &aName)
constexpr int IUToMils(int iu) const
constexpr int MilsToIU(int mils) const
COLOR4D default_sheet_border_color
int default_repeat_offset_x
ARC_EDIT_MODE arc_edit_mode
int default_repeat_offset_y
COLOR4D default_sheet_background_color
int repeat_label_increment
POWER_SYMBOLS new_power_symbols
Functions to provide common constants and other functions to assist in making a consistent UI.