summaryrefslogtreecommitdiff
path: root/platform/winrt/mupdf_cpp/DocumentPage.h
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2013-11-13 22:55:18 -0800
committerMichael Vrhel <michael.vrhel@artifex.com>2013-11-14 14:07:14 -0800
commit5b61463377d8049cead03c0dd4b4fc76388bca9e (patch)
treef949fd284b783b5e0e8c63fe38e833847b1c5f39 /platform/winrt/mupdf_cpp/DocumentPage.h
parent40b897cd22fb42f4496aa7b88e6301a0bf35f213 (diff)
downloadmupdf-5b61463377d8049cead03c0dd4b4fc76388bca9e.tar.xz
Update WinRT project to Windows 8.1 / VS 2013. Fix several issues with zooming.
Diffstat (limited to 'platform/winrt/mupdf_cpp/DocumentPage.h')
-rw-r--r--platform/winrt/mupdf_cpp/DocumentPage.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/platform/winrt/mupdf_cpp/DocumentPage.h b/platform/winrt/mupdf_cpp/DocumentPage.h
index 89bf6674..383d63d1 100644
--- a/platform/winrt/mupdf_cpp/DocumentPage.h
+++ b/platform/winrt/mupdf_cpp/DocumentPage.h
@@ -27,7 +27,7 @@ namespace mupdf_cpp
private:
int height;
int width;
- double zoom;
+ double page_zoom;
int native_height;
int native_width;
WriteableBitmap^ image;
@@ -97,7 +97,6 @@ namespace mupdf_cpp
throw ref new Platform::InvalidArgumentException();
}
height = value;
- DocumentPage::OnPropertyChanged("Height");
}
}
@@ -115,7 +114,6 @@ namespace mupdf_cpp
throw ref new Platform::InvalidArgumentException();
}
width = value;
- DocumentPage::OnPropertyChanged("Width");
}
}
property int NativeHeight
@@ -152,11 +150,11 @@ namespace mupdf_cpp
}
}
- property double Zoom
+ property double PageZoom
{
double get()
{
- return zoom;
+ return page_zoom;
}
void set(double value)
@@ -165,7 +163,7 @@ namespace mupdf_cpp
{
throw ref new Platform::InvalidArgumentException();
}
- zoom = value;
+ page_zoom = value;
}
}