diff options
author | Michael Vrhel <michael.vrhel@artifex.com> | 2013-05-21 08:04:33 -0700 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-05-21 17:00:53 +0100 |
commit | f095f7ff494ae6c59dc72b5d4feeac5db5a27351 (patch) | |
tree | 9694de9bbe0602c9f2e3fe8d975517af1484fb62 /winrt/mupdf_cpp/MainPage.xaml | |
parent | 23dea6df2cb85a136ba6d8d8e34eebe4e105db24 (diff) | |
download | mupdf-f095f7ff494ae6c59dc72b5d4feeac5db5a27351.tar.xz |
Addition of support for password input.
Also rework of startup based upon password entry. Fix for bug that
caused a crash when slider was used, thumbs were still rendering and a
new document was opened.
Diffstat (limited to 'winrt/mupdf_cpp/MainPage.xaml')
-rw-r--r-- | winrt/mupdf_cpp/MainPage.xaml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/winrt/mupdf_cpp/MainPage.xaml b/winrt/mupdf_cpp/MainPage.xaml index 9ddd2873..3c59d615 100644 --- a/winrt/mupdf_cpp/MainPage.xaml +++ b/winrt/mupdf_cpp/MainPage.xaml @@ -253,5 +253,24 @@ </Border> </StackPanel> + <StackPanel x:Name="xaml_PasswordStack" Opacity="1" VerticalAlignment="Center" Visibility="Collapsed"> + <Border BorderThickness="5" BorderBrush="Black" Margin="300"> + <StackPanel Background="LightGray" > + <TextBlock HorizontalAlignment="Center" Margin="10" + Text="Password Required" FontSize="20"/> + <PasswordBox x:Name="xaml_password" Height="35" Width="300"/> + <Button HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,10" Click="PasswordOK" Height="39"> + <TextBlock HorizontalAlignment="Center" Text="OK"/> + </Button> + </StackPanel> + </Border> + </StackPanel> + + + + + + + </Grid> </Page> |