1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00

Add inventory right click drag and drop

This commit is contained in:
sruz25
2014-09-19 15:27:48 +02:00
committed by ShadowNinja
parent 2c16a11527
commit f6321e277b
2 changed files with 21 additions and 4 deletions

View File

@@ -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;