summaryrefslogtreecommitdiff
path: root/winrt/mupdf_cpp/MainPage.xaml.h
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2013-05-08 16:59:01 -0700
committerRobin Watts <robin.watts@artifex.com>2013-05-16 19:25:53 +0100
commit165a3528f5a48ba9c4f30d18330875b6070ddf96 (patch)
tree1abceb81e34769b2523701622d24923d7350fd9b /winrt/mupdf_cpp/MainPage.xaml.h
parent3824bf32f8595c2f037db14e133b798bfae65027 (diff)
downloadmupdf-165a3528f5a48ba9c4f30d18330875b6070ddf96.tar.xz
Support for going to the links.
Used tag attribute in rectangle object to store the index value into the collection of rectangles to get back the page number or uri.
Diffstat (limited to 'winrt/mupdf_cpp/MainPage.xaml.h')
-rw-r--r--winrt/mupdf_cpp/MainPage.xaml.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/winrt/mupdf_cpp/MainPage.xaml.h b/winrt/mupdf_cpp/MainPage.xaml.h
index 9c39534e..2c73b67d 100644
--- a/winrt/mupdf_cpp/MainPage.xaml.h
+++ b/winrt/mupdf_cpp/MainPage.xaml.h
@@ -135,8 +135,6 @@ namespace mupdf_cpp
void ReleasePages(int old_page, int new_page);
void Linker(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
void AddLinkCanvas();
- void Canvas_Single_Tap(Platform::Object^ sender, Windows::UI::Xaml::Input::TappedRoutedEventArgs^ e);
- bool CheckRect(Rectangle^ curr_rect, Point pt);
int JumpToLink(int index);
void ContentDisplay(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e);
void FlattenOutline(fz_outline *outline, int level);
@@ -152,5 +150,6 @@ namespace mupdf_cpp
void OKInvokedHandler(Windows::UI::Popups::IUICommand^ command);
Point ComputePageSize(spatial_info_t spatial_info, int page_num);
void ScrollChanged(Platform::Object^ sender, Windows::UI::Xaml::Controls::ScrollViewerViewChangedEventArgs^ e);
-};
+ void LinkTapped(Platform::Object^ sender, Windows::UI::Xaml::Input::TappedRoutedEventArgs^ e);
+ };
}