Files
Dave Friedel 0352c6b755 Add brightness/contrast sliders, input source switching, and 9-language localization
- Add VCP commands for brightness (10), contrast (12), input source (60)
- Fix UTF-16 encoding for monitor data parsing
- Add system tray app with monitor controls
- Add localization for en, es, fr, de, zh, ja, pt, it, hi
- Update to .NET 9.0
- Add LICENSE and README

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 22:11:35 -05:00

34 lines
1.8 KiB
XML

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:CMM.Management.Control">
<Style TargetType="{x:Type local:MonCtrl}">
<Setter Property="Margin" Value="10"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type local:MonCtrl}">
<Border Background="#44000000" CornerRadius="8" Padding="15">
<StackPanel Orientation="Vertical">
<!-- Monitor Name Header -->
<TextBlock Text="{Binding Mon.MonitorName, Mode=OneWay,
RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type local:MonCtrl}}}"
FontSize="16"
FontWeight="Bold"
Foreground="White"
Margin="0,0,0,10"/>
<TextBlock Text="{Binding Mon.SerialNumber, Mode=OneWay,
RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type local:MonCtrl}}}"
FontSize="11"
Foreground="#AAAAAA"
Margin="0,0,0,15"/>
<!-- Dynamic controls container -->
<StackPanel x:Name="sp" Orientation="Vertical"/>
</StackPanel>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>