From c90c389a8a8d9d8661e9772ec4144c5cf2039f23 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ktuberling/action.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ktuberling/action.cpp (limited to 'ktuberling/action.cpp') 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; +} + -- cgit v1.2.1