From a444a76ed37a52ba0004298f2512bee1c75273bc Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Wed, 22 Aug 2007 07:57:56 +0000 Subject: Fixed a compiler warning and updated source lists. --- src/CMakeLists.txt | 6 ++++++ src/Makefile.am | 6 ++++++ src/gui/itemshortcutcontainer.h | 3 +-- 3 files changed, 13 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit v1.2.3-70-g09d2