Revision 14 ofxTouchAPI_IO.cpp
| ofxTouchAPI_IO.cpp (revision 14) | ||
|---|---|---|
| 156 | 156 |
return _mouseY; |
| 157 | 157 |
} |
| 158 | 158 |
|
| 159 |
// Quick test to see how many fingers are touching a particular object |
|
| 160 | 159 |
int ofxTouchAPI_IO::getTouches(){
|
| 161 | 160 |
return touchList.size(); |
| 162 | 161 |
} |
| 163 | 162 |
|
| 164 |
/* |
|
| 165 | 163 |
bool ofxTouchAPI_IO::isBeingTouched(){
|
| 166 |
if (touchList.size() == 0) |
|
| 167 |
return touchList.size(); |
|
| 164 |
if (touchList.size() >= 1) |
|
| 165 |
return true; |
|
| 168 | 166 |
} |
| 169 |
*/ |
|
| 170 | 167 |
|
| 171 | 168 |
|
| 172 | 169 |
int ofxTouchAPI_IO::getLastMouseButton() {
|
Also available in: Unified diff
