Multi-touch (static class). More...
#include <mo_touch.h>
Static Public Member Functions | |
| static void | addCallback (const MoTouchCallback &callback, void *data) |
| Add a callback method to receive multi-touch events. | |
| static void | removeCallback (const MoTouchCallback &callback) |
| Remove a callback method. | |
| static void | clear () |
| Clear the internal state of MoTouch. | |
Friends | |
| class | MoTouchUpdater |
Multi-touch (static class).
Sample Code:
MoTouch::addCallback( touchCallback, NULL );
| void MoTouch::addCallback | ( | const MoTouchCallback & | callback, | |
| void * | data | |||
| ) | [static] |
Add a callback method to receive multi-touch events.
| void MoTouch::clear | ( | void | ) | [static] |
Clear the internal state of MoTouch.
| void MoTouch::removeCallback | ( | const MoTouchCallback & | callback | ) | [static] |
Remove a callback method.
friend class MoTouchUpdater [friend] |
1.7.1