aboutsummaryrefslogtreecommitdiff
path: root/gui/ListWidget.cpp
diff options
context:
space:
mode:
authorMax Horn2002-07-13 18:32:09 +0000
committerMax Horn2002-07-13 18:32:09 +0000
commit1238d7422705e88097d21a3d0e34683262be4331 (patch)
tree1c91aec348222a0955b638e9308ab7a85f5965ec /gui/ListWidget.cpp
parent101613f6fd6226bd0d205efe395de4e2b1009731 (diff)
downloadscummvm-rg350-1238d7422705e88097d21a3d0e34683262be4331.tar.gz
scummvm-rg350-1238d7422705e88097d21a3d0e34683262be4331.tar.bz2
scummvm-rg350-1238d7422705e88097d21a3d0e34683262be4331.zip
took painelf's change, modified it a lot, and now here's the result :-)
svn-id: r4540
Diffstat (limited to 'gui/ListWidget.cpp')
-rw-r--r--gui/ListWidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/ListWidget.cpp b/gui/ListWidget.cpp
index ca501fe617..096c8cd1d5 100644
--- a/gui/ListWidget.cpp
+++ b/gui/ListWidget.cpp
@@ -83,7 +83,7 @@ ListWidget::~ListWidget()
{
}
-void ListWidget::handleClick(int x, int y, int button)
+void ListWidget::handleMouseDown(int x, int y, int button)
{
if (_flags & WIDGET_ENABLED) {
_selectedItem = (y - 2) / LINE_HEIGHT + _currentPos;
@@ -91,7 +91,7 @@ void ListWidget::handleClick(int x, int y, int button)
}
}
-void ListWidget::handleKey(char key, int modifiers)
+void ListWidget::handleKeyDown(char key, int modifiers)
{
}