forked from yysun/Git-Source-Control-Provider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TreeViewColors.cs
49 lines (44 loc) · 1.47 KB
/
TreeViewColors.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
namespace GitScc.PlatformUI
{
using System.Diagnostics;
using Microsoft.VisualStudio.Shell;
public static class TreeViewColors
{
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
public static object SelectedItemActiveBrushKey
{
get
{
return GetResourceKey("SelectedItemActiveBrushKey", VsBrushes.ActiveCaptionKey);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
public static object SelectedItemActiveTextBrushKey
{
get
{
return GetResourceKey("SelectedItemActiveTextBrushKey", VsBrushes.CaptionTextKey);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
public static object SelectedItemInactiveBrushKey
{
get
{
return GetResourceKey("SelectedItemInactiveBrushKey", VsBrushes.InactiveCaptionKey);
}
}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
public static object SelectedItemInactiveTextBrushKey
{
get
{
return GetResourceKey("SelectedItemInactiveTextBrushKey", VsBrushes.InactiveCaptionTextKey);
}
}
private static object GetResourceKey(string resourceName, object defaultKey)
{
return PlatformColorHelper.GetResourceKey(typeof(TreeViewColors), resourceName) ?? defaultKey;
}
}
}