46 wxFAIL_MSG(
"Invalid ARC_EDIT_MODE" );
62 wxFAIL_MSG( wxString::Format(
"Invalid index for ARC_EDIT_MODE: %d", aIndex ) );
72 wxWindow* aEventSource ) :
148 cfg->m_Drawing.default_repeat_offset_x =
schIUScale.IUToMils(
m_hPitch.GetIntValue() );
149 cfg->m_Drawing.default_repeat_offset_y =
schIUScale.IUToMils(
m_vPitch.GetIntValue() );
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
static const COLOR4D UNSPECIFIED
For legacy support; used as a value to indicate color hasn't been set yet.
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)
PANEL_ANNOTATE m_AnnotatePanel
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.
wxCheckBox * m_escClearsNetHighlight
wxCheckBox * m_checkAutoplaceAlign
wxCheckBox * m_mouseDragIsDrag
COLOR_SWATCH * m_borderColorSwatch
wxChoice * m_choiceLineMode
PANEL_EESCHEMA_EDITING_OPTIONS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
wxSpinCtrl * m_spinLabelRepeatStep
wxTextCtrl * m_hPitchCtrl
wxCheckBox * m_checkAutoAnnotate
wxStaticText * m_vPitchUnits
wxStaticText * m_hPitchUnits
wxStaticText * m_hPitchLabel
wxStaticText * m_vPitchLabel
wxChoice * m_choiceArcMode
wxTextCtrl * m_vPitchCtrl
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
@ 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)
T * GetAppSettings(const char *aFilename)
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.