]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/guiInventoryMenu.h
fixed server sending wrong position of node removal
[dragonfireclient.git] / src / guiInventoryMenu.h
index 82e7ee89d7a5305a8e92de87e047b9a39e18ac15..45a5e236a42ebbcb987e7c9f7ed76cfab2469b8c 100644 (file)
@@ -26,9 +26,10 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include "utility.h"
 #include "modalMenu.h"
 
-void drawInventoryItem(gui::IGUIEnvironment* env,
+void drawInventoryItem(video::IVideoDriver *driver,
+               gui::IGUIFont *font,
                InventoryItem *item, core::rect<s32> rect,
-               const core::rect<s32> *clip=0);
+               const core::rect<s32> *clip);
 
 class GUIInventoryMenu : public GUIModalMenu
 {
@@ -74,7 +75,7 @@ class GUIInventoryMenu : public GUIModalMenu
                        gui::IGUIElement* parent, s32 id,
                        Inventory *inventory,
                        Queue<InventoryAction*> *actions,
-                       int *active_menu_count);
+                       IMenuManager *menumgr);
        ~GUIInventoryMenu();
 
        void removeChildren();