pcb 4.1.1
An interactive printed circuit board layout editor.

undo.h

Go to the documentation of this file.
00001 
00035 #ifndef PCB_UNDO_H
00036 #define PCB_UNDO_H
00037 
00038 #include "global.h"
00039 
00040 #define DRAW_FLAGS  (RATFLAG | SELECTEDFLAG | SQUAREFLAG |    \
00041                      HIDENAMEFLAG | HOLEFLAG | OCTAGONFLAG |  \
00042                      CONNECTEDFLAG | FOUNDFLAG | CLEARLINEFLAG)
00043 
00044                                                                                         /* different layers */
00045 
00046 int Undo (bool);
00047 int Redo (bool);
00048 void IncrementUndoSerialNumber (void);
00049 void SaveUndoSerialNumber (void);
00050 void RestoreUndoSerialNumber (void);
00051 void ClearUndoList (bool);
00052 void MoveObjectToRemoveUndoList (int, void *, void *, void *);
00053 void AddObjectToRemovePointUndoList (int, void *, void *, Cardinal);
00054 void AddObjectToInsertPointUndoList (int, void *, void *, void *);
00055 void AddObjectToRemoveContourUndoList (int, LayerType *, PolygonType *);
00056 void AddObjectToInsertContourUndoList (int, LayerType *, PolygonType *);
00057 void AddObjectToMoveUndoList (int, void *, void *, void *,
00058                               Coord, Coord);
00059 void AddObjectToChangeNameUndoList (int, void *, void *, void *, char *);
00060 void AddObjectToRotateUndoList (int, void *, void *, void *,
00061                                 Coord, Coord, BYTE);
00062 void AddObjectToCreateUndoList (int, void *, void *, void *);
00063 void AddObjectToMirrorUndoList (int, void *, void *, void *, Coord);
00064 void AddObjectToMoveToLayerUndoList (int, void *, void *, void *);
00065 void AddObjectToFlagUndoList (int, void *, void *, void *);
00066 void AddObjectToSizeUndoList (int, void *, void *, void *);
00067 void AddObjectTo2ndSizeUndoList (int, void *, void *, void *);
00068 void AddObjectToClearSizeUndoList (int, void *, void *, void *);
00069 void AddObjectToMaskSizeUndoList (int, void *, void *, void *);
00070 void AddObjectToChangeAnglesUndoList (int, void *, void *, void *);
00071 void AddObjectToClearPolyUndoList (int, void *, void *, void *, bool);
00072 void AddObjectToSetViaLayersUndoList (void *ptr1, void *ptr2, void *ptr3);
00073 void AddLayerChangeToUndoList (int, int);
00074 void AddNetlistLibToUndoList (LibraryType *);
00075 void LockUndo (void);
00076 void UnlockUndo (void);
00077 bool Undoing (void);
00078 
00079 #endif