diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-26 22:28:40 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-26 22:42:26 +0200 |
commit | 739e1ef748cf61935d3d15ef5319576f81d3a615 (patch) | |
tree | 925274893a87ad73d6e934ba7c3b07eed3c6a5ab /src/gui/shortcutcontainer.h | |
parent | 9e5bdec034d81a9afec170988ea0a6d0a40e9e77 (diff) | |
download | mana-739e1ef748cf61935d3d15ef5319576f81d3a615.tar.gz mana-739e1ef748cf61935d3d15ef5319576f81d3a615.tar.bz2 mana-739e1ef748cf61935d3d15ef5319576f81d3a615.tar.xz mana-739e1ef748cf61935d3d15ef5319576f81d3a615.zip |
Moved minimap title setting into the Minimap class
Also cleaned up some debug log statements, fixed initialization order,
removed an unused member variable and added some documentation.
Diffstat (limited to 'src/gui/shortcutcontainer.h')
-rw-r--r-- | src/gui/shortcutcontainer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/shortcutcontainer.h b/src/gui/shortcutcontainer.h index 7b09fb96..fff48423 100644 --- a/src/gui/shortcutcontainer.h +++ b/src/gui/shortcutcontainer.h @@ -46,7 +46,7 @@ class ShortcutContainer : public gcn::Widget, /** * Destructor. */ - ~ShortcutContainer(){} + ~ShortcutContainer() {} /** * Draws the shortcuts @@ -74,13 +74,13 @@ class ShortcutContainer : public gcn::Widget, */ virtual void mouseReleased(gcn::MouseEvent &event) = 0; - virtual int getMaxItems() + virtual int getMaxItems() const { return mMaxItems; } - virtual int getBoxWidth() + virtual int getBoxWidth() const { return mBoxWidth; } - virtual int getBoxHeight() + virtual int getBoxHeight() const { return mBoxHeight; } protected: |