X-Git-Url: https://rtime.felk.cvut.cz/gitweb/orte.git/blobdiff_plain/d632de9297ae49c61dda8968d15ba8d5bd78554a..2baf69e9624abbb491c570d832db98207ae8f177:/orte/contrib/shape_android/src/org/ocera/orte/shape_android/PublisherShape.java diff --git a/orte/contrib/shape_android/src/org/ocera/orte/shape_android/PublisherShape.java b/orte/contrib/shape_android/src/org/ocera/orte/shape_android/PublisherShape.java index 212be3f..9cf0b26 100644 --- a/orte/contrib/shape_android/src/org/ocera/orte/shape_android/PublisherShape.java +++ b/orte/contrib/shape_android/src/org/ocera/orte/shape_android/PublisherShape.java @@ -46,6 +46,7 @@ public class PublisherShape extends ShapeDrawable // info, please refer to http://developer.android.com/ private boolean manual; + private int pointerId; private int incX, incY; private PublProp publisherProperties; @@ -286,6 +287,24 @@ public class PublisherShape extends ShapeDrawable */ public boolean getManual() { return this.manual; } + /** + * Set the touch pointer ID associated with + * this shape. + * + * @param pointerId + * @since 1.0 + */ + public void setPointerId(int pointerId) { this.pointerId = pointerId; } + + /** + * Get the touch pointer ID associated with + * this shape. + * + * @return Pointer ID. + * @since 1.0 + */ + public int getPointerId() { return this.pointerId; } + /** * Make triangle path for new instance. *