diff options
Diffstat (limited to 'ktuberling/action.cpp')
-rw-r--r-- | ktuberling/action.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ktuberling/action.cpp b/ktuberling/action.cpp new file mode 100644 index 00000000..a55deb04 --- /dev/null +++ b/ktuberling/action.cpp @@ -0,0 +1,20 @@ +/* ------------------------------------------------------------- + KDE Tuberling + Action stored in the undo buffer + mailto:e.bischoff@noos.fr + ------------------------------------------------------------- */ + +#include "action.h" + +// Constructor +Action::Action + (const ToDraw *drawn1, int zOrder1, + const ToDraw *drawn2, int zOrder2) +{ + if (drawn1) drawnBefore = *drawn1; + zOrderBefore = zOrder1; + + if (drawn2) drawnAfter = *drawn2; + zOrderAfter = zOrder2; +} + |