mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
设置支持
This commit is contained in:
parent
675476016d
commit
e73608295c
10
README.md
10
README.md
@ -36,13 +36,13 @@
|
||||
|
||||
### 免费
|
||||
|
||||
该游戏完全免费! 反正不要钱,试试不要紧(
|
||||
该游戏完全免费! 反正不要钱,试试不要紧(<br/>
|
||||
该游戏主要目的是宣传下 [虚拟主播模拟器](https://store.steampowered.com/app/1352140/_/), 游戏中Q版人物为虚拟主播模拟器的主人公.
|
||||
|
||||
### 开源
|
||||
|
||||
该游戏在github上开源, 欢迎提出自己的想法,创意或者参与开发!
|
||||
您还可以修改代码来制作自己专属的桌宠!(虽然说大部分内容都支持创意工坊,不需要修改代码)
|
||||
该游戏在github上开源, 欢迎提出自己的想法,创意或者参与开发!<br/>
|
||||
您还可以修改代码来制作自己专属的桌宠!(虽然说大部分内容都支持创意工坊,不需要修改代码)<br/>
|
||||
项目地址: https://github.com/LorisYounger/VPet
|
||||
|
||||
### 支持创意工坊
|
||||
@ -188,10 +188,10 @@
|
||||
|
||||
## 参与开发
|
||||
|
||||
欢迎参与虚拟桌宠模拟器的开发! 为保证代码可维护度和游戏性,如果想要开发新的功能,请先[邮件联系](mailto:zoujin.dev@exlb.org)我想要添加的功能/玩法, 以确保该功能/玩法适用于虚拟桌宠模拟器. 以免未来提交时因不合适被拒(而造成代码浪费)
|
||||
欢迎参与虚拟桌宠模拟器的开发! 为保证代码可维护度和游戏性,如果想要开发新的功能,请先[邮件联系](mailto:zoujin.dev@exlb.org)我想要添加的功能/玩法, 以确保该功能/玩法适用于虚拟桌宠模拟器. 以免未来提交时因不合适被拒(而造成代码浪费)<br/>
|
||||
如果是修复错误或者BUG,无需联系我,修好后直接PR即可
|
||||
|
||||
当想法通过后,您可以通过 [fork](https://github.com/LorisYounger/VPet/fork) 功能拷贝代码至自己的github以方便编写自己的代码, 编写完毕后通过[pull requests](https://github.com/LorisYounger/VPet/compare) 提交
|
||||
当想法通过后,您可以通过 [fork](https://github.com/LorisYounger/VPet/fork) 功能拷贝代码至自己的github以方便编写自己的代码, 编写完毕后通过[pull requests](https://github.com/LorisYounger/VPet/compare) 提交<br/>
|
||||
如果您想法没有被通过,也可以另起炉灶,写个不同版本功能的桌宠软件. 但需遵守 [Apache License 2.0](https://github.com/LorisYounger/VPet/blob/main/LICENSE) 与 [动画版权声明与授权](https://github.com/LorisYounger/VPet#%E5%8A%A8%E7%94%BB%E7%89%88%E6%9D%83%E5%A3%B0%E6%98%8E%E4%B8%8E%E6%8E%88%E6%9D%83)
|
||||
|
||||
我可能会对您的提交的代码进行修改,删减等以确保该功能/玩法适用于虚拟桌宠模拟器.
|
||||
|
BIN
VPet-Simulator.Windows/Res/TopLogo2018.PNG
Normal file
BIN
VPet-Simulator.Windows/Res/TopLogo2018.PNG
Normal file
Binary file not shown.
After Width: | Height: | Size: 101 KiB |
@ -75,6 +75,9 @@
|
||||
<Prefer32Bit>true</Prefer32Bit>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="LinePutScript, Version=1.5.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\LinePutScript.1.6.1\lib\net48\LinePutScript.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Panuon.WPF, Version=1.0.1.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Panuon.WPF.1.0.1\lib\net48\Panuon.WPF.dll</HintPath>
|
||||
</Reference>
|
||||
@ -101,6 +104,9 @@
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Compile Include="winSetting.xaml.cs">
|
||||
<DependentUpon>winSetting.xaml</DependentUpon>
|
||||
</Compile>
|
||||
<Page Include="MainWindow.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
@ -114,6 +120,10 @@
|
||||
<DependentUpon>MainWindow.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Page Include="winSetting.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
<ItemGroup Condition="'$(Platform)' == 'x86'">
|
||||
<Reference Include="Facepunch.Steamworks.Win32, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
@ -159,6 +169,7 @@
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="Res\TopLogo2018.PNG" />
|
||||
<Content Include="steam_api.dll">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
@ -2,6 +2,7 @@
|
||||
<packages>
|
||||
<package id="Facepunch.Steamworks" version="2.3.3" targetFramework="net48" />
|
||||
<package id="Facepunch.Steamworks.win32" version="2.3.3" targetFramework="net48" />
|
||||
<package id="LinePutScript" version="1.6.1" targetFramework="net48" />
|
||||
<package id="Panuon.WPF" version="1.0.1" targetFramework="net48" />
|
||||
<package id="Panuon.WPF.UI" version="1.1.6.5" targetFramework="net48" />
|
||||
</packages>
|
345
VPet-Simulator.Windows/winSetting.xaml
Normal file
345
VPet-Simulator.Windows/winSetting.xaml
Normal file
@ -0,0 +1,345 @@
|
||||
<Window x:Class="VPet_Simulator.Windows.winSetting"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:local="clr-namespace:VPet_Simulator.Windows"
|
||||
mc:Ignorable="d"
|
||||
xmlns:pu="clr-namespace:Panuon.WPF.UI;assembly=Panuon.WPF.UI" mc:Ignorable="d" Height="420" Width="400">
|
||||
<Grid>
|
||||
<TabControl Margin="5" BorderThickness="0" pu:TabControlHelper.ItemsHeight="NaN"
|
||||
pu:TabControlHelper.ItemsFontSize="14" Background="Transparent" 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}">
|
||||
<TabControl.ContentTemplate>
|
||||
<DataTemplate>
|
||||
<Border Margin="5,10,5,20" CornerRadius="15" Background="{DynamicResource DARKPrimaryText}">
|
||||
<ContentControl Content="{Binding}" Margin="15" />
|
||||
</Border>
|
||||
</DataTemplate>
|
||||
</TabControl.ContentTemplate>
|
||||
<TabItem Header="系统" Foreground="{DynamicResource PrimaryText}"
|
||||
BorderBrush="{DynamicResource PrimaryDarker}">
|
||||
<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="169*" />
|
||||
</Grid.RowDefinitions>
|
||||
<TextBlock Text="自动保存" VerticalAlignment="Center" FontSize="14" />
|
||||
<ComboBox x:Name="ResolutionBox" Grid.Column="2" Style="{DynamicResource StandardComboBoxStyle}"
|
||||
SelectedIndex="0" SelectionChanged="ResolutionBox_SelectionChanged" Margin="0,2,0,3">
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="1280x720" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="1280x800" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="1280x960" />
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="1440x810" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="1440x900" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="1440x1080" />
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="1600x900" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="1600x1000" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="1600x1200" />
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="1680x945" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="1680x1050" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="1680x1260" />
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="1920x1080" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="1920x1200" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="1920x1440" />
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="2048x1152" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="2048x1260" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="2048x1536" />
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="2056x1440" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="2056x1600" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="2056x1920" />
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="3840x2160" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="3840x2400" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="3840x2880" />
|
||||
</ComboBox>
|
||||
<TextBlock Grid.Row="1" Text="互动频率" VerticalAlignment="Center" FontSize="14" />
|
||||
<ComboBox Grid.Row="1" Grid.Column="2" Style="{DynamicResource StandardComboBoxStyle}"
|
||||
SelectedIndex="0" SelectionChanged="ResolutionBox_SelectionChanged" Margin="0,2,0,3">
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="1280x720" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="1280x800" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="1280x960" />
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="1440x810" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="1440x900" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="1440x1080" />
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="1600x900" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="1600x1000" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="1600x1200" />
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="1680x945" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="1680x1050" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="1680x1260" />
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="1920x1080" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="1920x1200" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="1920x1440" />
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="2048x1152" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="2048x1260" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="2048x1536" />
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="2056x1440" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="2056x1600" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="2056x1920" />
|
||||
<!--1.77-->
|
||||
<ComboBoxItem Content="3840x2160" />
|
||||
<!--1.6-->
|
||||
<ComboBoxItem Content="3840x2400" />
|
||||
<!--1.33-->
|
||||
<ComboBoxItem Content="3840x2880" />
|
||||
</ComboBox>
|
||||
|
||||
<TextBlock Grid.Row="2" Text="缩放等级" VerticalAlignment="Center" FontSize="14" />
|
||||
|
||||
<Grid Grid.Column="2" Grid.Row="2">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition Width="Auto" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Slider Thumb.DragCompleted="ZoomSlider_DragCompleted" TickFrequency="1"
|
||||
IsSnapToTickEnabled="True" x:Name="ZoomSlider"
|
||||
Style="{DynamicResource StandardSliderStyle}" VerticalAlignment="Center" Maximum="100"
|
||||
SmallChange="1" PreviewMouseLeftButtonUp="ZoomSlider_MouseLeftButtonUp" Minimum="50"
|
||||
LargeChange="10" Value="75" />
|
||||
<TextBlock Grid.Column="1" Margin="15,0,0,0" VerticalAlignment="Center"
|
||||
Text="{Binding ElementName=ZoomSlider,Path=Value}" FontSize="16"
|
||||
Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold" Background="{x:Null}" />
|
||||
</Grid>
|
||||
<TextBlock Grid.Row="3" Text="主题" VerticalAlignment="Center" FontSize="14" />
|
||||
<ComboBox x:Name="ThemeBox" Grid.Row="3" Grid.Column="2"
|
||||
SelectionChanged="ThemeBox_SelectionChanged" Style="{DynamicResource StandardComboBoxStyle}"
|
||||
Margin="0,3,0,2" />
|
||||
|
||||
<TextBlock Grid.Row="4" Text="字体" VerticalAlignment="Center" FontSize="14" />
|
||||
<ComboBox x:Name="FontBox" Grid.Row="4" Grid.Column="2" SelectionChanged="FontBox_SelectionChanged"
|
||||
Style="{DynamicResource StandardComboBoxStyle}" Margin="0,3,0,2" />
|
||||
|
||||
</Grid>
|
||||
</TabItem>
|
||||
<TabItem Header="诊断" BorderBrush="{DynamicResource PrimaryDarker}">
|
||||
<StackPanel>
|
||||
<TextBlock HorizontalAlignment="Left" FontSize="11" VerticalAlignment="Top" Background="{x:Null}"
|
||||
TextWrapping="Wrap">
|
||||
<Run FontWeight="Bold" FontSize="16">诊断与反馈</Run><LineBreak />
|
||||
<Run>选择要发送给 LBGame 的诊断数据,诊断数据用于保护和及时更新 虚拟桌宠模拟器, 解决问题并改进产品.</Run><LineBreak />
|
||||
<Run>无论选择哪个选项,设备都可以安全正常地运行.</Run> <Hyperlink Click="hyper_moreInfo">获取有关这些设置的更多信息</Hyperlink>
|
||||
</TextBlock>
|
||||
<RadioButton x:Name="RBDiagnosisYES" Style="{DynamicResource StandardRadioButtonStyle}"
|
||||
Content="发送诊断数据: 发送有关该设备的存档, 包括购买的游戏,盈 利,体力,状态等各种系统内数据" HorizontalAlignment="Left"
|
||||
Margin="10,10,10,0" VerticalAlignment="Top" GroupName="diagnosis"
|
||||
Checked="RBDiagnosisYES_Checked" />
|
||||
<RadioButton x:Name="RBDiagnosisNO" Style="{DynamicResource StandardRadioButtonStyle}"
|
||||
Content="不发送诊断数据: 适用于启用修改器,修改过游戏数据等不 符合分析数据条件. 或不希望提供游戏数据的玩家" HorizontalAlignment="Left"
|
||||
Margin="10,10,10,0" VerticalAlignment="Top" GroupName="diagnosis"
|
||||
Checked="RBDiagnosisNO_Checked" />
|
||||
<TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,15,0,0"
|
||||
Background="{x:Null}" TextWrapping="Wrap">
|
||||
<Run FontWeight="Bold" FontSize="14">反馈频率</Run><LineBreak />
|
||||
<Run>虚拟桌宠模拟器 应寻求我反馈按以下频率</Run>
|
||||
</TextBlock>
|
||||
<ComboBox x:Name="CBDiagnosis" SelectedIndex="1" VerticalAlignment="Top" Margin="10,5,0,0"
|
||||
HorizontalAlignment="Left" Style="{DynamicResource StandardComboBoxStyle}" Width="200"
|
||||
SelectionChanged="CBDiagnosis_SelectionChanged">
|
||||
<ComboBoxItem>每周一次</ComboBoxItem>
|
||||
<ComboBoxItem>每2周一次</ComboBoxItem>
|
||||
<ComboBoxItem>每月一次</ComboBoxItem>
|
||||
<ComboBoxItem>每2个月一次</ComboBoxItem>
|
||||
<ComboBoxItem>每3个月一次</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" FontSize="12"
|
||||
SelectionChanged="ListMod_SelectionChanged" SelectionMode="Single" />
|
||||
<StackPanel Grid.Column="2">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="7" />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<Image x:Name="ImageMOD" HorizontalAlignment="Right" Height="85" Margin="0,5,0,0"
|
||||
VerticalAlignment="Top" Width="85" Stretch="Fill" />
|
||||
<StackPanel Grid.Column="2">
|
||||
<Label x:Name="LabelModName" Content="Core" HorizontalAlignment="Left" Margin="-5,2,0,0"
|
||||
VerticalAlignment="Top" FontWeight="Bold" FontSize="18" Background="{x:Null}"
|
||||
Foreground="{DynamicResource PrimaryText}" />
|
||||
<TextBlock Margin="0,0,0,0" TextWrapping="Wrap" FontSize="12">
|
||||
<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" />
|
||||
</TextBlock>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
<ScrollViewer VerticalScrollBarVisibility="Auto" Height="60" Margin="0,7,0,0"
|
||||
pu:ScrollViewerHelper.ScrollBarThickness="10" HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top">
|
||||
<TextBlock x:Name="GameInfo" FontSize="12" TextWrapping="Wrap"
|
||||
Text="这里是MOD的介绍内容,你的介绍就是你的介绍
" VerticalAlignment="Top" />
|
||||
</ScrollViewer>
|
||||
<Grid Height="140">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<StackPanel>
|
||||
<Label Content="MOD介绍" HorizontalAlignment="Left" Margin="-5,0,0,0"
|
||||
VerticalAlignment="Center" FontSize="18" FontWeight="Bold" Background="{x:Null}" />
|
||||
<ScrollViewer VerticalScrollBarVisibility="Auto" Height="140" Margin="0,0,0,0"
|
||||
pu:ScrollViewerHelper.ScrollBarThickness="10" HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top">
|
||||
<TextBlock x:Name="GameHave" FontSize="12" TextWrapping="Wrap"
|
||||
Text="该mod有许多功能
比如说功能1
比如说功能1
比如说功能1
比如说功能1
比如说功能1"
|
||||
HorizontalAlignment="Left" VerticalAlignment="Top" />
|
||||
</ScrollViewer>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Column="1">
|
||||
<Label Content="内容" HorizontalAlignment="Left" Margin="-5,0,0,0" VerticalAlignment="Top"
|
||||
FontSize="18" FontWeight="Bold" Background="{x:Null}" />
|
||||
<TextBlock x:Name="ButtonOpenModFolder" Cursor="Hand" HorizontalAlignment="Left"
|
||||
Margin="0,0,0,0" TextWrapping="Wrap" Text="所在文件夹" VerticalAlignment="Top"
|
||||
FontSize="12" Foreground="{DynamicResource DARKPrimaryDarker}"
|
||||
TextDecorations="Underline" MouseDown="ButtonOpenModFolder_MouseDown" />
|
||||
<TextBlock x:Name="ButtonEnable" HorizontalAlignment="Left" Margin="0,2,0,0"
|
||||
TextWrapping="Wrap" Text="启用该模组" VerticalAlignment="Top" FontSize="12"
|
||||
Width="62" Foreground="{DynamicResource DARKPrimaryDarker}"
|
||||
TextDecorations="Underline" Cursor="Hand" MouseDown="ButtonEnable_MouseDown" />
|
||||
<TextBlock x:Name="ButtonDisEnable" HorizontalAlignment="Left" Margin="0,2,0,0"
|
||||
TextWrapping="Wrap" Text="停用该模组" VerticalAlignment="Top" FontSize="12"
|
||||
Width="62" Foreground="{DynamicResource DARKPrimaryDarker}"
|
||||
TextDecorations="Underline" Cursor="Hand" MouseDown="ButtonDisEnable_MouseDown" />
|
||||
<TextBlock x:Name="ButtonPublish" HorizontalAlignment="Left" Margin="0,2,0,0"
|
||||
TextWrapping="Wrap" Text="更新至Steam" VerticalAlignment="Top" FontSize="12"
|
||||
Width="74" Foreground="DimGray" TextDecorations="Underline" Cursor="Hand"
|
||||
IsEnabled="False" MouseDown="ButtonPublish_MouseDown" />
|
||||
<TextBlock x:Name="ButtonSteam" HorizontalAlignment="Left" Margin="0,2,0,0"
|
||||
TextWrapping="Wrap" Text="创意工坊页面" VerticalAlignment="Top" FontSize="12"
|
||||
Width="72" Foreground="DimGray" TextDecorations="Underline" Cursor="Hand"
|
||||
IsEnabled="False" MouseDown="ButtonSteam_MouseDown" />
|
||||
<ProgressBar x:Name="ProgressBarUpload" Margin="0,2,0,0" Visibility="Collapsed"
|
||||
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" />
|
||||
<Button x:Name="ButtonAllow" Content="启用代码插件" HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top" Background="#FFFF2C2C" Foreground="White" FontSize="10"
|
||||
ToolTip="启用该模组的代码内容,不能保证系统安全性" Click="ButtonAllow_Click" />
|
||||
</StackPanel>
|
||||
<Button x:Name="ButtonRestart" Content="重启软件以应用更改" Margin="0,2,0,0"
|
||||
VerticalAlignment="Bottom" Background="{DynamicResource DARKPrimary}"
|
||||
Visibility="Collapsed" Foreground="{DynamicResource DARKPrimaryText}"
|
||||
Click="ButtonRestart_Click" Grid.ColumnSpan="2" />
|
||||
</Grid>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</TabItem>
|
||||
<TabItem Header="关于" BorderBrush="{DynamicResource PrimaryDarker}"
|
||||
Foreground="{DynamicResource PrimaryText}">
|
||||
<Grid HorizontalAlignment="Left" VerticalAlignment="Top">
|
||||
<TextBlock Margin="0,0,0,0" Text="虚拟桌宠模拟器" FontSize="20" FontWeight="Bold" />
|
||||
<TextBlock Margin="0,30,0,0" FontWeight="Bold">
|
||||
<Run>用户名</Run><LineBreak />
|
||||
<Run>版本</Run><LineBreak />
|
||||
<Run>激活</Run><LineBreak />
|
||||
</TextBlock>
|
||||
<TextBlock VerticalAlignment="Top" Margin="100,30,0,0">
|
||||
<Run x:Name="runUserName">杨远洛里斯</Run><LineBreak />
|
||||
<Run x:Name="runabVer">v1.0 (100)</Run><LineBreak />
|
||||
<Run x:Name="runActivate">已通过Steam[uid]激活服务注册</Run><LineBreak />
|
||||
</TextBlock>
|
||||
<TextBlock Margin="0,100,0,0" Text="制作组名单" FontSize="20" FontWeight="Bold" />
|
||||
<TextBlock Margin="0,130,0,0" FontWeight="Bold">
|
||||
<Run>游戏策划</Run><LineBreak />
|
||||
<Run>UI&程序</Run><LineBreak />
|
||||
<Run>主要美术</Run><LineBreak />
|
||||
<Run>桌宠动画</Run><LineBreak />
|
||||
<Run>开源项目</Run><LineBreak />
|
||||
<LineBreak /><LineBreak />
|
||||
<LineBreak /><Run xml:space="preserve">Power By </Run>
|
||||
<Run TextDecorations="Underline">exLB.net</Run>
|
||||
<Run> </Run>
|
||||
<Run TextDecorations="Underline">LBGame</Run>
|
||||
</TextBlock>
|
||||
<TextBlock Margin="100,130,0,0">
|
||||
<Run>杨远洛里斯</Run><LineBreak />
|
||||
<Run>洛里斯杨远, トニーちゃん</Run><LineBreak />
|
||||
<Run>叶书天</Run><LineBreak />
|
||||
<Run>叶书天, 广大MOD作者</Run><LineBreak />
|
||||
<Hyperlink>Panuon.WPF.UI</Hyperlink>
|
||||
<Hyperlink>LinePutScript</Hyperlink><LineBreak />
|
||||
<Hyperlink>Facepunch.Steamworks</Hyperlink>
|
||||
<Hyperlink>查看引用名单</Hyperlink>
|
||||
<LineBreak />
|
||||
<Run FontStyle="Italic" FontSize="8">由于游戏暂未开发完毕,该名单并非完整名单.将在正式版完成前修改</Run><LineBreak />
|
||||
</TextBlock>
|
||||
<Image Source="Res/TopLogo2018.PNG" Width="38"
|
||||
Margin="99,334,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
||||
</Grid>
|
||||
</TabItem>
|
||||
</TabControl>
|
||||
<Label x:Name="GameVerison" Content="版本v1.0 (655366666)" HorizontalAlignment="Left" Margin="0,398,0,-1"
|
||||
VerticalAlignment="Top" FontSize="10" Foreground="Green" Background="{x:Null}" />
|
||||
</Grid>
|
||||
</Window>
|
27
VPet-Simulator.Windows/winSetting.xaml.cs
Normal file
27
VPet-Simulator.Windows/winSetting.xaml.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace VPet_Simulator.Windows
|
||||
{
|
||||
/// <summary>
|
||||
/// winSetting.xaml 的交互逻辑
|
||||
/// </summary>
|
||||
public partial class winSetting : Window
|
||||
{
|
||||
public winSetting()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user