summaryrefslogtreecommitdiff
path: root/src/guiFormSpecMenu.h
diff options
context:
space:
mode:
authorsruz25 <sruz25cz@gmail.com>2014-09-19 15:27:48 +0200
committerShadowNinja <shadowninja@minetest.net>2014-09-21 15:23:27 -0400
commitf6321e277bc423a0878ae239a73ad2cd6393106c (patch)
treefcfd1a5aaaff207a56b6ac623f11f229dc5e58de /src/guiFormSpecMenu.h
parent2c16a11527f1358ac8ec37436c798f5a68f566c4 (diff)
downloadminetest-f6321e277bc423a0878ae239a73ad2cd6393106c.tar.gz
minetest-f6321e277bc423a0878ae239a73ad2cd6393106c.tar.bz2
minetest-f6321e277bc423a0878ae239a73ad2cd6393106c.zip
Add inventory right click drag and drop
Diffstat (limited to 'src/guiFormSpecMenu.h')
-rw-r--r--src/guiFormSpecMenu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h
index 583cad4a2..2ffa05308 100644
--- a/src/guiFormSpecMenu.h
+++ b/src/guiFormSpecMenu.h
@@ -301,6 +301,7 @@ protected:
std::string m_formspec_string;
InventoryLocation m_current_inventory_location;
+
std::vector<ListDrawSpec> m_inventorylists;
std::vector<ImageDrawSpec> m_backgrounds;
std::vector<ImageDrawSpec> m_images;
@@ -323,6 +324,7 @@ protected:
InventoryLocation m_selected_content_guess_inventory;
v2s32 m_pointer;
+ v2s32 m_old_pointer; // Mouse position after previous mouse event
gui::IGUIStaticText *m_tooltip_element;
u32 m_tooltip_show_delay;