diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-12 18:36:15 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-04-12 18:36:15 +0000 |
commit | 8c62978f845432f8cac046a0d6fd4587c087f22f (patch) | |
tree | 1f586624c7f3a5ea375777606c035622026d8c5b /src/gui/itemshortcutwindow.h | |
parent | b50649ee5e28511df72cc3a08023747727c5b6f0 (diff) | |
download | mana-client-8c62978f845432f8cac046a0d6fd4587c087f22f.tar.gz mana-client-8c62978f845432f8cac046a0d6fd4587c087f22f.tar.bz2 mana-client-8c62978f845432f8cac046a0d6fd4587c087f22f.tar.xz mana-client-8c62978f845432f8cac046a0d6fd4587c087f22f.zip |
Fixed display of item shortcut container. gcn::Widget::setWidth is no longer
virtual.
Diffstat (limited to 'src/gui/itemshortcutwindow.h')
-rw-r--r-- | src/gui/itemshortcutwindow.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/gui/itemshortcutwindow.h b/src/gui/itemshortcutwindow.h index 51685e49..9742abdc 100644 --- a/src/gui/itemshortcutwindow.h +++ b/src/gui/itemshortcutwindow.h @@ -26,12 +26,11 @@ #include "window.h" -#include "../guichanfwd.h" - class ItemShortcutContainer; +class ScrollArea; /** - * Inventory dialog. + * A window around the ItemShortcutContainer. * * \ingroup Interface */ @@ -49,11 +48,6 @@ class ItemShortcutWindow : public Window ~ItemShortcutWindow(); /** - * Logic (updates buttons and weight information). - */ - void logic(); - - /** * Called whenever the widget changes size. */ void widgetResized(const gcn::Event &event); @@ -61,7 +55,7 @@ class ItemShortcutWindow : public Window private: ItemShortcutContainer *mItems; - gcn::ScrollArea *mInvenScroll; + ScrollArea *mScrollArea; }; extern ItemShortcutWindow *itemShortcutWindow; |