26 #ifndef PCB_TOOL_BASE_H 27 #define PCB_TOOL_BASE_H 59 virtual std::unique_ptr<BOARD_ITEM>
CreateItem() = 0;
94 virtual bool Init()
override;
139 const wxString& aCommitMessage,
147 return static_cast<KIGFX::PCB_VIEW*>(
getView() );
157 return getEditFrame<PCB_BASE_EDIT_FRAME>();
virtual bool PlaceItem(BOARD_ITEM *aItem, BOARD_COMMIT &aCommit)
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
virtual std::unique_ptr< BOARD_ITEM > CreateItem()=0
virtual void SnapItem(BOARD_ITEM *aItem)
Container for display options like enable/disable some optional drawings.
FOOTPRINT * GetFirstFootprint() const
Gets the first footprint on the board or nullptr.
An interface for classes handling user events controlling the view behavior such as zooming,...
Common, abstract interface for edit frames.
virtual ~INTERACTIVE_PLACER_BASE()
Information pertinent to a Pcbnew printed circuit board.
The main frame for Pcbnew.
PCB_BASE_EDIT_FRAME * m_frame