diff options
author | Ira Rice <irarice@gmail.com> | 2009-01-15 22:58:07 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-01-15 22:58:07 -0700 |
commit | ecc18d3a2ed44d4b4e6ccfe879771686b2616bb4 (patch) | |
tree | 9fd6afb73c8478311bd3d55d519467d8122f5c64 /src/gui/itemcontainer.h | |
parent | 600e10515e127d6393f0756cb72e5a63303557a2 (diff) | |
download | mana-ecc18d3a2ed44d4b4e6ccfe879771686b2616bb4.tar.gz mana-ecc18d3a2ed44d4b4e6ccfe879771686b2616bb4.tar.bz2 mana-ecc18d3a2ed44d4b4e6ccfe879771686b2616bb4.tar.xz mana-ecc18d3a2ed44d4b4e6ccfe879771686b2616bb4.zip |
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 <irarice@gmail.com>
Diffstat (limited to 'src/gui/itemcontainer.h')
-rw-r--r-- | src/gui/itemcontainer.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<gcn::SelectionListener*> mListeners; static const int gridWidth; |