39#define SKIP_UNDO 0x0001
40#define APPEND_UNDO 0x0002
41#define SKIP_SET_DIRTY 0x0004
42#define SKIP_CONNECTIVITY 0x0008
43#define ZONE_FILL_OP 0x0010
44#define SKIP_TEARDROPS 0x0020
58 virtual void Push(
const wxString& aMessage = wxEmptyString,
int aCommitFlags = 0 )
override;
60 virtual void Revert()
override;
66 UNDO_REDO aModFlag = UNDO_REDO::UNSPECIFIED,
Handles how to draw a screen (a board, a schematic ...)
void dirtyIntersectingZones(BOARD_ITEM *item, int aChangeType)
virtual void Push(const wxString &aMessage=wxEmptyString, int aCommitFlags=0) override
Revert the commit by restoring the modified items state.
COMMIT & Stage(EDA_ITEM *aItem, CHANGE_TYPE aChangeType, BASE_SCREEN *aScreen=nullptr) override
EDA_ITEM * parentObject(EDA_ITEM *aItem) const override
virtual void Revert() override
static EDA_ITEM * MakeImage(EDA_ITEM *aItem)
EDA_ITEM * makeImage(EDA_ITEM *aItem) const override
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
Information pertinent to a Pcbnew printed circuit board.
Represent a set of changes (additions, deletions or modifications) of a data model (e....
The base class for create windows for drawing purpose.
A base class for most all the KiCad significant classes used in schematics and boards.
A holder to handle information on schematic or board items.
CHANGE_TYPE
Types of changes.
UNDO_REDO
Undo Redo considerations: Basically we have 3 cases New item Deleted item Modified item there is also...