summaryrefslogtreecommitdiff
path: root/winrt/mupdf_cpp/Common/StandardStyles.xaml
diff options
context:
space:
mode:
authorMichael Vrhel <michael.vrhel@artifex.com>2013-06-09 18:29:16 -0700
committerRobin Watts <robin.watts@artifex.com>2013-06-14 21:19:25 +0100
commit9a1898c42152dfac560bb9d291e43f7dc0fd40ac (patch)
tree0cb196208bb8c19f6f4b79480a9756c559cc7427 /winrt/mupdf_cpp/Common/StandardStyles.xaml
parent5df70acc4e3ae23ed949d80b4c90d651765088ea (diff)
downloadmupdf-9a1898c42152dfac560bb9d291e43f7dc0fd40ac.tar.xz
Addition of zoom in and zoom out control on top app bar.
Also rework of some UI interactions to avoid zooming, text search, etc when in a specialized view like contents or reflow (webview)
Diffstat (limited to 'winrt/mupdf_cpp/Common/StandardStyles.xaml')
-rw-r--r--winrt/mupdf_cpp/Common/StandardStyles.xaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/winrt/mupdf_cpp/Common/StandardStyles.xaml b/winrt/mupdf_cpp/Common/StandardStyles.xaml
index 716cf8e2..771d773c 100644
--- a/winrt/mupdf_cpp/Common/StandardStyles.xaml
+++ b/winrt/mupdf_cpp/Common/StandardStyles.xaml
@@ -455,6 +455,16 @@
<Setter Property="AutomationProperties.Name" Value="Reflow"/>
<Setter Property="Content" Value="&#xE18B;"/>
</Style>
+ <Style x:Key="ZoomInAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}">
+ <Setter Property="AutomationProperties.AutomationId" Value="ZoomInAppBarButton"/>
+ <Setter Property="AutomationProperties.Name" Value="Zoom In"/>
+ <Setter Property="Content" Value="&#xE12E;"/>
+ </Style>
+ <Style x:Key="ZoomOutAppBarButtonStyle" TargetType="ButtonBase" BasedOn="{StaticResource AppBarButtonStyle}">
+ <Setter Property="AutomationProperties.AutomationId" Value="ZoomOutAppBarButton"/>
+ <Setter Property="AutomationProperties.Name" Value="Zoom Out"/>
+ <Setter Property="Content" Value="&#xE1A4;"/>
+ </Style>
<!--