Added the beginning stuff of GBA DarkFilter

This commit is contained in:
ZestyTS 2021-11-02 18:10:31 -07:00
parent cd9228d576
commit 2341a162a2
3 changed files with 20 additions and 0 deletions

View file

@ -59,6 +59,7 @@ namespace UWUVCI_AIO_WPF
public PNGTGA TGATv { get; set; } = new PNGTGA();
public PNGTGA TGALog { get; set; } = new PNGTGA();
public N64Conf N64Stuff { get; set; } = new N64Conf();
public N64Conf GBAStuff { get; set; } = new N64Conf();
}
}

View file

@ -28,6 +28,11 @@
<RadioButton Content="Enabled" Width="78" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Top" GroupName="df" Name="rbREF" Click="RadioButton_Click" IsTabStop="False"/>
<RadioButton x:Name="rbRDF" Width="111" Content="Disabled" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Top" GroupName="df" Click="rbRDF_Click" IsChecked="True" IsTabStop="False"/>
<Label Content="DarkFilter:" HorizontalAlignment="Left" VerticalAlignment="Top" FontSize="14" Width="90"/>
<RadioButton x:Name="rbREF_GBA" Content="Enabled" Width="78" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Top" GroupName="dfgba" IsChecked="True" Click="rbREF_GBA_Click" IsTabStop="False" Checked="RbREF_GBA_Checked"/>
<RadioButton x:Name="rbRDF_GBA" Width="111" Content="Disabled" HorizontalAlignment="Left" Margin="0,5,0,0" VerticalAlignment="Top" GroupName="dfgba" Click="rbRDF_GBA_Click" IsTabStop="False"/>
</StackPanel>
<TextBox materialDesign:HintAssist.Hint="BOOT SOUND (OPTIONAL)" ToolTip="Needs to be a RIFF WAVE file 48000khz and 16bit stereo." x:Name="sound" Text="{Binding BootSound}" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="10,365,157,101" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="18" IsReadOnly="True" Focusable="False" Cursor="Help" TextChanged="sound_TextChanged" IsTabStop="False"/>
<Image HorizontalAlignment="Left" Height="35" Margin="452,191,0,0" VerticalAlignment="Top" Width="38" OpacityMask="LightGray" Name="icoIMG" Source="/UWUVCI AIO WPF;component/UI/Images/newcamera2.png" Cursor="Hand" MouseLeftButtonDown="icoIMG_MouseLeftButtonDown" Visibility="Hidden" />

View file

@ -601,6 +601,20 @@ namespace UWUVCI_AIO_WPF.UI.Frames.InjectFrames.Configurations
}
}
private void rbRDF_GBA_Click(object sender, RoutedEventArgs e)
{
mvm.GameConfiguration.GBAStuff.DarkFilter = true;
}
private void rbREF_GBA_Click(object sender, RoutedEventArgs e)
{
mvm.GameConfiguration.GBAStuff.DarkFilter = false;
}
private void RbREF_GBA_Checked(object sender, RoutedEventArgs e)
{
}
}
}