25#ifndef SCH_PREVIEW_PANEL_H 
   26#define SCH_PREVIEW_PANEL_H 
   44    SCH_PREVIEW_PANEL( wxWindow* aParentWindow, wxWindowID aWindowId, 
const wxPoint& aPosition,
 
   54    void Refresh( 
bool aEraseBackground, 
const wxRect* aRect ) 
override;
 
   60    void onPaint( wxPaintEvent& WXUNUSED( aEvent ) ) 
override;
 
 
EDA_DRAW_PANEL_GAL(wxWindow *aParentWindow, wxWindowID aWindowId, const wxPoint &aPosition, const wxSize &aSize, KIGFX::GAL_DISPLAY_OPTIONS &aOptions, GAL_TYPE aGalType=GAL_TYPE_OPENGL)
Create a drawing panel that is contained inside aParentWindow.
 
@ GAL_TYPE_OPENGL
OpenGL implementation.
 
Represent a selection area (currently a rectangle) in a VIEW, drawn corner-to-corner between two poin...
 
void setDefaultLayerOrder()
Set rendering targets & dependencies for layers.
 
void setDefaultLayerDeps()
 
void OnShow() override
Called when the window is shown for the first time.
 
KIGFX::SCH_VIEW * view() const
Reassign layer order to the initial settings.
 
SCH_PREVIEW_PANEL(wxWindow *aParentWindow, wxWindowID aWindowId, const wxPoint &aPosition, const wxSize &aSize, KIGFX::GAL_DISPLAY_OPTIONS &aOptions, GAL_TYPE aGalType=GAL_TYPE_OPENGL)
 
~SCH_PREVIEW_PANEL() override
Called when the window is shown for the first time.
 
void onPaint(wxPaintEvent &WXUNUSED(aEvent)) override
 
SCH_RENDER_SETTINGS * GetRenderSettings() const
 
The Cairo implementation of the graphics abstraction layer.
 
void Refresh()
Update the board display after modifying it by a python script (note: it is automatically called by a...