35 m_selectedDataItem( INT_MAX ),
36 m_selectedDrawItem( INT_MAX )
47 for(
size_t ii = 0; ii < model.
GetItems().size(); ++ii )
51 for(
size_t jj = 0; jj < dataItem->
GetDrawItems().size(); ++jj )
Drawing sheet structure type definitions.
virtual void SyncDrawItems(DS_DRAW_ITEM_LIST *aCollector, KIGFX::VIEW *aView)
const std::vector< DS_DRAW_ITEM_BASE * > & GetDrawItems() const
Handle the graphic items list to draw/plot the frame and title block.
static DS_DATA_MODEL & GetTheInstance()
static function: returns the instance of DS_DATA_MODEL used in the application
DS_DATA_ITEM * GetItem(unsigned aIdx) const
void SaveInString(wxString *aOutputString)
Save the description in a buffer.
std::vector< DS_DATA_ITEM * > & GetItems()
void SetPageLayout(const char *aPageLayout, bool aAppend=false, const wxString &aSource=wxT("Sexpr_string"))
Populate the list from a S expr description stored in a string.
Base class to handle basic graphic items.
void Restore(EDA_DRAW_FRAME *aFrame, KIGFX::VIEW *aView=nullptr)
wxString m_layoutSerialization
DS_PROXY_UNDO_ITEM(const EDA_DRAW_FRAME *aFrame)
The base class for create windows for drawing purpose.
virtual void SetTitleBlock(const TITLE_BLOCK &aTitleBlock)=0
virtual const TITLE_BLOCK & GetTitleBlock() const =0
virtual const PAGE_INFO & GetPageSettings() const =0
virtual void SetPageSettings(const PAGE_INFO &aPageSettings)=0
A base class for most all the KiCad significant classes used in schematics and boards.
KICAD_T Type() const
Returns the type of object.
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
void Clear()
Remove all items from the view.
The Cairo implementation of the graphics abstraction layer.
#define TO_UTF8(wxstring)
Convert a wxString to a UTF8 encoded C string for all wxWidgets build modes.
@ WS_PROXY_UNDO_ITEM_PLUS_T