Skip to content

Commit 2ad1a1e

Browse files
committed
Major update to Winhance application with new features and refactoring
1 parent 8b34c8a commit 2ad1a1e

File tree

127 files changed

+33779
-31472
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

127 files changed

+33779
-31472
lines changed

.config/dotnet-tools.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"csharpier": {
6+
"version": "1.0.1",
7+
"commands": [
8+
"csharpier"
9+
],
10+
"rollForward": false
11+
}
12+
}
13+
}

.gitignore

Lines changed: 230 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,230 @@
1+
# Custom project folders to ignore
2+
extras/
3+
installer-output/
4+
5+
# User-specific files
6+
*.rsuser
7+
*.suo
8+
*.user
9+
*.userosscache
10+
*.sln.docstates
11+
.vs/
12+
13+
# Build results
14+
[Dd]ebug/
15+
[Dd]ebugPublic/
16+
[Rr]elease/
17+
[Rr]eleases/
18+
x64/
19+
x86/
20+
[Ww][Ii][Nn]32/
21+
[Aa][Rr][Mm]/
22+
[Aa][Rr][Mm]64/
23+
bld/
24+
[Bb]in/
25+
[Oo]bj/
26+
[Ll]og/
27+
[Ll]ogs/
28+
29+
# Visual Studio cache/options directory
30+
.vs/
31+
32+
# MSTest test Results
33+
[Tt]est[Rr]esult*/
34+
[Bb]uild[Ll]og.*
35+
36+
# NUnit
37+
*.VisualState.xml
38+
TestResult.xml
39+
nunit-*.xml
40+
41+
# .NET Core
42+
project.lock.json
43+
project.fragment.lock.json
44+
artifacts/
45+
46+
# ASP.NET Scaffolding
47+
ScaffoldingReadMe.txt
48+
49+
# StyleCop
50+
StyleCopReport.xml
51+
52+
# Files built by Visual Studio
53+
*_i.c
54+
*_p.c
55+
*_h.h
56+
*.ilk
57+
*.meta
58+
*.obj
59+
*.iobj
60+
*.pch
61+
*.pdb
62+
*.ipdb
63+
*.pgc
64+
*.pgd
65+
*.rsp
66+
*.sbr
67+
*.tlb
68+
*.tli
69+
*.tlh
70+
*.tmp
71+
*.tmp_proj
72+
*_wpftmp.csproj
73+
*.log
74+
*.vspscc
75+
*.vssscc
76+
.builds
77+
*.pidb
78+
*.svclog
79+
*.scc
80+
81+
# Visual Studio profiler
82+
*.psess
83+
*.vsp
84+
*.vspx
85+
*.sap
86+
87+
# Visual Studio Trace Files
88+
*.e2e
89+
90+
# ReSharper is a .NET coding add-in
91+
_ReSharper*/
92+
*.[Rr]e[Ss]harper
93+
*.DotSettings.user
94+
95+
# TeamCity is a build add-in
96+
_TeamCity*
97+
98+
# DotCover is a Code Coverage Tool
99+
*.dotCover
100+
101+
# NuGet Packages
102+
*.nupkg
103+
*.snupkg
104+
# The packages folder can be ignored because of Package Restore
105+
**/[Pp]ackages/*
106+
# except build/, which is used as an MSBuild target.
107+
!**/[Pp]ackages/build/
108+
# Uncomment if necessary however generally it will be regenerated when needed
109+
#!**/[Pp]ackages/repositories.config
110+
# NuGet v3's project.json files produces more ignorable files
111+
*.nuget.props
112+
*.nuget.targets
113+
114+
# Local History for Visual Studio
115+
.localhistory/
116+
117+
# Visual Studio History (VSHistory) files
118+
.vshistory/
119+
120+
# Backup & report files from converting an old project file
121+
# to a newer Visual Studio version. Backup files are not needed,
122+
# because we have git ;-)
123+
_UpgradeReport_Files/
124+
Backup*/
125+
UpgradeLog*.XML
126+
UpgradeLog*.htm
127+
ServiceFabricBackup/
128+
*.rptproj.bak
129+
130+
# SQL Server files
131+
*.mdf
132+
*.ldf
133+
*.ndf
134+
135+
# Business Intelligence projects
136+
*.rdl.data
137+
*.bim.layout
138+
*.bim_*.settings
139+
*.rptproj.rsuser
140+
*- [Bb]ackup.rdl
141+
*- [Bb]ackup ([0-9]).rdl
142+
*- [Bb]ackup ([0-9][0-9]).rdl
143+
144+
# Microsoft Fakes
145+
FakesAssemblies/
146+
147+
# GhostDoc plugin setting file
148+
*.GhostDoc.xml
149+
150+
# Node.js Tools for Visual Studio
151+
.ntvs_analysis.dat
152+
node_modules/
153+
154+
# Visual Studio 6 build log
155+
*.plg
156+
157+
# Visual Studio 6 workspace options file
158+
*.opt
159+
160+
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
161+
*.vbw
162+
163+
# Visual Studio LightSwitch build output
164+
**/*.HTMLClient/GeneratedArtifacts
165+
**/*.DesktopClient/GeneratedArtifacts
166+
**/*.DesktopClient/ModelManifest.xml
167+
**/*.Server/GeneratedArtifacts
168+
**/*.Server/ModelManifest.xml
169+
_Pvt_Extensions
170+
171+
# Paket dependency manager
172+
.paket/paket.exe
173+
paket-files/
174+
175+
# FAKE - F# Make
176+
.fake/
177+
178+
# JetBrains Rider
179+
.idea/
180+
*.sln.iml
181+
182+
# CodeRush personal settings
183+
.cr/personal
184+
185+
# Cake - Uncomment if you are using it
186+
# tools/**
187+
# !tools/packages.config
188+
189+
# Tabs Studio
190+
*.tss
191+
192+
# Telerik's JustMock configuration file
193+
*.jmconfig
194+
195+
# BizTalk build output
196+
*.btp.cs
197+
*.btm.cs
198+
*.odx.cs
199+
*.xsd.cs
200+
201+
# OpenCover UI analysis results
202+
OpenCover/
203+
204+
# Azure Stream Analytics local run output
205+
ASALocalRun/
206+
207+
# MSBuild Binary and Structured Log
208+
*.binlog
209+
210+
# Local .NET CLI configuration files
211+
.globalconfig
212+
213+
# Windows image file caches
214+
Thumbs.db
215+
ehthumbs.db
216+
217+
# Folder config file
218+
Desktop.ini
219+
220+
# Recycle Bin used on file shares
221+
$RECYCLE.BIN/
222+
223+
# Windows Installer files
224+
*.cab
225+
*.msi
226+
*.msm
227+
*.msp
228+
229+
# Windows shortcuts
230+
*.lnk

Winhance.sln

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
Microsoft Visual Studio Solution File, Format Version 12.00
2+
# Visual Studio Version 17
3+
VisualStudioVersion = 17.5.2.0
4+
MinimumVisualStudioVersion = 10.0.40219.1
5+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}"
6+
EndProject
7+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Winhance.Core", "src\Winhance.Core\Winhance.Core.csproj", "{435BD57D-C7D2-BB8F-1732-C2BD8A5319C7}"
8+
EndProject
9+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Winhance.Infrastructure", "src\Winhance.Infrastructure\Winhance.Infrastructure.csproj", "{605AD60B-7A44-6C1B-E19E-C5593C889B64}"
10+
EndProject
11+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Winhance.WPF", "src\Winhance.WPF\Winhance.WPF.csproj", "{BF6B3923-2098-84CD-BAAE-2A38AF02FB24}"
12+
EndProject
13+
Global
14+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
15+
Debug|Any CPU = Debug|Any CPU
16+
Release|Any CPU = Release|Any CPU
17+
EndGlobalSection
18+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
19+
{435BD57D-C7D2-BB8F-1732-C2BD8A5319C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
20+
{435BD57D-C7D2-BB8F-1732-C2BD8A5319C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
21+
{435BD57D-C7D2-BB8F-1732-C2BD8A5319C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
22+
{435BD57D-C7D2-BB8F-1732-C2BD8A5319C7}.Release|Any CPU.Build.0 = Release|Any CPU
23+
{605AD60B-7A44-6C1B-E19E-C5593C889B64}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
24+
{605AD60B-7A44-6C1B-E19E-C5593C889B64}.Debug|Any CPU.Build.0 = Debug|Any CPU
25+
{605AD60B-7A44-6C1B-E19E-C5593C889B64}.Release|Any CPU.ActiveCfg = Release|Any CPU
26+
{605AD60B-7A44-6C1B-E19E-C5593C889B64}.Release|Any CPU.Build.0 = Release|Any CPU
27+
{BF6B3923-2098-84CD-BAAE-2A38AF02FB24}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
28+
{BF6B3923-2098-84CD-BAAE-2A38AF02FB24}.Debug|Any CPU.Build.0 = Debug|Any CPU
29+
{BF6B3923-2098-84CD-BAAE-2A38AF02FB24}.Release|Any CPU.ActiveCfg = Release|Any CPU
30+
{BF6B3923-2098-84CD-BAAE-2A38AF02FB24}.Release|Any CPU.Build.0 = Release|Any CPU
31+
EndGlobalSection
32+
GlobalSection(SolutionProperties) = preSolution
33+
HideSolutionNode = FALSE
34+
EndGlobalSection
35+
GlobalSection(NestedProjects) = preSolution
36+
{435BD57D-C7D2-BB8F-1732-C2BD8A5319C7} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
37+
{605AD60B-7A44-6C1B-E19E-C5593C889B64} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
38+
{BF6B3923-2098-84CD-BAAE-2A38AF02FB24} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
39+
EndGlobalSection
40+
GlobalSection(ExtensibilityGlobals) = postSolution
41+
SolutionGuid = {3ADFA064-2AE8-4C1F-AAC1-8C1CD523119C}
42+
EndGlobalSection
43+
EndGlobal
Lines changed: 44 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,45 @@
1-
using System;
2-
3-
namespace Winhance.Core.Features.Common.Enums
4-
{
5-
/// <summary>
6-
/// Defines the type of control to use for a setting.
7-
/// </summary>
8-
public enum ControlType
9-
{
10-
/// <summary>
11-
/// A binary toggle (on/off) control.
12-
/// </summary>
13-
BinaryToggle,
14-
15-
/// <summary>
16-
/// A three-state slider control.
17-
/// </summary>
18-
ThreeStateSlider,
19-
20-
/// <summary>
21-
/// A combo box control for selecting from a list of options.
22-
/// </summary>
23-
ComboBox,
24-
25-
/// <summary>
26-
/// A custom control.
27-
/// </summary>
28-
Custom
29-
}
1+
using System;
2+
3+
namespace Winhance.Core.Features.Common.Enums
4+
{
5+
/// <summary>
6+
/// Defines the type of control to use for a setting.
7+
/// </summary>
8+
public enum ControlType
9+
{
10+
/// <summary>
11+
/// A binary toggle (on/off) control.
12+
/// </summary>
13+
BinaryToggle,
14+
15+
/// <summary>
16+
/// A three-state slider control.
17+
/// </summary>
18+
ThreeStateSlider,
19+
20+
/// <summary>
21+
/// A combo box control for selecting from a list of options.
22+
/// </summary>
23+
ComboBox,
24+
25+
/// <summary>
26+
/// A custom control.
27+
/// </summary>
28+
Custom,
29+
30+
/// <summary>
31+
/// A slider control.
32+
/// </summary>
33+
Slider,
34+
35+
/// <summary>
36+
/// A dropdown control.
37+
/// </summary>
38+
Dropdown,
39+
40+
/// <summary>
41+
/// A color picker control.
42+
/// </summary>
43+
ColorPicker
44+
}
3045
}

0 commit comments

Comments
 (0)