update config window with the new option

This commit is contained in:
Gered 2013-01-28 14:16:51 -05:00
parent bd64c54940
commit 6bad645624

View file

@ -2,7 +2,7 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:properties="clr-namespace:AppleWirelessKeyboard.Properties"
Title="Configuration" Height="300" Width="300">
Title="Configuration" Height="385" Width="300">
<Window.Resources>
<properties:Settings x:Key="Settings"/>
</Window.Resources>
@ -14,6 +14,7 @@
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<TextBlock Text="F keys are Mac special function keys by default:" Grid.Column="0" Grid.Row="0" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,6,0" Foreground="Gray" TextWrapping="Wrap"/>
@ -21,5 +22,8 @@
<TextBlock Text="Wired Keyboard. If enabled, fixes Eject key handling on a wired keyboard so that it toggles the above option on/off when pressed." Grid.Column="0" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,6,0" Foreground="Gray" TextWrapping="Wrap"/>
<CheckBox Name="wiredKeyboard" Grid.Column="1" Grid.Row="1" VerticalAlignment="Center" HorizontalAlignment="Center" IsChecked="{Binding Source={StaticResource Settings}, Path=Default.WiredKeyboard}"/>
<TextBlock Text="(Wired Keyboard only) Eject key emulates Fn key. If enabled allows holding Eject + function key to do the same as Fn + function key does on a wireless keyboard." Grid.Column="0" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Right" Margin="0,0,6,0" Foreground="Gray" TextWrapping="Wrap"/>
<CheckBox Name="wiredHoldEjectForFn" Grid.Column="1" Grid.Row="2" VerticalAlignment="Center" HorizontalAlignment="Center" IsChecked="{Binding Source={StaticResource Settings}, Path=Default.WiredHoldEjectForFn}"/>
</Grid>
</Window>