24#ifndef PCB_VIEWER_TOOLS_H_
25#define PCB_VIEWER_TOOLS_H_
91 return getEditFrame<PCB_BASE_FRAME>();
111 return getModel<BOARD>();
Information pertinent to a Pcbnew printed circuit board.
FOOTPRINT * GetFirstFootprint() const
Get the first footprint on the board or nullptr.
DISPLAY_OPTIONS m_Display
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.
PCBNEW_SETTINGS * GetPcbNewSettings() const
PCB_DRAW_PANEL_GAL * GetCanvas() const override
Return a pointer to GAL-based canvas of given EDA draw frame.