61 wxString rotationAngle;
65 if( dynamic_cast<PCB_EDIT_FRAME*>(
m_frame ) )
86 else if( dynamic_cast<FOOTPRINT_EDIT_FRAME*>(
m_frame ) )
105 if( dynamic_cast<PCB_EDIT_FRAME*>(
m_frame ) )
129 else if( dynamic_cast<FOOTPRINT_EDIT_FRAME*>(
m_frame ) )
wxCheckBox * m_magneticPads
wxChoice * m_magneticGraphicsChoice
bool TransferDataToWindow() override
bool TransferDataFromWindow() override
PCB_BASE_EDIT_FRAME * m_frame
PCB_DRAW_PANEL_GAL * GetCanvas() const override
Return a pointer to GAL-based canvas of given EDA draw frame.
wxCheckBox * m_showSelectedRatsnest
void RecacheAllItems()
Rebuild GAL display lists.
bool m_ShowModuleRatsnest
wxCheckBox * m_segments45OnlyCtrl
void SetDisplayOptions(const PCB_DISPLAY_OPTIONS &aOptions)
virtual MAGNETIC_SETTINGS * GetMagneticItemsSettings()
PANEL_EDIT_OPTIONS(PCB_BASE_EDIT_FRAME *aFrame, PAGED_DIALOG *aWindow)
Contains methods for drawing PCB-specific items.
const PCB_DISPLAY_OPTIONS & GetDisplayOptions() const
Display options control the way tracks, vias, outlines and other things are shown (for instance solid...
PAINTER * GetPainter() const
Return the painter object used by the view for drawing #VIEW_ITEMS.
bool ShowPageLimits() const
Auxiliary rendering target (noncached)
wxTextCtrl * m_rotationAngle
wxRadioButton * m_rbTrackDrag45
wxSimplebook * m_optionsBook
PCB specific render settings.
bool m_Use45DegreeGraphicSegments
wxCheckBox * m_OptDisplayCurvedRatsnestLines
Container for display options like enable/disable some optional drawings.
TRACK_DRAG_ACTION m_TrackDragAction
wxCheckBox * m_Show_Page_Limits
virtual PCB_RENDER_SETTINGS * GetSettings() override
Return a pointer to current settings that are going to be used when drawing items.
void MarkTargetDirty(int aTarget)
Set or clear target 'dirty' flag.
wxString AngleToStringDegrees(double aAngle)
A helper to convert aAngle in deci-degrees to a string in degrees.
wxChoice * m_magneticTrackChoice
wxCheckBox * m_magneticGraphics
wxRadioButton * m_rbTrackDragMove
wxChoice * m_magneticPadChoice
virtual KIGFX::PCB_VIEW * GetView() const override
Return a pointer to the #VIEW instance used in the panel.
virtual void Refresh(bool aEraseBackground=true, const wxRect *aRect=NULL) override
Update the board display after modifying it by a python script (note: it is automatically called by a...
int GetRotationAngle() const
Return the angle used for rotate operations.
Common, abstract interface for edit frames.
Class PANEL_EDIT_OPTIONS_BASE.
wxCheckBox * m_autoLockPads
wxCheckBox * m_flipLeftRight
PCBNEW_SETTINGS & Settings()
wxRadioButton * m_rbTrackDragFree
void SetShowPageLimits(bool aShow)
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
MAGNETIC_SETTINGS m_MagneticItems
wxStaticBoxSizer * m_mouseCmdsWinLin
bool m_DisplayRatsnestLinesCurved
void SetRotationAngle(int aRotationAngle)
Set the angle used for rotate operations.
wxStaticBoxSizer * m_mouseCmdsOSX