-
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* opacity 0 to visibility hidden as was still clickable * remove unused variable * rename theme method * remove selector that was having no effect * change variable name - theme instead of colours * file per type * exception handling for ThemeResourceKeyProvider
- Loading branch information
1 parent
df92cef
commit 953e73b
Showing
7 changed files
with
198 additions
and
147 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
SharedProject/Core/ReportGenerator/IThemeResourceKeyProvider.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using Microsoft.VisualStudio.Shell; | ||
|
||
namespace FineCodeCoverage.Engine.ReportGenerator | ||
{ | ||
internal interface IThemeResourceKeyProvider | ||
{ | ||
ThemeResourceKey Provide(string reportPart); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using System.Drawing; | ||
|
||
namespace FineCodeCoverage.Engine.ReportGenerator | ||
{ | ||
internal class ReportColours : IReportColours | ||
{ | ||
public Color BackgroundColour { get; set; } | ||
|
||
public Color ComboBoxBorderColour { get; set; } | ||
|
||
public Color ComboBoxColour { get; set; } | ||
|
||
public Color ComboBoxTextColour { get; set; } | ||
|
||
public Color CoverageTableActiveSortColour { get; set; } | ||
|
||
public Color CoverageTableExpandCollapseIconColour { get; set; } | ||
|
||
public Color CoverageTableHeaderFontColour { get; set; } | ||
|
||
public Color CoverageTableInactiveSortColour { get; set; } | ||
|
||
public Color CoverageTableRowHoverBackgroundColour { get; set; } | ||
|
||
public Color DivHeaderBackgroundColour { get; set; } | ||
|
||
public Color FontColour { get; set; } | ||
|
||
public Color GrayCoverage { get; set; } | ||
|
||
public Color HeaderBorderColour { get; set; } | ||
|
||
public Color HeaderFontColour { get; set; } | ||
|
||
public Color LinkColour { get; set; } | ||
|
||
public Color ScrollBarArrowColour { get; set; } | ||
|
||
public Color ScrollBarThumbColour { get; set; } | ||
|
||
public Color ScrollBarTrackColour { get; set; } | ||
|
||
public Color TabBackgroundColour { get; set; } | ||
|
||
public Color TableBorderColour { get; set; } | ||
|
||
public Color TextBoxBorderColour { get; set; } | ||
|
||
public Color TextBoxColour { get; set; } | ||
|
||
public Color TextBoxTextColour { get; set; } | ||
} | ||
|
||
} |
58 changes: 0 additions & 58 deletions
58
SharedProject/Core/ReportGenerator/ReportColoursProvider.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.