feat: 初回コミット (GameLauncher)

This commit is contained in:
armonica committed 2026-10-01 09:42:02 +09:00
commit 7ac4dbc825
45 files changed
+9779

No files matched your search

+50
View File
@@ -0,0 +1,50 @@
<Window x:Class="GameLauncher.AddKeyDialog"
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:models="clr-namespace:GameLauncher.Models"
mc:Ignorable="d"
Title="PlayerPrefs 新規キーの追加" Height="280" Width="440"
WindowStartupLocation="CenterOwner" ResizeMode="NoResize"
Background="#1C1C26" Foreground="#E0E0E6"
FontFamily="Segoe UI, Meiryo UI, Yu Gothic UI">
<Grid Margin="20">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!-- キー名 -->
<StackPanel Grid.Row="0" Margin="0,0,0,12">
<TextBlock Text="キー名 (ハッシュは自動付与されます):" FontSize="12" Foreground="#9E9EB4" Margin="0,0,0,4"/>
<TextBox x:Name="txtKeyName" Background="#262636" Foreground="#FFFFFF" BorderBrush="#38384C" BorderThickness="1" Padding="6,4" FontSize="12"/>
</StackPanel>
<!-- データ型 -->
<StackPanel Grid.Row="1" Margin="0,0,0,12">
<TextBlock Text="データ型:" FontSize="12" Foreground="#9E9EB4" Margin="0,0,0,4"/>
<ComboBox x:Name="cmbKeyType" SelectedIndex="0" Background="#262636" Foreground="#FFFFFF" Padding="6,4" FontSize="12">
<ComboBoxItem Content="Int (32ビット整数)" Tag="Int"/>
<ComboBoxItem Content="Float (単精度浮動小数点数)" Tag="Float"/>
<ComboBoxItem Content="String (文字列)" Tag="String"/>
</ComboBox>
</StackPanel>
<!-- 初期値 -->
<StackPanel Grid.Row="2" Margin="0,0,0,16">
<TextBlock Text="値:" FontSize="12" Foreground="#9E9EB4" Margin="0,0,0,4"/>
<TextBox x:Name="txtKeyValue" Text="1" Background="#262636" Foreground="#FFFFFF" BorderBrush="#38384C" BorderThickness="1" Padding="6,4" FontSize="12"/>
</StackPanel>
<!-- ボタン群 -->
<StackPanel Grid.Row="4" Orientation="Horizontal" HorizontalAlignment="Right">
<Button Content="キャンセル" Width="90" Height="30" Margin="0,0,10,0" Background="#2E2E3E" Foreground="#E0E0E6" BorderThickness="1" BorderBrush="#44445A" Click="btnCancel_Click" Cursor="Hand"/>
<Button Content="追加" Width="90" Height="30" Background="#00B894" Foreground="#FFFFFF" BorderThickness="0" FontWeight="Bold" Click="btnOk_Click" Cursor="Hand"/>
</StackPanel>
</Grid>
</Window>