36                                                std::deque<SCH_LINE*>& aLines ) :
 
   52    for( 
const auto& [ lineStyle, lineStyleDesc ] : 
lineTypeNames )
 
 
   69                return r->GetPenWidth() == first_stroke_item->GetPenWidth();
 
   82                return r->GetStroke().GetColor() == first_stroke_item->GetStroke().GetColor();
 
   95                return r->GetStroke().GetLineStyle() == first_stroke_item->GetStroke().GetLineStyle();
 
   98        int style = 
static_cast<int>( first_stroke_item->
GetStroke().GetLineStyle() );
 
 
  134        if( !
m_width.IsIndeterminate() )
 
  135            line->SetLineWidth( std::max( 0, 
m_width.GetIntValue() ) );
 
  143            line->SetLineStyle( it->first );
 
  148    commit.
Push( 
m_lines.size() == 1 ? 
_( 
"Edit Line" ) : 
_( 
"Edit Lines" ) );
 
 
wxBitmapBundle KiBitmapBundle(BITMAPS aBitmap, int aMinHeight)
 
static const COLOR4D UNSPECIFIED
For legacy support; used as a value to indicate color hasn't been set yet.
 
COMMIT & Modify(EDA_ITEM *aItem, BASE_SCREEN *aScreen=nullptr, RECURSE_MODE aRecurse=RECURSE_MODE::NO_RECURSE)
Modify a given item in the model.
 
wxStaticText * m_helpLabel2
 
wxBitmapComboBox * m_typeCombo
 
wxStaticText * m_staticTextWidth
 
COLOR_SWATCH * m_colorSwatch
 
wxStaticText * m_staticWidthUnits
 
wxStaticText * m_helpLabel1
 
DIALOG_LINE_PROPERTIES_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxString &title=_("Line Properties"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxDEFAULT_DIALOG_STYLE|wxRESIZE_BORDER)
 
std::deque< SCH_LINE * > m_lines
 
DIALOG_LINE_PROPERTIES(SCH_EDIT_FRAME *aParent, std::deque< SCH_LINE * > &aLines)
 
bool TransferDataToWindow() override
 
void resetDefaults(wxCommandEvent &event) override
 
bool TransferDataFromWindow() override
 
void SetInitialFocus(wxWindow *aWindow)
Sets the window (usually a wxTextCtrl) that should be focused when the dialog is shown.
 
void SetupStandardButtons(std::map< int, wxString > aLabels={})
 
void finishDialogSettings()
In all dialogs, we must call the same functions to fix minimal dlg size, the default position and per...
 
A color representation with 4 components: red, green, blue, alpha.
 
wxColour ToColour() const
 
virtual void Push(const wxString &aMessage=wxT("A commit"), int aCommitFlags=0) override
Execute the changes.
 
Schematic editor (Eeschema) main window.
 
Segment description base class to describe items which have 2 end points (track, wire,...
 
virtual STROKE_PARAMS GetStroke() const override
 
KIGFX::COLOR4D GetColor() const
 
@ LAYER_SCHEMATIC_BACKGROUND
 
KICOMMON_API wxFont GetInfoFont(wxWindow *aWindow)
 
void Refresh()
Update the board display after modifying it by a python script (note: it is automatically called by a...
 
const std::map< LINE_STYLE, struct LINE_STYLE_DESC > lineTypeNames
Conversion map between LINE_STYLE values and style names displayed.
 
#define INDETERMINATE_STYLE
 
#define DEFAULT_LINE_STYLE_LABEL
 
#define INDETERMINATE_ACTION