From f6912f4241a2dd13d987d27a073a3b76faf2cb7d Mon Sep 17 00:00:00 2001 From: Craig Robbins Date: Thu, 9 Oct 2014 17:53:20 +1000 Subject: Right mouse button behaviour for craft/inventory If right mousebutton clicked once then don't drop single items into slots. If right mouse button has been clicked and held a second time, drop items as the mouse is moved. In the second case (automatically drop/place items as mouse is moved) only auto-drop into blank slots, or slots that contain the same item. --- src/guiFormSpecMenu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/guiFormSpecMenu.h') diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h index 455aeaab8..6d6c07453 100644 --- a/src/guiFormSpecMenu.h +++ b/src/guiFormSpecMenu.h @@ -328,6 +328,8 @@ protected: s32 m_old_tooltip_id; std::string m_old_tooltip; + bool m_rmouse_auto_place; + bool m_allowclose; bool m_lock; v2u32 m_lockscreensize; -- cgit v1.2.3