summaryrefslogtreecommitdiff
path: root/include/grail.h
Commit message (Collapse)AuthorAgeFilesLines
* Introduce gesture framesHenrik Rydberg2011-04-281-0/+204
| | | | | | | | | | This patch extends the API with parallel new/delete functions, aiming to eventually replace the open/close function. The new functions give access to the grail gesture frames, containing gestural transform information. This information is useful in its own right, and will eventually replace the internal recognizer. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Expose utouch-frame through grail APIHenrik Rydberg2011-04-281-46/+48
| | | | | | | | Start a gentle API change by exposing utouch-frame through grail, and deprecating the grail_contact struct. Old programs compile and run fine. To only use the new api, compile with -DGRAIL_NO_LEGACY_API. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Use visibility macros instead of symbol mapJussi Pakkanen2011-04-281-12/+13
| | | | | Signed-off-by: Jussi Pakkanen <jussi.pakkanen@canonical.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Make headers work with C++Jussi Pakkanen2011-04-281-1/+9
| | | | | Signed-off-by: Jussi Pakkanen <jussi.pakkanen@canonical.com> Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Crank up the maximum number of propertiesHenrik Rydberg2010-08-191-1/+1
| | | | | | | | To prepare for the (for maverick only) addition of individual contact information via the properties array, increase the maximum number of contacts. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add grail_contact and a method to retrieve the current contactsHenrik Rydberg2010-08-191-0/+38
| | | | | | | This patch adds the possibility to extract the current set of contacts from the grail state. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add documentation to structs and functions in grail.hHenrik Rydberg2010-08-191-5/+138
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* add a translation utility to grailHenrik Rydberg2010-08-111-0/+4
| | | | | | | | By calling the grail_set_bbox(), grail will do translation of api coordinates and matching properties to an external coordinate system, such as screen coordinates. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* janitor: conformant argument order in apiHenrik Rydberg2010-08-111-2/+2
| | | | Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* always send pointer movement gesturesHenrik Rydberg2010-08-101-1/+1
| | | | | | | Always send drag events for one-finger touches, but only filter the ABS_X/Y events if grail_filter_abs_events() is set to true. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Add configurable pointer gestureHenrik Rydberg2010-08-071-0/+2
| | | | | | | | In some applications, it is desirable to treat pointer movements as a gesture. This patch adds a gru configuration parameter which, then true, makes grail emit pointer gesture events. Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
* Update README and copyright in all filesHenrik Rydberg2010-08-061-3/+1
| | | | | | Add the author to the copyright, courtesy of Canonical Ltd. Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
* initial bzr repo at rev 27Henrik Rydberg2010-08-061-0/+94