123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- <Page
- x:Class="SDLPal.MainPage"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:local="using:SDLPal"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- mc:Ignorable="d">
- <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
- <ScrollViewer HorizontalScrollMode="Disabled">
- <StackPanel VerticalAlignment="Top" Margin="10,0,10,0">
- <TextBox x:Name="tbGamePath" x:Uid="GamePath" TextWrapping="Wrap" VerticalAlignment="Top" Header="游戏资源文件夹" IsReadOnly="True" PlaceholderText="游戏资源文件夹"/>
- <Grid VerticalAlignment="Top">
- <Button x:Name="btnDefaultGame" x:Uid="ButtonRestore" Content="默认文件夹" HorizontalAlignment="Left" VerticalAlignment="Top" Click="btnDefault_Click" />
- <Button x:Name="btnBrowseGame" x:Uid="ButtonBrowse" Content="浏览文件夹" HorizontalAlignment="Right" VerticalAlignment="Top" Click="btnBrowse_Click" />
- </Grid>
- <ToggleSwitch x:Name="tsIsDOS" x:Uid="DOS" Header="游戏资源版本" OffContent="WIN95" OnContent="DOS" Toggled="tsIsDOS_Toggled" />
- <ToggleSwitch x:Name="tsUseEmbedFont" x:Uid="EmbeddedFont" Header="游戏内嵌字体" OffContent="否" OnContent="是" />
- <ToggleSwitch x:Name="tsLanguage" x:Uid="Language" Header="游戏资源语言" OffContent="繁体中文" OnContent="简体中文" />
- <TextBox x:Name="tbMsgFile" x:Uid="MessageFile" Header="自定义语言文件名" TextWrapping="Wrap" VerticalAlignment="Top" PlaceholderText="自定义语言文件名"/>
- <ToggleSwitch x:Name="tsKeepAspect" x:Uid="AspectRatio" Header="保持纵横比" OffContent="否" OnContent="是" />
- <ToggleSwitch x:Name="tsStereo" x:Uid="Stereo" Header="立体声" OffContent="否" OnContent="是" />
- <Slider x:Name="slVolume" x:Uid="Volume" Header="音量" TickPlacement="Inline" TickFrequency="10" />
- <Slider x:Name="slQuality" x:Uid="Quality" Header="音频质量" Maximum="4" LargeChange="1" TickFrequency="1" />
- <ComboBox x:Name="cbSampleRate" x:Uid="Samplerate" Header="音频输出采样率" PlaceholderText="音频输出采样率">
- <ComboBoxItem Content="11025"/>
- <ComboBoxItem Content="22050"/>
- <ComboBoxItem Content="44100"/>
- </ComboBox>
- <ComboBox x:Name="cbAudioBuffer" x:Uid="AudioBuffer" Header="音频缓冲区大小" PlaceholderText="音频缓冲区大小">
- <ComboBoxItem Content="512"/>
- <ComboBoxItem Content="1024"/>
- <ComboBoxItem Content="2048"/>
- <ComboBoxItem Content="4096"/>
- </ComboBox>
- <ComboBox x:Name="cbCD" x:Uid="CD" Header="CD 音轨格式" PlaceholderText="CD 音轨格式">
- <ComboBoxItem Content="MP3"/>
- <ComboBoxItem Content="OGG"/>
- </ComboBox>
- <ComboBox x:Name="cbBGM" x:Uid="BGM" Header="背景音乐格式" PlaceholderText="背景音乐格式" SelectionChanged="cbBGM_SelectionChanged">
- <ComboBoxItem Content="RIX"/>
- <ComboBoxItem Content="MP3"/>
- <ComboBoxItem Content="OGG"/>
- </ComboBox>
- <ComboBox x:Name="cbOPL" x:Uid="OPL" Header="OPL 模拟器" PlaceholderText="OPL 模拟器">
- <ComboBoxItem Content="DOSBOX"/>
- <ComboBoxItem Content="MAME"/>
- </ComboBox>
- <ComboBox x:Name="cbOPLSR" x:Uid="OPLSR" Header="OPL 模拟器采样率" PlaceholderText="OPL 模拟器采样率">
- <ComboBoxItem Content="12429"/>
- <ComboBoxItem Content="24858"/>
- <ComboBoxItem Content="49716"/>
- </ComboBox>
- <ToggleSwitch x:Name="tsSurroundOPL" x:Uid="SurroundOPL" Header="环绕声 OPL" OffContent="否" OnContent="是" />
- <Grid VerticalAlignment="Top">
- <Button x:Name="btnReset" x:Uid="ButtonDefault" Content="默认设置" HorizontalAlignment="Left" Click="btnReset_Click" />
- <Button x:Name="btnFinish" x:Uid="ButtonFinish" Content="完成设置" HorizontalAlignment="Right" Click="btnFinish_Click" />
- </Grid>
- <Border HorizontalAlignment="Stretch" BorderBrush="LightGray" BorderThickness="2" />
- <Grid VerticalAlignment="Top">
- <TextBlock x:Uid="SaveSlot1" Text="进度一" HorizontalAlignment="Left" Margin="0,14" FontSize="24" />
- <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
- <Button x:Name="btnImport1" x:Uid="ButtonImport" Content="导入" Margin="0,0,10,0" Tag="1.rpg" Click="btnImport_Click" />
- <Button x:Name="btnExport1" x:Uid="ButtonExport" Content="导出" Margin="10,0,0,0" Tag="1.rpg" Click="btnExport_Click" />
- </StackPanel>
- </Grid>
- <Grid VerticalAlignment="Top">
- <TextBlock x:Uid="SaveSlot2" Text="进度二" HorizontalAlignment="Left" Margin="0,14" FontSize="24" />
- <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
- <Button x:Name="btnImport2" x:Uid="ButtonImport" Content="导入" Margin="0,0,10,0" Tag="2.rpg" Click="btnImport_Click" />
- <Button x:Name="btnExport2" x:Uid="ButtonExport" Content="导出" Margin="10,0,0,0" Tag="2.rpg" Click="btnExport_Click" />
- </StackPanel>
- </Grid>
- <Grid VerticalAlignment="Top">
- <TextBlock x:Uid="SaveSlot3" Text="进度三" HorizontalAlignment="Left" Margin="0,14" FontSize="24" />
- <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
- <Button x:Name="btnImport3" x:Uid="ButtonImport" Content="导入" Margin="0,0,10,0" Tag="3.rpg" Click="btnImport_Click" />
- <Button x:Name="btnExport3" x:Uid="ButtonExport" Content="导出" Margin="10,0,0,0" Tag="3.rpg" Click="btnExport_Click" />
- </StackPanel>
- </Grid>
- <Grid VerticalAlignment="Top">
- <TextBlock x:Uid="SaveSlot4" Text="进度四" HorizontalAlignment="Left" Margin="0,14" FontSize="24" />
- <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
- <Button x:Name="btnImport4" x:Uid="ButtonImport" Content="导入" Margin="0,0,10,0" Tag="4.rpg" Click="btnImport_Click" />
- <Button x:Name="btnExport4" x:Uid="ButtonExport" Content="导出" Margin="10,0,0,0" Tag="4.rpg" Click="btnExport_Click" />
- </StackPanel>
- </Grid>
- <Grid VerticalAlignment="Top">
- <TextBlock x:Uid="SaveSlot5" Text="进度五" HorizontalAlignment="Left" Margin="0,14" FontSize="24" />
- <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
- <Button x:Name="btnImport5" x:Uid="ButtonImport" Content="导入" Margin="0,0,10,0" Tag="5.rpg" Click="btnImport_Click" />
- <Button x:Name="btnExport5" x:Uid="ButtonExport" Content="导出" Margin="10,0,0,0" Tag="5.rpg" Click="btnExport_Click" />
- </StackPanel>
- </Grid>
- </StackPanel>
- </ScrollViewer>
- </Grid>
- </Page>
|