摘要 |
The control areas (e.g. keys and buttons) in a GUI of a touch screen based computing device represented in a color mask stored on the device; the color mask has regions exactly corresponding in shape and size to each of the control keys or buttons; each region is completely filled with a unique color. In use, when a X,Y co-ordinate pair for a particular contact/touch point is generated, it is straightforward and very fast to extract the pixel color that is present at the same X,Y co-ordinates of the color mask. It is also then very fast and straightforward to establish the control area associated with that color by matching the pixel color to a table that stores each control area together with its associated color in the color mask.
|