|
7 | 7 | xmlns:utilities="clr-namespace:Carnac.Utilities" |
8 | 8 | xmlns:carnac="clr-namespace:Carnac" |
9 | 9 | x:Class="Carnac.UI.PreferencesView" |
10 | | - Width="610" Height="420" Icon="../icon.ico" |
| 10 | + Width="610" Height="420" Icon="../icon.ico" |
11 | 11 | Foreground="{DynamicResource BlackBrush}" |
12 | 12 | d:DataContext="{d:DesignInstance ui:PreferencesViewModel}" mc:Ignorable="d" |
13 | 13 | ShowTitleBar="False" ShowMinButton="False" ShowMaxRestoreButton="False" |
|
25 | 25 | <ResourceDictionary |
26 | 26 | Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseDark.xaml" /> |
27 | 27 | </ResourceDictionary.MergedDictionaries> |
28 | | - |
| 28 | + |
29 | 29 | <DataTemplate x:Key="ColourPickerTemplate"> |
30 | 30 | <StackPanel Orientation="Horizontal" VerticalAlignment="Stretch" |
31 | 31 | d:DataContext="{d:DesignInstance ui:AvailableColor}"> |
|
56 | 56 | <StackPanel Margin="10,0,0,0" Orientation="Vertical"> |
57 | 57 | <carnac:PositionOnMonitorSelector /> |
58 | 58 | <ui:PreferencesField Header="Top Offset"> |
59 | | - <Slider Value="{Binding Settings.TopOffset}" IsSnapToTickEnabled="True" |
| 59 | + <Slider Value="{Binding Settings.TopOffset}" IsSnapToTickEnabled="True" |
60 | 60 | LargeChange="10" |
61 | 61 | Maximum="{Binding SelectedScreen.Height}" Minimum="0" SmallChange="1" TickFrequency="20" /> |
62 | 62 | <ui:PreferencesField.SecondaryControl> |
|
84 | 84 | <TextBox Foreground="White" Text="{Binding Settings.RightOffset}" /> |
85 | 85 | </ui:PreferencesField.SecondaryControl> |
86 | 86 | </ui:PreferencesField> |
| 87 | + <Separator Height="10" Margin="0"/> |
| 88 | + <ui:PreferencesField Header="Auto Update"> |
| 89 | + <CheckBox IsChecked="{Binding Settings.AutoUpdate}" Content="auto check updates from GitHub (need to restart this program)" /> |
| 90 | + </ui:PreferencesField> |
87 | 91 | </StackPanel> |
88 | 92 | <StackPanel HorizontalAlignment="Right" Orientation="Horizontal" Grid.Row="1" Margin="5"> |
89 | 93 | <Button Width="150" Margin="0 0 5 0" Content="Reset to Defaults" Command="{Binding ResetToDefaultsCommand}" /> |
|
138 | 142 | </ui:PreferencesField> |
139 | 143 |
|
140 | 144 | <ui:PreferencesField Header="Shortcuts Only"> |
141 | | - <CheckBox IsChecked="{Binding Settings.DetectShortcutsOnly}" /> |
| 145 | + <CheckBox IsChecked="{Binding Settings.DetectShortcutsOnly}" Content="shows only keys which are listed in keymaps folder" /> |
142 | 146 | </ui:PreferencesField> |
143 | | - <ui:PreferencesField Header="Show Application Icon"> |
| 147 | + <ui:PreferencesField Header="Show Only Modifiers"> |
| 148 | + <CheckBox IsChecked="{Binding Settings.ShowOnlyModifiers}" Content="shows only keys which have ctrl, shift, alt or windows" /> |
| 149 | + </ui:PreferencesField> |
| 150 | + <ui:PreferencesField Header="Show Application Icon"> |
144 | 151 | <CheckBox IsChecked="{Binding Settings.ShowApplicationIcon}" /> |
145 | 152 | </ui:PreferencesField> |
146 | 153 | </StackPanel> |
|
0 commit comments