summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-08-22 07:57:56 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-08-22 07:57:56 +0000
commita444a76ed37a52ba0004298f2512bee1c75273bc (patch)
tree13bfcb7b35f2db0edba86790dc6222546dbc0109 /src
parent7ed4bc1e9a7d6b3a01a7305f92a3d6eeb58550f6 (diff)
downloadmana-a444a76ed37a52ba0004298f2512bee1c75273bc.tar.gz
mana-a444a76ed37a52ba0004298f2512bee1c75273bc.tar.bz2
mana-a444a76ed37a52ba0004298f2512bee1c75273bc.tar.xz
mana-a444a76ed37a52ba0004298f2512bee1c75273bc.zip
Fixed a compiler warning and updated source lists.
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
-rw-r--r--src/Makefile.am6
-rw-r--r--src/gui/itemshortcutcontainer.h3
3 files changed, 13 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b1342e8c..6bdaeb68 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -94,6 +94,10 @@ SET(SRCS
gui/inventorywindow.h
gui/itemcontainer.cpp
gui/itemcontainer.h
+ gui/itemshortcutcontainer.cpp
+ gui/itemshortcutcontainer.h
+ gui/itemshortcutwindow.cpp
+ gui/itemshortcutwindow.h
gui/item_amount.cpp
gui/item_amount.h
gui/linkhandler.h
@@ -293,6 +297,8 @@ SET(SRCS
inventory.h
item.cpp
item.h
+ itemshortcut.cpp
+ itemshortcut.h
joystick.cpp
joystick.h
keyboardconfig.cpp
diff --git a/src/Makefile.am b/src/Makefile.am
index 3d801721..9189e973 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -43,6 +43,10 @@ tmw_SOURCES = gui/widgets/resizegrip.cpp \
gui/inventorywindow.h \
gui/itemcontainer.cpp \
gui/itemcontainer.h \
+ gui/itemshortcutcontainer.cpp \
+ gui/itemshortcutcontainer.h \
+ gui/itemshortcutwindow.cpp \
+ gui/itemshortcutwindow.h \
gui/item_amount.cpp \
gui/item_amount.h \
gui/linkhandler.h \
@@ -242,6 +246,8 @@ tmw_SOURCES = gui/widgets/resizegrip.cpp \
inventory.h \
item.cpp \
item.h \
+ itemshortcut.cpp \
+ itemshortcut.h \
joystick.cpp \
joystick.h \
keyboardconfig.cpp \
diff --git a/src/gui/itemshortcutcontainer.h b/src/gui/itemshortcutcontainer.h
index a1ad53b7..4b154cbb 100644
--- a/src/gui/itemshortcutcontainer.h
+++ b/src/gui/itemshortcutcontainer.h
@@ -98,8 +98,7 @@ class ItemShortcutContainer : public gcn::Widget, public gcn::MouseListener
* @param pointY Y coordinate of the point.
* @return index on success, -1 on failure.
*/
- int ItemShortcutContainer::getIndexFromGrid(
- int pointX, int pointY) const;
+ int getIndexFromGrid(int pointX, int pointY) const;
Image *mBackgroundImg;