1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Inventory menu changes: Tooltips; dragging; drop from menu. Lag is a bit annoying (even in single player).

This commit is contained in:
Kahrl 2012-01-13 12:35:55 +01:00
parent a58d725569
commit c920df748b
4 changed files with 184 additions and 80 deletions

View file

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