69 return wxT(
"BASE_SCREEN" );
82 void Show(
int nestLevel, std::ostream& os )
const override;
Handles how to draw a screen (a board, a schematic ...)
void SetPageCount(int aPageCount)
void SetPageNumber(const wxString &aPageNumber)
int m_virtualPageNumber
An integer based page number used for printing a range of pages.
bool IsContentModified() const
int GetVirtualPageNumber() const
bool m_Center
Center on screen.
void SetVirtualPageNumber(int aPageNumber)
VECTOR2I m_DrawOrg
offsets for drawing the circuit on the screen
static wxString m_DrawingSheetFileName
the name of the drawing sheet file, or empty to use the default drawing sheet
VECTOR2I m_StartVisu
Coordinates in drawing units of the current view position (upper left corner of device)
virtual wxString GetClass() const override
Return the class name.
int m_pageCount
The number of BASE_SCREEN objects in this design.
const wxString & GetPageNumber() const
wxString m_pageNumber
A user defined string page number used for printing and plotting.
bool m_flagModified
Indicates current drawing has been modified.
BASE_SCREEN(const VECTOR2I &aPageSizeIU, KICAD_T aType=SCREEN_T)
VECTOR2D m_LocalOrigin
Relative Screen cursor coordinate (on grid) in user units.
BASE_SCREEN(KICAD_T aType=SCREEN_T)
VECTOR2D m_ScrollCenter
Current scroll center point in logical units.
void SetContentModified(bool aModified=true)
void InitDataPoints(const VECTOR2I &aPageSizeInternalUnits)
A base class for most all the KiCad significant classes used in schematics and boards.
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.
@ SCREEN_T
not really an item, used to identify a screen