summaryrefslogtreecommitdiff
path: root/src/gui/itemshortcutcontainer.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-08 16:38:22 -0700
committerIra Rice <irarice@gmail.com>2009-01-08 16:38:22 -0700
commita001775f8b0b992cc7c4c5863722d02e8606b175 (patch)
tree44dfa8ab01119022b7999b27c3031a39d9d3c186 /src/gui/itemshortcutcontainer.h
parent193ccbdba8031a351ea622f8842b6d9a0b6cfd43 (diff)
parent611210b1e0fd9cbaed38b229462e109d8f4be385 (diff)
downloadmana-client-a001775f8b0b992cc7c4c5863722d02e8606b175.tar.gz
mana-client-a001775f8b0b992cc7c4c5863722d02e8606b175.tar.bz2
mana-client-a001775f8b0b992cc7c4c5863722d02e8606b175.tar.xz
mana-client-a001775f8b0b992cc7c4c5863722d02e8606b175.zip
Fixed include order (pedantic change)
Conflicts: src/gui/smileycontainer.cpp Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui/itemshortcutcontainer.h')
-rw-r--r--src/gui/itemshortcutcontainer.h31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/gui/itemshortcutcontainer.h b/src/gui/itemshortcutcontainer.h
index 92b9b968..37c61e07 100644
--- a/src/gui/itemshortcutcontainer.h
+++ b/src/gui/itemshortcutcontainer.h
@@ -61,12 +61,6 @@ class ItemShortcutContainer : public ShortcutContainer
void draw(gcn::Graphics *graphics);
/**
- * Invoked when a widget changes its size. This is used to determine
- * the new height of the container.
- */
- void widgetResized(const gcn::Event &event);
-
- /**
* Handles mouse when dragged.
*/
void mouseDragged(gcn::MouseEvent &event);
@@ -81,32 +75,7 @@ class ItemShortcutContainer : public ShortcutContainer
*/
void mouseReleased(gcn::MouseEvent &event);
- int getMaxItems()
- { return mMaxItems; }
-
- int getBoxWidth()
- { return mBoxWidth; }
-
- int getBoxHeight()
- { return mBoxHeight; }
-
private:
- /**
- * Gets the index from the grid provided the point is in an item box.
- *
- * @param pointX X coordinate of the point.
- * @param pointY Y coordinate of the point.
- * @return index on success, -1 on failure.
- */
- int getIndexFromGrid(int pointX, int pointY) const;
-
- Image *mBackgroundImg;
-
- int mMaxItems;
- int mBoxWidth;
- int mBoxHeight;
- int mCursorPosX, mCursorPosY;
- int mGridWidth, mGridHeight;
bool mItemClicked;
Item *mItemMoved;
};