Factor out/generalise the function that checks whether a point is within a viewport...
commitce7832fa5dee72e426eb3e1c93c83e3fd8dfd840
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Sat, 5 Sep 2009 23:57:09 +0000 (5 23:57 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Sat, 5 Sep 2009 23:57:09 +0000 (5 23:57 +0000)
treea28fa4f0bb9339cdd6d900276e4694f8be5a02ee
parentf8de5527d5de56b2830799ce62f49c3f21eba76e
Factor out/generalise the function that checks whether a point is within a viewport to, and use it in the wps' touchregion code. This corrects the check that was done there.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22638 a1c6a512-1295-4272-9138-f99709370657
apps/gui/quickscreen.c
apps/gui/viewport.c
apps/gui/viewport.h
apps/gui/wps.c