Skip to content

Commit

Permalink
Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Sajidur78 committed Dec 19, 2018
1 parent c0a567a commit 7447b17
Show file tree
Hide file tree
Showing 108 changed files with 714 additions and 16,742 deletions.
15 changes: 9 additions & 6 deletions HedgeModManager.sln
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.6
VisualStudioVersion = 15.0.28010.2041
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HedgeModManager", "HedgeModManager\HedgeModManager.csproj", "{9B08E4A9-F5BA-47EA-A6DC-4BEB4165BCF0}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HedgeModManager", "HedgeModManager\HedgeModManager.csproj", "{C3336AA9-8CB9-4756-B27F-4C00D827AB5F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9B08E4A9-F5BA-47EA-A6DC-4BEB4165BCF0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9B08E4A9-F5BA-47EA-A6DC-4BEB4165BCF0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9B08E4A9-F5BA-47EA-A6DC-4BEB4165BCF0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9B08E4A9-F5BA-47EA-A6DC-4BEB4165BCF0}.Release|Any CPU.Build.0 = Release|Any CPU
{C3336AA9-8CB9-4756-B27F-4C00D827AB5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C3336AA9-8CB9-4756-B27F-4C00D827AB5F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C3336AA9-8CB9-4756-B27F-4C00D827AB5F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C3336AA9-8CB9-4756-B27F-4C00D827AB5F}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {870A5800-4496-4A82-9494-C5083296D996}
EndGlobalSection
EndGlobal
23 changes: 0 additions & 23 deletions HedgeModManager/.editorconfig

This file was deleted.

2 changes: 1 addition & 1 deletion HedgeModManager/App.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6" />
</startup>
</configuration>
144 changes: 144 additions & 0 deletions HedgeModManager/App.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
<Application x:Class="HedgeModManager.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:HedgeModManager"
StartupUri="MainWindow.xaml">
<Application.Resources>
<!-- Tabs -->
<Style TargetType="TabControl">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderBrush" Value="#FF3F3F46" />
</Style>
<Style TargetType="TabItem">
<Setter Property="Background" Value="#FF007ACC"/>
<Setter Property="Foreground" Value="#FFFFFFFF"/>
<Setter Property="MinHeight" Value="20px" />
<Setter Property="MinWidth" Value="20px" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="TabItem">
<Border TextBlock.Foreground="#FFFFFFFF"
x:Name="Border"
BorderBrush="Transparent"
BorderThickness="0">
<Border.Background>
<SolidColorBrush Color="Transparent" />
</Border.Background>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualState x:Name="Normal" />
<VisualState x:Name="MouseOver">
<Storyboard>
<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="Border">
<EasingColorKeyFrame KeyTime="0" Value="#FF1C97EA" />
</ColorAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="MouseLeave" />
<VisualState x:Name="Disabled" />
</VisualStateGroup>
<VisualStateGroup x:Name="FocusStates">
<VisualState x:Name="Focused" />
<VisualState x:Name="Unfocused" />
</VisualStateGroup>
<VisualStateGroup x:Name="SelectionStates">
<VisualState x:Name="Selected">
<Storyboard>
<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="Border" >
<EasingColorKeyFrame KeyTime="0" Value="#FF007ACC" />
</ColorAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Unselected" />
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<ContentPresenter Margin="4,2,20,2"
HorizontalAlignment="Left"
VerticalAlignment="Center"
ContentSource="Header" />
</Border>

<ControlTemplate.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter TargetName="Border" Property="Background" Value="#FF007ACC" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Button -->
<Style TargetType="Button">
<Setter Property="SnapsToDevicePixels" Value="true" />
<Setter Property="OverridesDefaultStyle" Value="true" />
<Setter Property="MinHeight" Value="30px" />
<Setter Property="MinWidth" Value="30px" />
<Setter Property="Foreground" Value="#FFFFFFFF" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border TextBlock.Foreground="White"
x:Name="Border"
BorderBrush="#FF3F3F46"
BorderThickness="1,1,1,1"
CornerRadius="8,8,8,8" >
<Border.Background>
<SolidColorBrush Color="#FF3F3F46" />
</Border.Background>
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">
<VisualStateGroup.Transitions>
<VisualTransition GeneratedDuration="0:0:0.1" />
<VisualTransition GeneratedDuration="0" To="Pressed" />
</VisualStateGroup.Transitions>
<VisualState x:Name="Normal" />
<VisualState x:Name="MouseOver">
<Storyboard>
<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)"
Storyboard.TargetName="Border">
<EasingColorKeyFrame KeyTime="0" Value="#FF686868" />
</ColorAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Pressed">
<Storyboard>
<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)"
Storyboard.TargetName="Border">
<EasingColorKeyFrame KeyTime="0" Value="#FFAFABAF" />
</ColorAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
<VisualState x:Name="Disabled" />
<VisualState x:Name="Focus">
<Storyboard>
<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)"
Storyboard.TargetName="Border">
<EasingColorKeyFrame KeyTime="0" Value="#FF333337" />
</ColorAnimationUsingKeyFrames>
<ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)"
Storyboard.TargetName="Border">
<EasingColorKeyFrame KeyTime="0" Value="White" />
</ColorAnimationUsingKeyFrames>
</Storyboard>
</VisualState>
</VisualStateGroup>
</VisualStateManager.VisualStateGroups>
<ContentPresenter Margin="2"
HorizontalAlignment="Center"
VerticalAlignment="Center"
RecognizesAccessKey="True" />
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<!-- Others -->
<Style TargetType="Label">
<Setter Property="Foreground" Value="White"/>
</Style>
<Style TargetType="CheckBox">
<Setter Property="Foreground" Value="White"/>
</Style>

</Application.Resources>
</Application>
17 changes: 17 additions & 0 deletions HedgeModManager/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace HedgeModManager
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
Loading

0 comments on commit 7447b17

Please sign in to comment.