aboutsummaryrefslogtreecommitdiff
path: root/src/guiInventoryMenu.h
diff options
context:
space:
mode:
authorKahrl <kahrl@gmx.net>2012-01-13 12:35:55 +0100
committerKahrl <kahrl@gmx.net>2012-01-13 12:35:55 +0100
commitc920df748b01f6ecbd98adaf07f6d92c64a7213c (patch)
treed4a7cd5a784c566d90f35148f8cf0d4f4a9089bf /src/guiInventoryMenu.h
parenta58d7255698f9a5e3e13f9cb0b8500988d12dd10 (diff)
downloadhax-minetest-server-c920df748b01f6ecbd98adaf07f6d92c64a7213c.tar.gz
hax-minetest-server-c920df748b01f6ecbd98adaf07f6d92c64a7213c.zip
Inventory menu changes: Tooltips; dragging; drop from menu. Lag is a bit annoying (even in single player).
Diffstat (limited to 'src/guiInventoryMenu.h')
-rw-r--r--src/guiInventoryMenu.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/guiInventoryMenu.h b/src/guiInventoryMenu.h
index c3b3e5a64..903a8b137 100644
--- a/src/guiInventoryMenu.h
+++ b/src/guiInventoryMenu.h
@@ -136,7 +136,7 @@ public:
void regenerateGui(v2u32 screensize);
ItemSpec getItemAtPos(v2s32 p) const;
- void drawList(const ListDrawSpec &s);
+ void drawList(const ListDrawSpec &s, int phase);
void drawMenu();
bool OnEvent(const SEvent& event);
@@ -161,6 +161,7 @@ protected:
ItemSpec *m_selected_item;
v2s32 m_pointer;
+ gui::IGUIStaticText *m_tooltip_element;
};
#endif