mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2025-02-16 10:38:23 +00:00
gc icon thingys
This commit is contained in:
parent
74b6daffe9
commit
f10199aebe
6 changed files with 75 additions and 9 deletions
20
UWUVCI AIO WPF/Properties/Resources.Designer.cs
generated
20
UWUVCI AIO WPF/Properties/Resources.Designer.cs
generated
|
@ -110,6 +110,26 @@ namespace UWUVCI_AIO_WPF.Properties {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap GCN_ICON2 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("GCN_ICON2", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
internal static System.Drawing.Bitmap GCN_ICON3 {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("GCN_ICON3", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
|
@ -133,6 +133,12 @@
|
|||
<data name="GCN" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\GCN.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="GCN_ICON2" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\GCN ICON2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="GCN_ICON3" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\GCN ICON3.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="HBICON" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\HBICON.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
|
BIN
UWUVCI AIO WPF/Resources/GCN ICON2.png
Normal file
BIN
UWUVCI AIO WPF/Resources/GCN ICON2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
BIN
UWUVCI AIO WPF/Resources/GCN ICON3.png
Normal file
BIN
UWUVCI AIO WPF/Resources/GCN ICON3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.9 KiB |
|
@ -53,7 +53,7 @@ namespace UWUVCI_AIO_WPF.UI.Windows
|
|||
|
||||
private void SetTemplate()
|
||||
{
|
||||
if(console == "WII")
|
||||
if(console == "WII" && (FindResource("mvm") as MainViewModel).test != GameConsoles.GCN)
|
||||
{
|
||||
bi.Frame = new Bitmap(Properties.Resources.Wii2);
|
||||
ww.Visibility = Visibility.Visible;
|
||||
|
@ -61,6 +61,18 @@ namespace UWUVCI_AIO_WPF.UI.Windows
|
|||
hb.Visibility = Visibility.Visible;
|
||||
wii.Visibility = Visibility.Visible;
|
||||
}
|
||||
else if ((FindResource("mvm") as MainViewModel).test == GameConsoles.GCN)
|
||||
{
|
||||
bi.Frame = new Bitmap(Properties.Resources.Icon);
|
||||
hb.IsChecked = true;
|
||||
ww.Content = "Alt 2";
|
||||
hb.Content = "Default";
|
||||
wii.Content = "Alt 1";
|
||||
ww.Visibility = Visibility.Visible;
|
||||
ws.Visibility = Visibility.Visible;
|
||||
hb.Visibility = Visibility.Visible;
|
||||
wii.Visibility = Visibility.Visible;
|
||||
}
|
||||
else
|
||||
{
|
||||
bi.Frame = new Bitmap(Properties.Resources.Icon);
|
||||
|
@ -328,18 +340,40 @@ namespace UWUVCI_AIO_WPF.UI.Windows
|
|||
|
||||
private void ww_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if(ww.IsChecked == true)
|
||||
if((FindResource("mvm") as MainViewModel).test != GameConsoles.GCN)
|
||||
{
|
||||
bi.Frame = new Bitmap(Properties.Resources.WiiIcon);
|
||||
if (ww.IsChecked == true)
|
||||
{
|
||||
bi.Frame = new Bitmap(Properties.Resources.WiiIcon);
|
||||
}
|
||||
else if (wii.IsChecked == true)
|
||||
{
|
||||
bi.Frame = new Bitmap(Properties.Resources.Wii2);
|
||||
}
|
||||
else if (hb.IsChecked == true)
|
||||
{
|
||||
bi.Frame = new Bitmap(Properties.Resources.HBICON);
|
||||
}
|
||||
}
|
||||
else if(wii.IsChecked == true)
|
||||
else
|
||||
{
|
||||
bi.Frame = new Bitmap(Properties.Resources.Wii2);
|
||||
}
|
||||
else if(hb.IsChecked == true)
|
||||
{
|
||||
bi.Frame = new Bitmap(Properties.Resources.HBICON);
|
||||
if (ww.IsChecked == true)
|
||||
{
|
||||
bi.Frame = new Bitmap(Properties.Resources.GCN_ICON3);
|
||||
console = "WII";
|
||||
}
|
||||
else if (wii.IsChecked == true)
|
||||
{
|
||||
bi.Frame = new Bitmap(Properties.Resources.GCN_ICON2);
|
||||
console = "WII";
|
||||
}
|
||||
else if (hb.IsChecked == true)
|
||||
{
|
||||
bi.Frame = new Bitmap(Properties.Resources.Icon);
|
||||
console = "other";
|
||||
}
|
||||
}
|
||||
|
||||
DrawImage();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -578,6 +578,12 @@
|
|||
<ItemGroup>
|
||||
<None Include="Resources\HBICON.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\GCN ICON2.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="Resources\GCN ICON3.png" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="..\packages\MaterialDesignThemes.3.0.1\build\MaterialDesignThemes.targets" Condition="Exists('..\packages\MaterialDesignThemes.3.0.1\build\MaterialDesignThemes.targets')" />
|
||||
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
||||
|
|
Loading…
Add table
Reference in a new issue