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
56 virtual void Push(
const wxString& aMessage = wxT(
"A commit" ),
57 int aCommitFlags = 0 )
override;
59 virtual void Revert()
override;
void dirtyIntersectingZones(BOARD_ITEM *item, int aChangeType)
EDA_ITEM * parentObject(EDA_ITEM *aItem) const override
BOARD_COMMIT(TOOL_MANAGER *aToolMgr)
virtual void Revert() override
virtual void Push(const wxString &aMessage=wxT("A commit"), int aCommitFlags=0) override
Revert the commit by restoring the modified items state.
EDA_ITEM * makeImage(EDA_ITEM *aItem) const override
COMMIT & Stage(EDA_ITEM *aItem, CHANGE_TYPE aChangeType) 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...