76 [
this, aUpdateFlags](
SCH_ITEM* child )
80 RECURSE_MODE::NO_RECURSE );
132 wxCHECK( editFrame, );
172 if( std::shared_ptr< LIB_SYMBOL > parent = aSymbol->
GetRootSymbol() )
173 drawnSymbol = parent.get();
constexpr EDA_IU_SCALE schIUScale
int GetVirtualPageNumber() const
const wxString & GetPageNumber() const
bool IsType(FRAME_T aType) const
KICAD_T Type() const
Returns the type of object.
EDA_ITEM * GetParent() const
std::unique_ptr< DS_PROXY_VIEW_ITEM > m_drawingSheet
void Update(const KIGFX::VIEW_ITEM *aItem, int aUpdateFlags) const override
For dynamic VIEWs, inform the associated VIEW that the graphical representation of this item has chan...
SCH_VIEW(SCH_BASE_FRAME *aFrame)
void DisplaySymbol(LIB_SYMBOL *aSymbol)
void DisplaySheet(const SCH_SCREEN *aScreen)
void SetScale(double aScale, VECTOR2D aAnchor={ 0, 0 }) override
Set the scaling factor, zooming around a given anchor point.
void ClearHiddenFlags()
Clear the hide flag of all items in the view.
An abstract base class for deriving all objects that can be added to a VIEW.
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
virtual void SetScale(double aScale, VECTOR2D aAnchor={ 0, 0 })
Set the scaling factor, zooming around a given anchor point.
virtual void Add(VIEW_ITEM *aItem, int aDrawPriority=-1)
Add a VIEW_ITEM to the view.
std::shared_ptr< std::vector< VIEW_ITEM * > > m_allItems
Flat list of all items.
virtual void Update(const VIEW_ITEM *aItem, int aUpdateFlags) const
For dynamic VIEWs, inform the associated VIEW that the graphical representation of this item has chan...
void Clear()
Remove all items from the view.
std::unique_ptr< KIGFX::VIEW_GROUP > m_preview
void Hide(VIEW_ITEM *aItem, bool aHide=true, bool aHideOverlay=false)
Temporarily hide the item in the view (e.g.
Define a library symbol object.
LIB_ITEMS_CONTAINER & GetDrawItems()
Return a reference to the draw item list.
LIB_SYMBOL_SPTR GetRootSymbol() const
Get the parent symbol that does not have another parent.
PROJECT & Project() const
Return a reference to the project this schematic is part of.
const std::map< wxString, wxString > * GetProperties()
A shim class between EDA_DRAW_FRAME and several derived classes: SYMBOL_EDIT_FRAME,...
void RefreshZoomDependentItems()
Mark selected items for refresh.
Schematic editor (Eeschema) main window.
wxString GetFullScreenDesc() const override
wxString GetScreenDesc() const override
Return a human-readable description of the current screen.
Base class for any item which can be embedded within the SCHEMATIC container class,...
virtual void RunOnChildren(const std::function< void(SCH_ITEM *)> &aFunction, RECURSE_MODE aMode)
const PAGE_INFO & GetPageSettings() const
EE_RTREE & Items()
Get the full RTree, usually for iterating.
const wxString & GetFileName() const
SCHEMATIC * Schematic() const
const TITLE_BLOCK & GetTitleBlock() const
@ LAYER_SCHEMATIC_DRAWINGSHEET
@ LAYER_SCHEMATIC_PAGE_LIMITS
The Cairo implementation of the graphics abstraction layer.
@ ALL
All except INITIAL_ADD.
#define TO_UTF8(wxstring)
Convert a wxString to a UTF8 encoded C string for all wxWidgets build modes.
WX_VIEW_CONTROLS class definition.