|
1 | 1 | <mah:MetroWindow
|
2 | 2 | x:Class="CeVIOAIProxy.MainWindow"
|
3 | 3 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
4 |
| - xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
5 | 4 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
6 |
| - xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| 5 | + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
7 | 6 | xmlns:bh="http://schemas.microsoft.com/xaml/behaviors"
|
| 7 | + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
8 | 8 | xmlns:tb="http://www.hardcodet.net/taskbar"
|
9 |
| - xmlns:mah="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro" |
10 |
| - xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" |
11 |
| - xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks" |
12 | 9 | xmlns:local="clr-namespace:CeVIOAIProxy"
|
| 10 | + xmlns:mah="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro" |
13 | 11 | mc:Ignorable="d"
|
14 | 12 | ResizeMode="CanMinimize"
|
15 | 13 | WindowStartupLocation="CenterScreen"
|
16 |
| - Title="CeVIO AI Proxy" |
| 14 | + Title="CeVIO AI Proxy" |
17 | 15 | Icon="share.png"
|
18 | 16 | Width="550" Height="540"
|
19 | 17 | Left="{Binding Config.X, Mode=TwoWay}"
|
|
34 | 32 | <ColumnDefinition Width="265" />
|
35 | 33 | <ColumnDefinition />
|
36 | 34 | </Grid.ColumnDefinitions>
|
37 |
| - |
| 35 | + |
38 | 36 | <tb:TaskbarIcon
|
39 | 37 | x:Name="NotifyIcon"
|
40 | 38 | IconSource="share.ico"
|
|
52 | 50 |
|
53 | 51 | <StackPanel Grid.Column="0" Margin="0 0 20 0">
|
54 | 52 | <mah:MetroHeader Header="キャスト" Margin="0 0 0 0">
|
55 |
| - <ComboBox |
| 53 | + <ComboBox |
56 | 54 | ItemsSource="{Binding Casts, Mode=OneWay}"
|
57 | 55 | SelectedItem="{Binding Config.Cast, Mode=TwoWay}" />
|
58 | 56 | </mah:MetroHeader>
|
59 | 57 |
|
60 | 58 | <mah:MetroHeader Header="パラメータ" Margin="0 15 0 0">
|
61 |
| - <StackPanel |
| 59 | + <StackPanel |
62 | 60 | Margin="0 10 0 0"
|
63 | 61 | Orientation="Horizontal">
|
64 | 62 | <StackPanel
|
|
156 | 154 | <TextBlock Text="{Binding Config.ToneScale, Mode=OneWay}" HorizontalAlignment="Center" />
|
157 | 155 | </StackPanel>
|
158 | 156 | </StackPanel>
|
159 |
| - |
160 | 157 | </mah:MetroHeader>
|
161 | 158 |
|
162 | 159 | <ItemsControl
|
|
195 | 192 |
|
196 | 193 | <StackPanel Grid.Column="1">
|
197 | 194 | <mah:ToggleSwitch
|
198 |
| - HorizontalAlignment="Stretch" |
199 |
| - Content="最小化して起動する" |
200 |
| - IsOn="{Binding Config.IsMinimizeStartup, Mode=TwoWay}" /> |
| 195 | + HorizontalAlignment="Stretch" |
| 196 | + Content="最小化して起動する" |
| 197 | + IsOn="{Binding Config.IsMinimizeStartup, Mode=TwoWay}" /> |
201 | 198 |
|
202 | 199 | <mah:MetroHeader Header="待受ポート" Margin="0 15 0 0">
|
203 | 200 | <TextBox
|
204 |
| - Text="{Binding Config.TcpServerPort, Mode=TwoWay}" |
205 |
| - MaxLength="5" /> |
| 201 | + Text="{Binding Config.TcpServerPort, Mode=TwoWay}" |
| 202 | + MaxLength="5" /> |
206 | 203 | </mah:MetroHeader>
|
207 | 204 | <TextBlock Text="* 通常は変更する必要がありません" FontSize="10" Margin="0 2 0 0" />
|
208 | 205 | <TextBlock Text="* 変更後は再起動してください" FontSize="10" />
|
|
211 | 208 | Margin="0 15 0 0"
|
212 | 209 | HorizontalAlignment="Stretch"
|
213 | 210 | Content="IPCサーバで待受ける"
|
214 |
| - IsOn="{Binding Config.IsEnabledIPCServer, Mode=TwoWay}" /> |
| 211 | + IsOn="{Binding Config.IsEnabledIPCServer, Mode=TwoWay}" /> |
215 | 212 | <TextBlock Text="* 変更後は再起動してください" FontSize="10" />
|
| 213 | + <TextBlock Text="{Binding IPCServerStatus, Mode=OneWay}" FontStyle="Italic" /> |
216 | 214 |
|
217 | 215 | <mah:MetroHeader Header="IPCチャンネル名" Margin="0 15 0 0">
|
218 | 216 | <TextBox
|
219 |
| - Text="{Binding Config.IPCChannelName, Mode=TwoWay}" /> |
| 217 | + Text="{Binding Config.IPCChannelName, Mode=TwoWay}" /> |
220 | 218 | </mah:MetroHeader>
|
221 | 219 | <TextBlock Text="* 通常は変更する必要がありません" FontSize="10" Margin="0 2 0 0" />
|
222 | 220 | <TextBlock Text="* 変更後は再起動してください" FontSize="10" />
|
223 | 221 | </StackPanel>
|
224 |
| - |
225 |
| - <Button |
| 222 | + |
| 223 | + <Button |
226 | 224 | Grid.ColumnSpan="2"
|
227 |
| - Content="テスト" |
| 225 | + Content="テスト" |
228 | 226 | VerticalAlignment="Bottom"
|
229 | 227 | Command="{Binding TestCommand, Mode=OneWay}" />
|
230 | 228 | </Grid>
|
|
0 commit comments