25#ifndef __PCB_TEST_FRAME_H
26#define __PCB_TEST_FRAME_H
59 virtual void SetBoard( std::shared_ptr<BOARD> b);
Gather all the actions that are shared by tools.
Information pertinent to a Pcbnew printed circuit board.
@ GAL_TYPE_OPENGL
OpenGL implementation.
std::shared_ptr< BOARD > m_board
std::shared_ptr< PCB_DRAW_PANEL_GAL > GetPanel()
std::shared_ptr< PCB_TEST_SELECTION_TOOL > m_selectionTool
std::shared_ptr< PCB_DRAW_PANEL_GAL > m_galPanel
void createView(wxWindow *aParent, PCB_DRAW_PANEL_GAL::GAL_TYPE aGalType=PCB_DRAW_PANEL_GAL::GAL_TYPE_OPENGL)
std::shared_ptr< BOARD > GetBoard()
std::shared_ptr< PCB_TEST_SELECTION_TOOL > GetSelectionTool() const
virtual void SetBoard(std::shared_ptr< BOARD > b)
virtual wxWindow * GetToolCanvas() const override
Canvas access.
virtual void createUserTools()
virtual ~PCB_TEST_FRAME_BASE()
void SetSelectionHook(std::function< void(PCB_TEST_FRAME_BASE *, PCB_SELECTION *)> aHook)
void SetSelectableItemTypes(const std::vector< KICAD_T > aTypes)
KIGFX::GAL_DISPLAY_OPTIONS m_displayOptions
virtual BOARD * LoadAndDisplayBoard(const std::string &filename)
The Cairo implementation of the graphics abstraction layer.
void SetTopFrame(wxFrame *aFrame)