- Added alignment and initial mode options to keyboard pack file

- More functionality to VirtualKeyboard class, including handling mouse clicks

svn-id: r32907
This commit is contained in:
Stephen Kennedy 2008-07-04 17:55:19 +00:00
parent 1ef9d712da
commit 950b68be7b
6 changed files with 198 additions and 30 deletions

View file

@ -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))