diff options
author | Stephen Kennedy | 2008-07-04 17:55:19 +0000 |
---|---|---|
committer | Stephen Kennedy | 2008-07-04 17:55:19 +0000 |
commit | 950b68be7b0e228addf92150abf0fbca1091e57e (patch) | |
tree | 6efd1a068149489d51847a31351c78a4c95b5f55 /common/imageMap.cpp | |
parent | 1ef9d712da9158d009576876e2f671f7c5f06f92 (diff) | |
download | scummvm-rg350-950b68be7b0e228addf92150abf0fbca1091e57e.tar.gz scummvm-rg350-950b68be7b0e228addf92150abf0fbca1091e57e.tar.bz2 scummvm-rg350-950b68be7b0e228addf92150abf0fbca1091e57e.zip |
- Added alignment and initial mode options to keyboard pack file
- More functionality to VirtualKeyboard class, including handling mouse clicks
svn-id: r32907
Diffstat (limited to 'common/imageMap.cpp')
-rw-r--r-- | common/imageMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/imageMap.cpp b/common/imageMap.cpp index 7c8498ea06..4646123754 100644 --- a/common/imageMap.cpp +++ b/common/imageMap.cpp @@ -35,7 +35,7 @@ void ImageMap::addPolygonMapArea(const Polygon& poly, const String& target) { areas.push_back(MapArea(poly, target)); } -MapArea *ImageMap::findMapArea(int x, int y) { +MapArea *ImageMap::findMapArea(int16 x, int16 y) { Array<MapArea>::iterator it; for (it = areas.begin(); it != areas.end(); it++) { if (it->contains(x, y)) |