From 41101dbd7f38c7e9898422c755b8eaf379f1d7c1 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Thu, 29 Dec 2005 02:59:30 +0000 Subject: Added popup support to the Gui class. Moved all mouse input handling into the Gui class. --- src/gui/inventorywindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/inventorywindow.cpp') diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index 35809bdd..0b8a37a7 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -31,9 +31,9 @@ #include #include "button.h" +#include "gui.h" #include "item_amount.h" #include "itemcontainer.h" -#include "popupmenu.h" #include "scrollarea.h" #include "../inventory.h" @@ -162,7 +162,7 @@ void InventoryWindow::mouseClick(int x, int y, int button, int count) */ int mx = x + getX(); int my = y + getY(); - popupMenu->showPopup(mx, my, item); + gui->showPopup(mx, my, item); } } -- cgit v1.2.3-70-g09d2