62 bool needs_repaint =
false, option;
94 auto painter = static_cast<KIGFX::GERBVIEW_PAINTER*>( view->GetPainter() );
95 auto settings = painter->GetSettings();
96 settings->LoadDisplayOptions( displayOptions );
wxCheckBox * m_OptDisplayPolygons
bool m_DisplayPolygonsFill
Option to draw polygons (filled/sketch)
wxCheckBox * m_OptDisplayLines
virtual EDA_DRAW_PANEL_GAL * GetCanvas() const
Return a pointer to GAL-based canvas of given EDA draw frame.
wxBoxSizer * m_galOptionsSizer
const GBR_DISPLAY_OPTIONS & GetDisplayOptions() const
void UpdateDiffLayers()
Update each layers' differential option.
bool m_DisplayLinesFill
Option to draw line items (filled/sketch)
Auxiliary rendering target (noncached)
wxCheckBox * m_OptDisplayFlashedItems
PANEL_GERBVIEW_DISPLAY_OPTIONS(GERBVIEW_FRAME *aFrame, wxWindow *aWindow)
Class PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE.
bool m_DiffMode
Display layers in diff mode.
Item needs to be redrawn.
GERBVIEW_FRAME * m_Parent
bool TransferDataToWindow() override
Load the panel controls from the given opt.
void MarkTargetDirty(int aTarget)
Set or clear target 'dirty' flag.
bool m_DisplayFlashedItemsFill
Option to draw flashed items (filled/sketch)
bool IsElementVisible(int aLayerID) const
Test whether a given element category is visible.
virtual KIGFX::VIEW * GetView() const
Return a pointer to the #VIEW instance used in the panel.
bool TransferDataFromWindow() override
GAL_OPTIONS_PANEL * m_galOptsPanel
bool TransferDataToWindow() override
virtual void Refresh(bool aEraseBackground=true, const wxRect *aRect=nullptr) override
Update the board display after modifying it by a python script (note: it is automatically called by a...
wxCheckBox * m_OptDisplayDCodes
void SetElementVisibility(int aLayerID, bool aNewState)
Change the visibility of an element category.
bool TransferDataFromWindow() override
Read the options set in the UI into the given options object.