40#define SKIP_UNDO          0x0001 
   41#define APPEND_UNDO        0x0002 
   42#define SKIP_SET_DIRTY     0x0004 
   43#define SKIP_CONNECTIVITY  0x0008 
   44#define ZONE_FILL_OP       0x0010 
   45#define SKIP_TEARDROPS     0x0020 
   59    virtual void Push( 
const wxString& aMessage = wxEmptyString, 
int aCommitFlags = 0 ) 
override;
 
   61    virtual void Revert() 
override;
 
   79                          std::vector<BOX2I>& aStaleRuleAreas );
 
 
Handles how to draw a screen (a board, a schematic ...)
 
virtual void Push(const wxString &aMessage=wxEmptyString, int aCommitFlags=0) override
Execute the changes.
 
COMMIT & Stage(EDA_ITEM *aItem, CHANGE_TYPE aChangeType, BASE_SCREEN *aScreen=nullptr, RECURSE_MODE aRecurse=RECURSE_MODE::NO_RECURSE) override
Add a change of the item aItem of type aChangeType to the change list.
 
virtual void Revert() override
Revert the commit by restoring the modified items state.
 
static EDA_ITEM * MakeImage(EDA_ITEM *aItem)
 
EDA_ITEM * undoLevelItem(EDA_ITEM *aItem) const override
 
EDA_ITEM * makeImage(EDA_ITEM *aItem) const override
 
void propagateDamage(BOARD_ITEM *aItem, std::vector< ZONE * > *aStaleZones, std::vector< BOX2I > &aStaleRuleAreas)
 
BOARD_COMMIT(EDA_DRAW_FRAME *aFrame)
 
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.
 
Handle a list of polygons defining a copper zone.
 
CHANGE_TYPE
Types of changes.
 
UNDO_REDO
Undo Redo considerations: Basically we have 3 cases New item Deleted item Modified item there is also...