27 #include <wx/treebook.h> 32 wxPanel( aParent->GetTreebook(), wxID_ANY ),
35 auto mainSizer =
new wxBoxSizer( wxHORIZONTAL );
36 SetSizer( mainSizer );
43 auto spacer =
new wxPanel(
this, wxID_ANY );
44 mainSizer->Add( spacer, 1, wxEXPAND | wxLEFT, 5 );
virtual EDA_DRAW_PANEL_GAL * GetCanvas() const
Return a pointer to GAL-based canvas of given EDA draw frame.
void RecacheAllItems()
Rebuild GAL display lists.
The base class for create windows for drawing purpose.
Auxiliary rendering target (noncached)
bool TransferDataToWindow() override
Load the panel controls from the given opt.
void MarkTargetDirty(int aTarget)
Set or clear target 'dirty' flag.
PANEL_GAL_DISPLAY_OPTIONS(EDA_DRAW_FRAME *aFrame, PAGED_DIALOG *aParent)
virtual KIGFX::VIEW * GetView() const
Return a pointer to the #VIEW instance used in the panel.
bool TransferDataFromWindow() 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...
GAL_OPTIONS_PANEL * m_galOptsPanel
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
bool TransferDataToWindow() override
bool TransferDataFromWindow() override
Read the options set in the UI into the given options object.