-
Notifications
You must be signed in to change notification settings - Fork 0
/
Options.xaml
48 lines (48 loc) · 3.01 KB
/
Options.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<ResourceDictionary
x:Class="Roberthasson.NINA.Lumixcamera.Options"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<!-- This data template will be displayed in N.I.N.A. on the options->plugin tab with the datacontext of the TestPlugin instance -->
<!-- In order for this datatemplate to be picked correctly, the key has to follow the naming convention of <IPlugin.Name>_Options -->
<!-- Furthermore the Resource Dictionary has to be exported via code behind export attributes -->
<DataTemplate x:Key="LumixCamera_Options">
<StackPanel Orientation="Vertical">
<!--<StackPanel Orientation="Horizontal">
<TextBlock Text="Default Notification Message" />
<TextBox MinWidth="50" Text="{Binding DefaultNotificationMessage}" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock Text="Profile Specific Notification Message" />
<TextBox MinWidth="50" Text="{Binding ProfileSpecificNotificationMessage}" />
</StackPanel>-->
<StackPanel Orientation="Horizontal">
<TextBlock>
<TextBlock.Text>Override Sensor Width</TextBlock.Text>
<TextBlock.ToolTip>In case the camera is not recognized or the embedded sensor values are not correct insert here in pixels the true value or 0 to use the sdk values</TextBlock.ToolTip>
</TextBlock>
<TextBox MinWidth="50" Text="{Binding SensorWidth}" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock>
<TextBlock.Text>Override Sensor Height</TextBlock.Text>
<TextBlock.ToolTip>In case the camera is not recognized or the embedded sensor values are not correct insert here in pixels the true value or 0 to use the sdk values</TextBlock.ToolTip>
</TextBlock>
<TextBox MinWidth="50" Text="{Binding SensorHeight}" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock>
<TextBlock.Text>Override Pixel Pitch</TextBlock.Text>
<TextBlock.ToolTip>In case the camera is not recognized or the embedded sensor values are not correct insert here in pixels the true value or 0 to use the sdk values</TextBlock.ToolTip>
</TextBlock>
<TextBox MinWidth="50" Text="{Binding PixelPitch}" />
</StackPanel>
<StackPanel Orientation="Horizontal">
<TextBlock>
<TextBlock.Text>Override Bit Depth</TextBlock.Text>
<TextBlock.ToolTip>Default driver uses bit depth of 14. if you prefer another enter it here</TextBlock.ToolTip>
</TextBlock>
<TextBox MinWidth="50" Text="{Binding BitDepth}" />
</StackPanel>
</StackPanel>
</DataTemplate>
</ResourceDictionary>