2023-01-10 10:43:32 +00:00
|
|
|
|
<pu:WindowX x:Class="VPet_Simulator.Windows.winGameSetting"
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:local="clr-namespace:VPet_Simulator.Windows"
|
2023-01-24 06:56:16 +00:00
|
|
|
|
xmlns:pu="clr-namespace:Panuon.WPF.UI;assembly=Panuon.WPF.UI"
|
2023-03-13 15:40:04 +00:00
|
|
|
|
xmlns:system="clr-namespace:System;assembly=mscorlib" mc:Ignorable="d" Title="设置"
|
2023-01-10 10:43:32 +00:00
|
|
|
|
Style="{DynamicResource BaseWindowXStyle}" WindowStartupLocation="CenterScreen" Closing="WindowX_Closing"
|
2023-03-13 15:40:04 +00:00
|
|
|
|
Width="500" Height="550" FontSize="16">
|
2023-02-27 12:29:40 +00:00
|
|
|
|
<!--<pu:WindowX.Resources>
|
|
|
|
|
<DataTemplate x:Key="DIYDataTemplate">
|
|
|
|
|
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</pu:WindowX.Resources>-->
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Grid>
|
|
|
|
|
<TabControl Margin="5" BorderThickness="0" pu:TabControlHelper.ItemsHeight="NaN"
|
|
|
|
|
Background="Transparent"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
pu:TabControlHelper.ItemsPadding="10,7" pu:TabControlHelper.ItemsCornerRadius="4"
|
|
|
|
|
pu:TabControlHelper.ItemsHoverBackground="{DynamicResource PrimaryLight}"
|
|
|
|
|
pu:TabControlHelper.ItemsSelectedBackground="{DynamicResource PrimaryDark}"
|
|
|
|
|
pu:TabControlHelper.ItemsSelectedForeground="{DynamicResource DARKPrimaryText}"
|
|
|
|
|
Foreground="{DynamicResource PrimaryText}">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TabControl.ContentTemplate>
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
<Border Margin="5,10,5,20" CornerRadius="15" Background="{DynamicResource DARKPrimaryText}">
|
|
|
|
|
<ContentControl Content="{Binding}" Margin="15,10" />
|
|
|
|
|
</Border>
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
</TabControl.ContentTemplate>
|
|
|
|
|
<TabItem Header="图形" Foreground="{DynamicResource PrimaryText}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
BorderBrush="{DynamicResource PrimaryDarker}">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
<ColumnDefinition Width="15" />
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="*" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<TextBlock Text="置于顶层" VerticalAlignment="Center" />
|
|
|
|
|
<pu:Switch x:Name="TopMostBox" Grid.Column="2" BorderBrush="{DynamicResource PrimaryDark}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
CheckedBackground="{DynamicResource Primary}"
|
2023-01-10 10:43:32 +00:00
|
|
|
|
CheckedBorderBrush="{DynamicResource Primary}" Background="Transparent" BoxWidth="35"
|
|
|
|
|
BoxHeight="18" ToggleSize="14" ToggleShadowColor="{x:Null}"
|
|
|
|
|
ToggleBrush="{DynamicResource PrimaryDark}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
CheckedToggleBrush="{DynamicResource DARKPrimaryText}" Checked="TopMostBox_Checked"
|
|
|
|
|
Unchecked="TopMostBox_Unchecked" ToolTip="将桌宠置于顶层" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock Grid.Row="1" Text="更高缩放" VerticalAlignment="Center" />
|
|
|
|
|
<pu:Switch x:Name="FullScreenBox" Grid.Row="1" Grid.Column="2"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
BorderBrush="{DynamicResource PrimaryDark}"
|
|
|
|
|
CheckedBackground="{DynamicResource Primary}"
|
|
|
|
|
CheckedBorderBrush="{DynamicResource Primary}" Background="Transparent" BoxWidth="35"
|
|
|
|
|
BoxHeight="18" ToggleSize="14" ToggleShadowColor="{x:Null}"
|
|
|
|
|
ToggleBrush="{DynamicResource PrimaryDark}"
|
|
|
|
|
CheckedToggleBrush="{DynamicResource DARKPrimaryText}" Checked="FullScreenBox_Check"
|
|
|
|
|
Unchecked="FullScreenBox_Check" ToolTip="解锁缩放限制" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock Grid.Row="2" Text="缩放等级" VerticalAlignment="Center" />
|
2023-01-23 17:31:16 +00:00
|
|
|
|
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Grid Grid.Column="2" Grid.Row="2">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Slider TickFrequency="0.05" IsSnapToTickEnabled="True" x:Name="ZoomSlider"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Style="{DynamicResource StandardSliderStyle}" VerticalAlignment="Center" Maximum="3"
|
|
|
|
|
SmallChange=".05" Minimum="0.5" LargeChange=".1" Value="1"
|
|
|
|
|
PreviewMouseUp="ZoomSlider_MouseUp" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock Grid.Column="1" Margin="15,0,0,0" VerticalAlignment="Center"
|
|
|
|
|
Text="{Binding ElementName=ZoomSlider,Path=Value,StringFormat=f2}" FontSize="18"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold"
|
|
|
|
|
Background="{x:Null}" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</Grid>
|
|
|
|
|
<TextBlock Grid.Row="3" Text="主题" VerticalAlignment="Center" />
|
|
|
|
|
<ComboBox x:Name="ThemeBox" Grid.Row="3" Grid.Column="2"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
SelectionChanged="ThemeBox_SelectionChanged" IsEnabled="False"
|
2023-03-13 15:40:04 +00:00
|
|
|
|
Style="{DynamicResource StandardComboBoxStyle}" Margin="0,3,0,2" FontSize="16" />
|
2023-01-23 17:31:16 +00:00
|
|
|
|
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock Grid.Row="4" Text="字体" VerticalAlignment="Center" />
|
|
|
|
|
<ComboBox x:Name="FontBox" Grid.Row="4" Grid.Column="2"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
SelectionChanged="FontBox_SelectionChanged" IsEnabled="False"
|
2023-03-13 15:40:04 +00:00
|
|
|
|
Style="{DynamicResource StandardComboBoxStyle}" Margin="0,3,0,2" FontSize="16" />
|
|
|
|
|
<TextBlock Grid.Row="5" Text="开机启动" VerticalAlignment="Center" />
|
|
|
|
|
<Grid Grid.Row="5" Grid.Column="2">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<pu:Switch x:Name="StartUpBox" BorderBrush="{DynamicResource PrimaryDark}"
|
2023-02-17 05:33:46 +00:00
|
|
|
|
CheckedBackground="{DynamicResource Primary}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
CheckedBorderBrush="{DynamicResource Primary}" Background="Transparent"
|
|
|
|
|
BoxWidth="35" BoxHeight="18" ToggleSize="14" ToggleShadowColor="{x:Null}"
|
|
|
|
|
ToggleBrush="{DynamicResource PrimaryDark}" Content="开机启动"
|
2023-02-17 05:33:46 +00:00
|
|
|
|
CheckedToggleBrush="{DynamicResource DARKPrimaryText}" ToolTip="该游戏随着开机启动该程序"
|
|
|
|
|
Checked="StartUpBox_Checked" Unchecked="StartUpBox_Checked" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<pu:Switch x:Name="StartUpSteamBox" BorderBrush="{DynamicResource PrimaryDark}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
CheckedBackground="{DynamicResource Primary}"
|
|
|
|
|
IsEnabled="{Binding ElementName=StartUpBox,Path=IsChecked}"
|
|
|
|
|
CheckedBorderBrush="{DynamicResource Primary}" Background="Transparent"
|
|
|
|
|
BoxWidth="35" BoxHeight="18" ToggleSize="14" ToggleShadowColor="{x:Null}"
|
|
|
|
|
ToggleBrush="{DynamicResource PrimaryDark}" Content="从Steam启动"
|
|
|
|
|
CheckedToggleBrush="{DynamicResource DARKPrimaryText}"
|
2023-02-17 05:33:46 +00:00
|
|
|
|
ToolTip="从Steam启动该游戏, 统计时长不能停" Grid.Column="1" Checked="StartUpSteamBox_Checked"
|
|
|
|
|
Unchecked="StartUpSteamBox_Checked" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</Grid>
|
|
|
|
|
<TextBlock Grid.Row="6" Text="宠物动画" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock x:Name="PetIntor" Grid.Row="7" Text="动画描述动画描述动画描述动画描述动画描述" VerticalAlignment="Top" Grid.Column="2" Margin="0,0,0,5" TextWrapping="WrapWithOverflow" FontSize="14" />
|
|
|
|
|
<ComboBox x:Name="PetBox" Grid.Row="6" Grid.Column="2" ToolTip="加载的宠物动画,重启后生效"
|
|
|
|
|
Style="{DynamicResource StandardComboBoxStyle}" Margin="0,3,0,2" SelectionChanged="PetBox_SelectionChanged" FontSize="16" />
|
|
|
|
|
<Button x:Name="ButtonRestartGraph" Content="重启软件以应用更改" Margin="0,2,0,0" Visibility="Collapsed"
|
2023-02-18 02:46:08 +00:00
|
|
|
|
VerticalAlignment="Bottom" Background="{DynamicResource DARKPrimary}"
|
|
|
|
|
Foreground="{DynamicResource DARKPrimaryText}"
|
|
|
|
|
Click="ButtonRestart_Click" Grid.ColumnSpan="3" Grid.Row="10" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem Header="系统" BorderBrush="{DynamicResource PrimaryDarker}">
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Background="{x:Null}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
TextWrapping="Wrap">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Run FontWeight="Bold" FontSize="18">自动保存频率</Run><LineBreak />
|
2023-01-23 17:31:16 +00:00
|
|
|
|
<Run>在指定时间后自动保存游戏数据,频繁的自动保存可能会导致卡顿</Run>
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</TextBlock>
|
|
|
|
|
<ComboBox x:Name="CBAutoSave" SelectedIndex="3" VerticalAlignment="Top" Margin="10,5,0,0"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
HorizontalAlignment="Left" Style="{DynamicResource StandardComboBoxStyle}" Width="200"
|
2023-03-13 15:40:04 +00:00
|
|
|
|
SelectionChanged="CBAutoSave_SelectionChanged" FontSize="16">
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>-1</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 关闭自动保存
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>5</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 每5分钟一次
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>10</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 每10分钟一次
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>20</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 每20分钟一次
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>30</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 每半小时一次
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>60</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 每小时一次
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
</ComboBox>
|
|
|
|
|
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Background="{x:Null}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
TextWrapping="Wrap" Margin="0,10,0,0">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Run FontWeight="Bold" FontSize="18">操作设置</Run><LineBreak />
|
2023-01-23 17:31:16 +00:00
|
|
|
|
<Run>游戏操作相关设置</Run>
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</TextBlock>
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
<ColumnDefinition Width="15" />
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<TextBlock Grid.Row="0" Text="长按间隔" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Grid.Row="1" Text="桌宠名字" VerticalAlignment="Center" />
|
|
|
|
|
<TextBox x:Name="TextBoxPetName" Grid.Row="1" Grid.Column="2" Style="{DynamicResource StandardTextBoxStyle}" TextChanged="TextBoxPetName_TextChanged" FontSize="16"/>
|
|
|
|
|
<Grid Grid.Column="2" Grid.Row="0"
|
|
|
|
|
ToolTip="数据计算和互动计算时间间隔,间隔越短需要互动的频率可能会增加. 间隔越大越不容易打扰到当前工作">
|
2023-01-10 10:43:32 +00:00
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<ColumnDefinition Width="Auto" />
|
2023-01-10 10:43:32 +00:00
|
|
|
|
</Grid.ColumnDefinitions>
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Slider x:Name="PressLengthSlider" TickFrequency="0.01" IsSnapToTickEnabled="True"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Style="{DynamicResource StandardSliderStyle}" VerticalAlignment="Center"
|
|
|
|
|
Maximum="5" SmallChange=".05" Minimum="0.05" LargeChange="0.1" Value="0.5"
|
|
|
|
|
ValueChanged="PressLengthSlider_ValueChanged" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock Grid.Column="1" Margin="10,0,0,0" VerticalAlignment="Center" Width="60"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Text="{Binding ElementName=PressLengthSlider,Path=Value,StringFormat={}{0:f2} 秒}"
|
2023-03-13 15:40:04 +00:00
|
|
|
|
Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Background="{x:Null}" />
|
2023-01-10 10:43:32 +00:00
|
|
|
|
</Grid>
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</Grid>
|
|
|
|
|
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Background="{x:Null}"
|
2023-03-07 16:50:03 +00:00
|
|
|
|
TextWrapping="Wrap" Margin="0,10,0,0">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Run FontWeight="Bold" FontSize="18">聊天设置</Run><LineBreak />
|
2023-03-07 16:50:03 +00:00
|
|
|
|
<Run>使用ChatGPT进行聊天等相关设置</Run>
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</TextBlock>
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
<ColumnDefinition Width="15" />
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="Auto" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<TextBlock Grid.Row="0" Text="使用模式" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Grid.Row="1" Text="相关功能" VerticalAlignment="Center" />
|
|
|
|
|
<Grid Grid.Column="2">
|
2023-03-07 16:50:03 +00:00
|
|
|
|
<Grid.ColumnDefinitions>
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
2023-03-07 16:50:03 +00:00
|
|
|
|
</Grid.ColumnDefinitions>
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<RadioButton x:Name="RBCGPTUseAPI" Style="{DynamicResource StandardRadioButtonStyle}"
|
2023-03-07 16:50:03 +00:00
|
|
|
|
Content="使用从ChatGPT 申请的的API" ToolTip="需要去OpenAI官网申请"
|
2023-03-13 15:40:04 +00:00
|
|
|
|
GroupName="cgpttype" Grid.Column="1" Checked="CGPType_Checked" />
|
|
|
|
|
<RadioButton x:Name="RBCGPTUseLB" Style="{DynamicResource StandardRadioButtonStyle}"
|
2023-03-07 16:50:03 +00:00
|
|
|
|
Content="使用桌宠开发者 提供的免费API" ToolTip="需遵循相关协议法律法规并有聊天字数限制"
|
2023-03-13 15:40:04 +00:00
|
|
|
|
GroupName="cgpttype" IsChecked="True" Checked="CGPType_Checked" />
|
2023-03-07 16:50:03 +00:00
|
|
|
|
</Grid>
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Button x:Name="BtnCGPTReSet" pu:ButtonHelper.CornerRadius="4" Content="初始化桌宠聊天程序" Margin="4" Grid.Column="2"
|
|
|
|
|
Background="{DynamicResource SecondaryLight}" Padding="1" Grid.Row="1" Click="ChatGPT_Reset_Click" />
|
|
|
|
|
</Grid>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem Header="互动" BorderBrush="{DynamicResource PrimaryDarker}">
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Background="{x:Null}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
TextWrapping="Wrap">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Run FontWeight="Bold" FontSize="18">互动设置</Run><LineBreak />
|
2023-01-23 17:31:16 +00:00
|
|
|
|
<Run>游戏互动相关设置</Run>
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</TextBlock>
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
<ColumnDefinition Width="15" />
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
<RowDefinition Height="35" />
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
<pu:Switch x:Name="sDesktopAlignment" BorderBrush="{DynamicResource PrimaryDark}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Grid.Column="2" CheckedBackground="{DynamicResource Primary}"
|
|
|
|
|
CheckedBorderBrush="{DynamicResource Primary}" Background="Transparent"
|
|
|
|
|
BoxWidth="35" BoxHeight="18" ToggleSize="14" ToggleShadowColor="{x:Null}"
|
|
|
|
|
ToggleBrush="{DynamicResource PrimaryDark}"
|
|
|
|
|
CheckedToggleBrush="{DynamicResource DARKPrimaryText}" Margin="10,0,0,0"
|
|
|
|
|
ToolTip="启用数据计算,桌宠会有状态变化,需要按时投喂等. 如果嫌麻烦可以关掉"
|
|
|
|
|
Checked="sDesktopAlignment_Checked_1" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Grid Grid.Column="2" Grid.Row="3">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<pu:Switch x:Name="MoveEventBox" BorderBrush="{DynamicResource PrimaryDark}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
CheckedBackground="{DynamicResource Primary}" Content="启用桌宠移动"
|
|
|
|
|
CheckedBorderBrush="{DynamicResource Primary}" Background="Transparent"
|
|
|
|
|
BoxWidth="35" BoxHeight="18" ToggleSize="14" ToggleShadowColor="{x:Null}"
|
|
|
|
|
ToggleBrush="{DynamicResource PrimaryDark}" IsChecked="True"
|
|
|
|
|
CheckedToggleBrush="{DynamicResource DARKPrimaryText}" Margin="10,0,0,0"
|
2023-01-24 06:56:16 +00:00
|
|
|
|
ToolTip="启用移动互动,桌宠会在屏幕上乱动,移动互动概率为普通互动的一半. 如果嫌麻烦可以关掉"
|
|
|
|
|
Checked="MoveEventBox_Checked" Unchecked="MoveEventBox_Checked" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<pu:Switch x:Name="SmartMoveEventBox" BorderBrush="{DynamicResource PrimaryDark}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
IsEnabled="{Binding ElementName=MoveEventBox,Path=IsChecked}"
|
|
|
|
|
CheckedBackground="{DynamicResource Primary}" Content="智能移动"
|
|
|
|
|
CheckedBorderBrush="{DynamicResource Primary}" Background="Transparent"
|
|
|
|
|
BoxWidth="35" BoxHeight="18" ToggleSize="14" ToggleShadowColor="{x:Null}"
|
|
|
|
|
ToggleBrush="{DynamicResource PrimaryDark}" Grid.Column="1"
|
|
|
|
|
CheckedToggleBrush="{DynamicResource DARKPrimaryText}" Margin="10,0,0,0"
|
2023-01-24 06:56:16 +00:00
|
|
|
|
ToolTip="当玩家在指定时间未对桌宠进行交互的时候,智能禁用移动功能 将在下次交互时解除"
|
|
|
|
|
Checked="SmartMoveEventBox_Checked" Unchecked="SmartMoveEventBox_Checked" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</Grid>
|
2023-01-23 17:31:16 +00:00
|
|
|
|
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock Grid.Row="0" Text="数据计算" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Grid.Row="3" Text="桌宠移动" VerticalAlignment="Center" />
|
|
|
|
|
<TextBlock Grid.Row="1" Text="计算间隔" VerticalAlignment="Center" />
|
|
|
|
|
<Grid Grid.Column="2" Grid.Row="1"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
ToolTip="数据计算和互动计算时间间隔,间隔越短需要互动的频率可能会增加. 间隔越大越不容易打扰到当前工作">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Slider x:Name="CalSlider" TickFrequency="0.1" IsSnapToTickEnabled="True"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Style="{DynamicResource StandardSliderStyle}" VerticalAlignment="Center"
|
2023-01-24 06:56:16 +00:00
|
|
|
|
Maximum="60" SmallChange=".5" Minimum="5" LargeChange="1" Value="15"
|
|
|
|
|
ValueChanged="CalSlider_ValueChanged" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock Grid.Column="1" Margin="10,0,0,0" VerticalAlignment="Center"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Text="{Binding ElementName=CalSlider,Path=Value,StringFormat={}{0:f1} 秒}"
|
2023-03-13 15:40:04 +00:00
|
|
|
|
Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Background="{x:Null}" Width="60" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</Grid>
|
|
|
|
|
<TextBlock Grid.Row="2" Text="互动周期" VerticalAlignment="Center" />
|
|
|
|
|
<Grid Grid.Column="2" Grid.Row="2" ToolTip="互动周期决定在交互结束后大约经历多少计算间隔后再次进行自主行动">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Slider TickFrequency="1" IsSnapToTickEnabled="True" x:Name="InteractionSlider"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Style="{DynamicResource StandardSliderStyle}" VerticalAlignment="Center"
|
|
|
|
|
Maximum="1000" SmallChange="1" Minimum="30" LargeChange="5" Value="200"
|
|
|
|
|
ValueChanged="InteractionSlider_ValueChanged" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock Grid.Column="1" Margin="10,0,0,0" VerticalAlignment="Center"
|
|
|
|
|
Text="{Binding ElementName=InteractionSlider,Path=Value}" FontSize="18"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold"
|
|
|
|
|
Background="{x:Null}" Width="60" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</Grid>
|
|
|
|
|
<Grid Grid.Row="4" Grid.Column="2" ToolTip="当玩家在指定时间未对桌宠进行交互的时候,智能禁用移动功能 将在下次交互时解除">
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<TextBlock Text="智能移动判断时间间隔" />
|
|
|
|
|
<ComboBox x:Name="CBSmartMove" Style="{DynamicResource StandardComboBoxStyle}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
IsEnabled="{Binding ElementName=SmartMoveEventBox,Path=IsChecked}"
|
2023-01-24 06:56:16 +00:00
|
|
|
|
SelectionChanged="CBSmartMove_SelectionChanged" SelectedIndex="5"
|
|
|
|
|
Grid.Column="1">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>30</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 30 秒
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>60</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 1 分钟
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>120</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 2 分钟
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>300</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 5 分钟
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>600</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 10 分钟
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>1200</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 20 分钟
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>1800</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 30 分钟
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>2400</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 40 分钟
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>3000</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 50 分钟
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>
|
|
|
|
|
<ComboBoxItem.Tag>
|
|
|
|
|
<system:Int32>3600</system:Int32>
|
|
|
|
|
</ComboBoxItem.Tag> 60 分钟
|
|
|
|
|
</ComboBoxItem>
|
|
|
|
|
</ComboBox>
|
2023-01-10 10:43:32 +00:00
|
|
|
|
</Grid>
|
2023-03-13 15:40:04 +00:00
|
|
|
|
|
|
|
|
|
</Grid>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem Header="自定" BorderBrush="{DynamicResource PrimaryDarker}">
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<TextBlock Background="{x:Null}"
|
2023-02-27 12:29:40 +00:00
|
|
|
|
TextWrapping="Wrap">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Run FontWeight="Bold" FontSize="18">自定义链接</Run><LineBreak />
|
2023-02-27 12:29:40 +00:00
|
|
|
|
<Run>在自定栏添加快捷方式/网页/快捷键, 可以便携启动想要的功能</Run><LineBreak/>
|
|
|
|
|
<Run>键盘快捷键编写方法请参考</Run> <Hyperlink Click="sendkey_click">键盘快捷键 通用注解</Hyperlink><LineBreak/>
|
|
|
|
|
<Run>右键进行排序/删除等操作</Run>
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</TextBlock>
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Button pu:ButtonHelper.CornerRadius="4" Content="添加新链接" Margin="4"
|
2023-02-27 12:29:40 +00:00
|
|
|
|
Background="{DynamicResource SecondaryLight}" Padding="1" Click="DIY_ADD_Click" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Button pu:ButtonHelper.CornerRadius="4" Content="保存设置" Margin="4" Grid.Column="1"
|
2023-02-27 12:29:40 +00:00
|
|
|
|
Background="{DynamicResource SecondaryLight}" Padding="1" Click="DIY_Save_Click" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</Grid>
|
|
|
|
|
<StackPanel x:Name="StackDIY" />
|
|
|
|
|
</StackPanel>
|
2023-03-07 16:50:03 +00:00
|
|
|
|
|
2023-02-27 12:29:40 +00:00
|
|
|
|
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem Header="诊断" BorderBrush="{DynamicResource PrimaryDarker}">
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<TextBlock HorizontalAlignment="Left" FontSize="11" VerticalAlignment="Top"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Background="{x:Null}" TextWrapping="Wrap">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Run FontWeight="Bold" FontSize="18">诊断与反馈</Run><LineBreak />
|
2023-01-23 17:31:16 +00:00
|
|
|
|
<Run>选择要发送给 LBGame 的诊断数据,诊断数据用于保护和及时更新 虚拟桌宠模拟器, 解决问题并改进产品.</Run><LineBreak />
|
|
|
|
|
<Run>无论选择哪个选项,游戏都可以安全正常地运行.</Run> <Hyperlink Click="hyper_moreInfo">获取有关这些设置的更多信息</Hyperlink>
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</TextBlock>
|
|
|
|
|
<RadioButton x:Name="RBDiagnosisYES" Style="{DynamicResource StandardRadioButtonStyle}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Content="发送诊断数据: 发送游戏存档, 包括饱腹,状态等各种游戏内 数据. 可能会包括该游戏内存和CPU使用情况"
|
|
|
|
|
HorizontalAlignment="Left" Margin="10,10,10,0" VerticalAlignment="Top"
|
|
|
|
|
GroupName="diagnosis" Checked="RBDiagnosisYES_Checked" IsEnabled="False" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<RadioButton x:Name="RBDiagnosisNO" Style="{DynamicResource StandardRadioButtonStyle}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Content="不发送诊断数据: 适用于启用修改器,修改过游戏数据等不 符合分析数据条件. 或不希望提供游戏数据的玩家"
|
|
|
|
|
HorizontalAlignment="Left" Margin="10,10,10,0" VerticalAlignment="Top"
|
|
|
|
|
GroupName="diagnosis" Checked="RBDiagnosisNO_Checked" IsChecked="True" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,15,0,0"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Background="{x:Null}" TextWrapping="Wrap">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Run FontWeight="Bold" >反馈频率</Run><LineBreak />
|
2023-01-23 17:31:16 +00:00
|
|
|
|
<Run>VOS 应寻求我反馈按以下频率</Run>
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</TextBlock>
|
|
|
|
|
<ComboBox x:Name="CBDiagnosis" SelectedIndex="1" VerticalAlignment="Top" Margin="10,5,0,0"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
HorizontalAlignment="Left" Style="{DynamicResource StandardComboBoxStyle}" Width="200"
|
|
|
|
|
SelectionChanged="CBDiagnosis_SelectionChanged" IsEnabled="False">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<ComboBoxItem>每 五百 周期一次</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>每 一千 周期一次</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>每 两千 周期一次</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>每 五千 周期一次</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>每 一万 周期一次</ComboBoxItem>
|
|
|
|
|
<ComboBoxItem>每 两万 周期一次</ComboBoxItem>
|
|
|
|
|
</ComboBox>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem Header="MOD管理" BorderBrush="{DynamicResource PrimaryDarker}">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="120" />
|
|
|
|
|
<ColumnDefinition Width="15" />
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<ListBox x:Name="ListMod" BorderThickness="0" Background="Transparent"
|
|
|
|
|
Style="{DynamicResource SideMenuListBoxStyle}" VerticalAlignment="Top"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
SelectionChanged="ListMod_SelectionChanged" SelectionMode="Single" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<StackPanel Grid.Column="2">
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="Auto" />
|
|
|
|
|
<ColumnDefinition Width="7" />
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<Image x:Name="ImageMOD" HorizontalAlignment="Right" Height="120" Margin="0,5,0,0"
|
|
|
|
|
VerticalAlignment="Top" Width="120" Stretch="Fill" />
|
|
|
|
|
<StackPanel Grid.Column="2">
|
|
|
|
|
<Label x:Name="LabelModName" Content="Core" HorizontalAlignment="Left"
|
|
|
|
|
Margin="-5,2,0,0" VerticalAlignment="Top" FontWeight="Bold" FontSize="20"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Background="{x:Null}" Foreground="{DynamicResource PrimaryText}" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock Margin="0,0,0,0" TextWrapping="Wrap" >
|
2023-01-23 17:31:16 +00:00
|
|
|
|
<Run Text="模组作者: " /><LineBreak />
|
|
|
|
|
<Run x:Name="runMODAuthor" Text="LorisYounger" />
|
|
|
|
|
<LineBreak /><Run Text="模组版本: " /><Run x:Name="runMODVer" Text="1.0" />
|
|
|
|
|
<LineBreak /><Run Text="游戏版本: " /><Run x:Name="runMODGameVer" Text="1.0" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</TextBlock>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto" Height="60" Margin="0,7,0,0"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
pu:ScrollViewerHelper.ScrollBarThickness="10" HorizontalAlignment="Left"
|
|
|
|
|
VerticalAlignment="Top">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock x:Name="GameInfo" TextWrapping="Wrap" FontSize="14"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Text="这里是MOD的介绍内容,你的介绍就是你的介绍
" VerticalAlignment="Top" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</ScrollViewer>
|
|
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
<ColumnDefinition />
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<StackPanel>
|
|
|
|
|
<Label Content="MOD介绍" HorizontalAlignment="Left" Margin="-5,0,0,0"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
VerticalAlignment="Center" FontSize="18" FontWeight="Bold"
|
|
|
|
|
Background="{x:Null}" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto" Height="140" Margin="0,0,0,0"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
pu:ScrollViewerHelper.ScrollBarThickness="10" HorizontalAlignment="Left"
|
|
|
|
|
VerticalAlignment="Top">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock x:Name="GameHave" FontSize="14" TextWrapping="Wrap"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Text="该mod有许多功能
比如说功能1
比如说功能1
比如说功能1
比如说功能1
比如说功能1"
|
|
|
|
|
HorizontalAlignment="Left" VerticalAlignment="Top" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</ScrollViewer>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<StackPanel Grid.Column="1">
|
|
|
|
|
<Label Content="内容" HorizontalAlignment="Left" Margin="-5,0,0,0"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
VerticalAlignment="Top" FontSize="18" FontWeight="Bold"
|
|
|
|
|
Background="{x:Null}" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock x:Name="ButtonOpenModFolder" Cursor="Hand" HorizontalAlignment="Left"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Margin="0,0,0,0" TextWrapping="Wrap" Text="所在文件夹" VerticalAlignment="Top"
|
2023-03-13 15:40:04 +00:00
|
|
|
|
FontSize="14" Foreground="{DynamicResource DARKPrimaryDarker}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
TextDecorations="Underline" MouseDown="ButtonOpenModFolder_MouseDown" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock x:Name="ButtonEnable" HorizontalAlignment="Left" Margin="0,2,0,0"
|
|
|
|
|
TextWrapping="Wrap" Text="启用该模组" VerticalAlignment="Top" FontSize="14"
|
|
|
|
|
Foreground="{DynamicResource DARKPrimaryDarker}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
TextDecorations="Underline" Cursor="Hand" MouseDown="ButtonEnable_MouseDown" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock x:Name="ButtonDisEnable" HorizontalAlignment="Left" Margin="0,2,0,0"
|
|
|
|
|
TextWrapping="Wrap" Text="停用该模组" VerticalAlignment="Top" FontSize="14"
|
|
|
|
|
Foreground="{DynamicResource DARKPrimaryDarker}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
TextDecorations="Underline" Cursor="Hand"
|
|
|
|
|
MouseDown="ButtonDisEnable_MouseDown" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock x:Name="ButtonPublish" HorizontalAlignment="Left" Margin="0,2,0,0"
|
|
|
|
|
TextWrapping="Wrap" Text="更新至Steam" VerticalAlignment="Top" FontSize="14"
|
|
|
|
|
Foreground="DimGray" TextDecorations="Underline" Cursor="Hand"
|
2023-02-17 11:42:07 +00:00
|
|
|
|
MouseDown="ButtonPublish_MouseDown" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<TextBlock x:Name="ButtonSteam" HorizontalAlignment="Left" Margin="0,2,0,0"
|
|
|
|
|
TextWrapping="Wrap" Text="创意工坊页面" VerticalAlignment="Top" FontSize="14"
|
|
|
|
|
Foreground="DimGray" TextDecorations="Underline" Cursor="Hand"
|
2023-02-17 11:42:07 +00:00
|
|
|
|
MouseDown="ButtonSteam_MouseDown" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<ProgressBar x:Name="ProgressBarUpload" Margin="0,2,0,0" Visibility="Collapsed"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
pu:ProgressBarHelper.CornerRadius="2" VerticalAlignment="Top" Height="30"
|
|
|
|
|
Value="60" Background="{DynamicResource Primary}"
|
|
|
|
|
BorderBrush="{DynamicResource PrimaryDarker}"
|
|
|
|
|
pu:ProgressBarHelper.IsPercentVisible="True"
|
|
|
|
|
Foreground="{DynamicResource DARKPrimary}" BorderThickness="2" />
|
2023-04-01 19:31:28 +00:00
|
|
|
|
<TextBlock x:Name="ButtonSetting" HorizontalAlignment="Left" Margin="0,2,0,0"
|
|
|
|
|
TextWrapping="Wrap" Text="MOD设置" VerticalAlignment="Top" FontSize="14"
|
|
|
|
|
Foreground="DimGray" TextDecorations="Underline" Cursor="Hand" MouseDown="ButtonSetting_MouseDown"
|
|
|
|
|
/>
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Button x:Name="ButtonAllow" Content="启用代码插件" HorizontalAlignment="Left"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
VerticalAlignment="Top" Background="#FFFF2C2C" Foreground="White"
|
2023-03-13 15:40:04 +00:00
|
|
|
|
FontSize="12" ToolTip="启用该模组的代码内容,不能保证系统安全性" Click="ButtonAllow_Click" />
|
|
|
|
|
</StackPanel>
|
|
|
|
|
<Button x:Name="ButtonRestart" Content="重启软件以应用更改" Margin="0,2,0,0"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
VerticalAlignment="Bottom" Background="{DynamicResource DARKPrimary}"
|
|
|
|
|
Visibility="Collapsed" Foreground="{DynamicResource DARKPrimaryText}"
|
|
|
|
|
Click="ButtonRestart_Click" Grid.ColumnSpan="2" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</Grid>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
|
|
|
|
<TabItem Header="关于" BorderBrush="{DynamicResource PrimaryDarker}"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
Foreground="{DynamicResource PrimaryText}">
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Grid>
|
|
|
|
|
<Image x:Name="ImageWHY" Width="64" HorizontalAlignment="Right"
|
|
|
|
|
VerticalAlignment="Center" Height="64" Source="/Res/TopLogo2019.PNG" Margin="0,210,55,0" />
|
|
|
|
|
<TextBlock Margin="0,0,0,0" Text="虚拟主播模拟器 规格" FontSize="20" FontWeight="Bold" />
|
|
|
|
|
<TextBlock Margin="0,130,0,0" FontWeight="Bold">
|
2023-03-10 12:22:16 +00:00
|
|
|
|
<Run>游戏策划</Run><LineBreak />
|
|
|
|
|
<Run>UI&程序</Run><LineBreak />
|
|
|
|
|
<Run>动画绘制</Run><LineBreak />
|
|
|
|
|
<Run>开源项目</Run><LineBreak /><LineBreak /><LineBreak />
|
|
|
|
|
<Run>项目页面</Run><LineBreak />
|
|
|
|
|
<LineBreak /><LineBreak />
|
|
|
|
|
<LineBreak /><Run xml:space="preserve">Power By </Run>
|
|
|
|
|
<Hyperlink TextDecorations="Underline" Foreground="Black" Click="VPET_Click">exLB.net</Hyperlink>
|
|
|
|
|
<Run> </Run>
|
|
|
|
|
<Hyperlink TextDecorations="Underline" Foreground="Black" Click="LB_Click">LBGame</Hyperlink>
|
|
|
|
|
<LineBreak /><LineBreak />
|
|
|
|
|
<Run xml:space="preserve">相关链接 </Run>
|
|
|
|
|
<Hyperlink TextDecorations="Underline"
|
|
|
|
|
Foreground="{DynamicResource DARKPrimaryDarker}"
|
|
|
|
|
Click="VUP_Click" FontWeight="Normal">虚拟主播模拟器</Hyperlink>
|
|
|
|
|
<Hyperlink TextDecorations="Underline" Foreground="{DynamicResource DARKPrimaryDarker}"
|
|
|
|
|
Click="Group_Click" FontWeight="Normal">相关群</Hyperlink>
|
|
|
|
|
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</TextBlock>
|
|
|
|
|
<TextBlock Margin="0,30,0,0" FontWeight="Bold">
|
2022-12-28 10:03:47 +00:00
|
|
|
|
<Run>用户名</Run><LineBreak />
|
|
|
|
|
<Run>版本</Run><LineBreak />
|
|
|
|
|
<Run>激活</Run><LineBreak />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</TextBlock>
|
|
|
|
|
<TextBlock VerticalAlignment="Top" Margin="100,30,0,0" TextWrapping="WrapWithOverflow">
|
2022-12-28 10:03:47 +00:00
|
|
|
|
<Run x:Name="runUserName">杨远洛里斯</Run><LineBreak />
|
|
|
|
|
<Run x:Name="runabVer">v1.0 (100)</Run><LineBreak />
|
|
|
|
|
<Run x:Name="runActivate">已通过Steam[uid]激活服务注册</Run><LineBreak />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</TextBlock>
|
|
|
|
|
<TextBlock Margin="0,100,0,0" Text="制作组名单" FontSize="20" FontWeight="Bold" />
|
|
|
|
|
<TextBlock Margin="100,130,0,0" VerticalAlignment="Top" TextWrapping="WrapWithOverflow">
|
2022-12-28 10:03:47 +00:00
|
|
|
|
<Run>杨远洛里斯, 广大MOD作者</Run><LineBreak />
|
2023-01-23 17:31:16 +00:00
|
|
|
|
<Run>洛里斯杨远, トニーちゃん</Run> <Hyperlink Click="Git_Click">Git贡献名单</Hyperlink><LineBreak />
|
|
|
|
|
<Run>叶书天, 广大MOD作者</Run>
|
2022-12-28 10:03:47 +00:00
|
|
|
|
<LineBreak />
|
|
|
|
|
<Hyperlink>Panuon.WPF.UI</Hyperlink>
|
|
|
|
|
<Hyperlink>LinePutScript</Hyperlink><LineBreak />
|
|
|
|
|
<Hyperlink>Facepunch.Steamworks</Hyperlink>
|
2023-01-23 17:31:16 +00:00
|
|
|
|
<Hyperlink>查看引用名单</Hyperlink><LineBreak /><LineBreak />
|
|
|
|
|
<Hyperlink Click="Steam_Click">访问Steam页面</Hyperlink>
|
|
|
|
|
<Hyperlink Click="Github_Click">访问Github页面</Hyperlink>
|
2022-12-28 10:03:47 +00:00
|
|
|
|
<LineBreak />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
<Run FontStyle="Italic" FontSize="12">由于游戏暂未开发完毕,该名单并非完整名单.将在正式版完成前修改</Run><LineBreak />
|
|
|
|
|
</TextBlock>
|
|
|
|
|
</Grid>
|
|
|
|
|
</TabItem>
|
|
|
|
|
</TabControl>
|
|
|
|
|
<Label x:Name="GameVerison" Content="版本v1.0 (655366666)" HorizontalAlignment="Left"
|
2023-01-23 17:31:16 +00:00
|
|
|
|
VerticalAlignment="Bottom" FontSize="10" Foreground="Green" Background="{x:Null}" />
|
2023-03-13 15:40:04 +00:00
|
|
|
|
</Grid>
|
2023-01-03 04:18:21 +00:00
|
|
|
|
</pu:WindowX>
|