40#define SKIP_UNDO          0x0001 
   41#define APPEND_UNDO        0x0002 
   42#define SKIP_SET_DIRTY     0x0004 
   53    virtual void Push( 
const wxString& aMessage = wxT( 
"A commit" ), 
int aCommitFlags = 0 ) 
override;
 
   55    virtual void Revert() 
override;
 
   66    void pushLibEdit(  
const wxString& aMessage, 
int aCommitFlags );
 
   67    void pushSchEdit(  
const wxString& aMessage, 
int aCommitFlags );
 
 
Handles how to draw a screen (a board, a schematic ...)
 
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.
 
A shim class between EDA_DRAW_FRAME and several derived classes: SYMBOL_EDIT_FRAME,...
 
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 Push(const wxString &aMessage=wxT("A commit"), int aCommitFlags=0) override
Execute the changes.
 
EDA_ITEM * undoLevelItem(EDA_ITEM *aItem) const override
 
virtual void Revert() override
Revert the commit by restoring the modified items state.
 
SCH_COMMIT(TOOL_MANAGER *aToolMgr)
 
void pushLibEdit(const wxString &aMessage, int aCommitFlags)
 
EDA_ITEM * makeImage(EDA_ITEM *aItem) const override
 
void pushSchEdit(const wxString &aMessage, int aCommitFlags)
 
Schematic editor (Eeschema) main window.
 
CHANGE_TYPE
Types of changes.