From ecc18d3a2ed44d4b4e6ccfe879771686b2616bb4 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Thu, 15 Jan 2009 22:58:07 -0700 Subject: A little bit of code cleanup/simplification. TODO: Figure out how the itempopup transparency is broken and fix it (broken on code import). Best guess would be that the window is attached to a widget which is then attached to a window, causing a break in updates to the transparency code. Signed-off-by: Ira Rice --- src/gui/itemcontainer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/itemcontainer.h') diff --git a/src/gui/itemcontainer.h b/src/gui/itemcontainer.h index 223a3677..7f0e5386 100644 --- a/src/gui/itemcontainer.h +++ b/src/gui/itemcontainer.h @@ -108,6 +108,8 @@ class ItemContainer : public gcn::Widget, mListeners.remove(listener); } + ItemPopup *mItemPopup; + private: void mouseExited(gcn::MouseEvent &event); void mouseMoved(gcn::MouseEvent &event); @@ -150,8 +152,6 @@ class ItemContainer : public gcn::Widget, int mMaxItems; int mOffset; - ItemPopup *mItemPopup; - std::list mListeners; static const int gridWidth; -- cgit v1.2.3-70-g09d2