diff options
author | Paul Gardiner <paulg.artifex@glidos.net> | 2013-02-18 16:22:25 +0000 |
---|---|---|
committer | Paul Gardiner <paulg.artifex@glidos.net> | 2013-02-22 12:21:25 +0000 |
commit | 4553555e8bab6f749ae007664ad6745ee816e4bf (patch) | |
tree | 0992cac8b4d53339cbc6d8e07816da299930849f /android/src/com/artifex/mupdfdemo/MuPDFView.java | |
parent | 860f401dc6c349d9f838d6dc90bc921876dca58e (diff) | |
download | mupdf-4553555e8bab6f749ae007664ad6745ee816e4bf.tar.xz |
Android: add annotation-editing menu, triggered on annotation selection
Diffstat (limited to 'android/src/com/artifex/mupdfdemo/MuPDFView.java')
-rw-r--r-- | android/src/com/artifex/mupdfdemo/MuPDFView.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/android/src/com/artifex/mupdfdemo/MuPDFView.java b/android/src/com/artifex/mupdfdemo/MuPDFView.java index d032c7a0..d16fc818 100644 --- a/android/src/com/artifex/mupdfdemo/MuPDFView.java +++ b/android/src/com/artifex/mupdfdemo/MuPDFView.java @@ -3,12 +3,14 @@ package com.artifex.mupdfdemo; import android.graphics.PointF; import android.graphics.RectF; +enum Hit {Nothing, Widget, Annotation}; + public interface MuPDFView { public void setPage(int page, PointF size); public void setScale(float scale); public int getPage(); public void blank(int page); - public boolean passClickEvent(float x, float y); + public Hit passClickEvent(float x, float y); public LinkInfo hitLink(float x, float y); public void selectText(float x0, float y0, float x1, float y1); public void deselectText(); |