diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2013-05-28 00:12:55 -0700 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-06-03 15:23:27 +0100 |
commit | 16b8e2856cdfed478039dc29f6a2c6645c14fe69 (patch) | |
tree | ba3113d24cb47698ed90bfb8ac7887877cfb8b61 /winrt/mupdf_cpp/MainPage.xaml.h | |
parent | eeac55c6d5df2f841ae72327fa5347feecbdba60 (diff) | |
download | mupdf-16b8e2856cdfed478039dc29f6a2c6645c14fe69.tar.xz |
Fix for issue of link rectangle display when device is rotated.
The links rectangles need to be recomputed when we have a device orientation
change occur. When a change in orientation occurs, the current rects are
marked as being invalid and will be redrawn when needed.
Diffstat (limited to 'winrt/mupdf_cpp/MainPage.xaml.h')
-rw-r--r-- | winrt/mupdf_cpp/MainPage.xaml.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winrt/mupdf_cpp/MainPage.xaml.h b/winrt/mupdf_cpp/MainPage.xaml.h index 96476361..162e0985 100644 --- a/winrt/mupdf_cpp/MainPage.xaml.h +++ b/winrt/mupdf_cpp/MainPage.xaml.h @@ -133,6 +133,8 @@ namespace mupdf_cpp void ReleasePages(int old_page, int new_page); void Linker(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e); void AddLinkCanvas(); + void ClearLinks(); + void InvalidateLinks(); void ContentDisplay(Platform::Object^ sender, Windows::UI::Xaml::RoutedEventArgs^ e); void FlattenOutline(fz_outline *outline, int level); void ListView_Single_Tap(Platform::Object^ sender, Windows::UI::Xaml::Input::TappedRoutedEventArgs^ e); |