summaryrefslogtreecommitdiff
path: root/src/item.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-05-11 18:39:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-01 12:52:16 +0300
commitf45b10598c4a128510d7c469a6fe669587c01a3e (patch)
tree6a35598bcf52ee3e380890dbac3c2d013b83a2d2 /src/item.cpp
parent9f85b059aff7c54043d85c3422f02be3570d5050 (diff)
downloadplus-f45b10598c4a128510d7c469a6fe669587c01a3e.tar.gz
plus-f45b10598c4a128510d7c469a6fe669587c01a3e.tar.bz2
plus-f45b10598c4a128510d7c469a6fe669587c01a3e.tar.xz
plus-f45b10598c4a128510d7c469a6fe669587c01a3e.zip
add dragdrop between inventory and outfits window.
Diffstat (limited to 'src/item.cpp')
-rw-r--r--src/item.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/item.cpp b/src/item.cpp
index d6c804314..90ca9ea35 100644
--- a/src/item.cpp
+++ b/src/item.cpp
@@ -22,6 +22,8 @@
#include "item.h"
+#include "dragdrop.h"
+
#include "gui/theme.h"
#include "resources/image.h"
@@ -33,6 +35,8 @@
extern int serverVersion;
+DragDrop dragDrop(nullptr, DRAGDROP_SOURCE_EMPTY);
+
Item::Item(const int id, const int quantity, const int refine,
const unsigned char color, const bool equipment,
const bool equipped):