mirror of
https://github.com/stuff-by-3-random-dudes/UWUVCI-AIO-WPF
synced 2024-11-24 20:13:04 +00:00
stuff
This commit is contained in:
parent
d8af9cdd2c
commit
d047e8990c
5 changed files with 19 additions and 5 deletions
|
@ -5,6 +5,7 @@
|
|||
Startup="Application_Startup"
|
||||
>
|
||||
<Application.Resources>
|
||||
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="pack://application:,,,/MaterialDesignThemes.Wpf;component/Themes/MaterialDesignTheme.Light.xaml" />
|
||||
|
@ -13,6 +14,7 @@
|
|||
<ResourceDictionary Source="pack://application:,,,/MaterialDesignColors;component/Themes/Recommended/Accent/MaterialDesignColor.Indigo.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
<local:MainViewModel x:Key="mvm"/>
|
||||
<FontFamily x:Key="NFont">pack://application:,,,/Font/#FOT-RodinNTLG Pro B</FontFamily>
|
||||
</ResourceDictionary>
|
||||
</Application.Resources>
|
||||
</Application>
|
||||
|
|
|
@ -1,6 +1,12 @@
|
|||
using System;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Windows;
|
||||
using System.Windows.Media;
|
||||
using Color = System.Drawing.Color;
|
||||
using FontFamily = System.Drawing.FontFamily;
|
||||
using FontStyle = System.Drawing.FontStyle;
|
||||
using Pen = System.Drawing.Pen;
|
||||
|
||||
namespace UWUVCI_AIO_WPF.Classes
|
||||
{
|
||||
|
@ -95,15 +101,19 @@ namespace UWUVCI_AIO_WPF.Classes
|
|||
privateFonts.AddFontFile(@"bin\Tools\font.otf");
|
||||
if (bf)
|
||||
{
|
||||
font = new Font("Trebuchet MS", 10.0F, FontStyle.Regular, GraphicsUnit.Point);
|
||||
font = new Font("Trebuchet MS", 10.0F, System.Drawing.FontStyle.Bold, GraphicsUnit.Point);
|
||||
}
|
||||
else
|
||||
{
|
||||
font = new Font(privateFonts.Families[0], 10.0F, FontStyle.Regular, GraphicsUnit.Point);
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
SolidBrush brush = new SolidBrush(Color.FromArgb(32, 32, 32));
|
||||
Pen outline = new Pen(Color.FromArgb(222, 222, 222), 4.0F);
|
||||
Pen outline = new Pen(System.Drawing.Color.FromArgb(222, 222, 222), 4.0F);
|
||||
Pen shadow = new Pen(Color.FromArgb(190, 190, 190), 6.0F);
|
||||
StringFormat format = new StringFormat();
|
||||
Rectangle rectangleGBA = new Rectangle(132, 260, 399, 266);
|
||||
|
|
BIN
UWUVCI AIO WPF/Font/font.otf
Normal file
BIN
UWUVCI AIO WPF/Font/font.otf
Normal file
Binary file not shown.
|
@ -40,14 +40,14 @@
|
|||
<Label Content="Release Year:" Grid.Column="1" HorizontalAlignment="Left" Margin="14,165,0,0" VerticalAlignment="Top" Name="ReleaseYearLabel" Visibility="Hidden"/>
|
||||
<RadioButton Content="Enabled" Grid.Column="1" HorizontalAlignment="Left" Margin="100,169,0,0" VerticalAlignment="Top" Foreground="Black" GroupName="rl" Name="RLEn" IsChecked="True" Click="RLEn_Click" Visibility="Hidden"/>
|
||||
<RadioButton Content="Disabled" Grid.Column="1" HorizontalAlignment="Left" Margin="191,169,0,0" VerticalAlignment="Top" Foreground="Black" GroupName="rl" Name="RLDi" Click="RLEn_Click" Visibility="Hidden"/>
|
||||
<TextBox materialDesign:HintAssist.Hint="RELEASE YEAR" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="19,198,17,142" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="12" Grid.Column="1" PreviewTextInput="TextBox_PreviewTextInput" DataObject.Pasting="TextBoxPasting" Name="ReleaseYear" TextChanged="Players_TextChanged" TabIndex="6"/>
|
||||
<TextBox materialDesign:HintAssist.Hint="RELEASE YEAR" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="19,198,17,142" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="12" Grid.Column="1" PreviewTextInput="TextBox_PreviewTextInput" DataObject.Pasting="TextBoxPasting" Name="ReleaseYear" TextChanged="Players_TextChanged" TabIndex="6" MaxLength="4"/>
|
||||
<Button Content="Cancel" Grid.Column="1" HorizontalAlignment="Left" Margin="160,327,0,0" Width="99" Click="Button_Click" Height="32" VerticalAlignment="Top" TabIndex="9"/>
|
||||
<Button Content="Finish" Grid.Column="1" HorizontalAlignment="Left" Margin="19,327,0,0" VerticalAlignment="Top" Width="99" Name="Finish" Click="Finish_Click" TabIndex="8"/>
|
||||
<Border BorderThickness="1.5,1.5,1.5,1.5" BorderBrush="#FF2196F3" HorizontalAlignment="Left" Height="272" VerticalAlignment="Top" Width="484" Margin="14,48,0,0">
|
||||
|
||||
</Border>
|
||||
<TextBox materialDesign:HintAssist.Hint="GAME NAME" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="19,98,17,243" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="12" Grid.Column="1" Name="GameName1" TextChanged="Players_TextChanged" TabIndex="3"/>
|
||||
<TextBox materialDesign:HintAssist.Hint="PLAYERS" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="19,248,17,92" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="12" Grid.Column="1" PreviewTextInput="TextBox_PreviewTextInput" DataObject.Pasting="TextBoxPasting" Name="Players" TextChanged="Players_TextChanged" TabIndex="7"/>
|
||||
<TextBox materialDesign:HintAssist.Hint="PLAYERS" Style="{StaticResource MaterialDesignFloatingHintTextBox}" Margin="19,248,17,92" Background="{x:Null}" Foreground="Black" SelectionBrush="#FF00C3D7" CaretBrush="#FF21C3F3" FontSize="12" Grid.Column="1" PreviewTextInput="TextBox_PreviewTextInput" DataObject.Pasting="TextBoxPasting" Name="Players" TextChanged="Players_TextChanged" TabIndex="7" MaxLength="1"/>
|
||||
<StackPanel HorizontalAlignment="Left" Height="32" Margin="14,327,0,0" VerticalAlignment="Top" Width="481" Orientation="Horizontal" Name="snesonly" Visibility="Hidden">
|
||||
<Label Content="Style:" Width="50" Margin="0,4,0,-4"></Label>
|
||||
|
||||
|
@ -56,6 +56,6 @@
|
|||
<RadioButton Content="Super Famicom" GroupName="snes" Click="RadioButton_Click" Foreground="Black" Margin="0,6,0,-6"/>
|
||||
<ComboBox Margin="0,2" Width="169" Name="combo" SelectionChanged="combo_SelectionChanged" Foreground="Black" Visibility="Hidden" ></ComboBox>
|
||||
</StackPanel>
|
||||
<CheckBox Content="Use ALT font" HorizontalAlignment="Left" Height="100" Margin="416,299,0,-22" VerticalAlignment="Top" Foreground="Black" Click="CheckBox_Click" Name="alt"/>
|
||||
<CheckBox Content="Use ALT font" HorizontalAlignment="Left" Height="18" Margin="407,333,0,0" VerticalAlignment="Top" Foreground="Black" Click="CheckBox_Click" Name="alt"/>
|
||||
</Grid>
|
||||
</Window>
|
||||
|
|
|
@ -354,6 +354,7 @@
|
|||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<Resource Include="Font\font.otf" />
|
||||
<None Include="packages.config" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
|
@ -554,6 +555,7 @@
|
|||
<ItemGroup>
|
||||
<None Include="Resources\WiiIcon.png" />
|
||||
</ItemGroup>
|
||||
<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…
Reference in a new issue