-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.xaml
60 lines (52 loc) · 2.91 KB
/
App.xaml
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
50
51
52
53
54
55
56
57
58
59
60
<Application x:Class="DeadEye.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:system="clr-namespace:System;assembly=System.Runtime"
SessionEnding="App_OnSessionEnding"
Startup="App_OnStartup" StartupUri="Windows/DummyWindow.xaml"
ShutdownMode="OnExplicitShutdown">
<Application.Resources>
<BooleanToVisibilityConverter x:Key="BoolToVis" />
<system:Boolean x:Key="True">True</system:Boolean>
<system:Boolean x:Key="False">False</system:Boolean>
<SolidColorBrush x:Key="TranslucentBlack" Color="#66000000" />
<SolidColorBrush x:Key="TranslucenterBlack" Color="#33000000" />
<FontFamily x:Key="MonoFont">pack://application:,,,/Fonts/#JetBrains Mono NL</FontFamily>
<DropShadowEffect x:Key="TextShadow" BlurRadius="2" Direction="315" ShadowDepth="1" Opacity="0.6" />
<DropShadowEffect x:Key="BoxShadow" BlurRadius="2" ShadowDepth="0" Opacity="0.6" />
<Style x:Key="BlackOnWhite" TargetType="TextBlock">
<Setter Property="FontFamily" Value="{StaticResource MonoFont}" />
<Setter Property="FontStretch" Value="Normal" />
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="Foreground" Value="Black" />
<Setter Property="Typography.NumeralAlignment" Value="Tabular" />
</Style>
<Style x:Key="WhiteOnBlack" TargetType="TextBlock" BasedOn="{StaticResource BlackOnWhite}">
<Setter Property="Foreground" Value="White" />
<Setter Property="TextAlignment" Value="Right" />
<Setter Property="Effect" Value="{StaticResource TextShadow}" />
</Style>
<DrawingBrush x:Key="CheckerBrush" Viewport="0,0,16,16" ViewportUnits="Absolute" Stretch="None" TileMode="Tile">
<DrawingBrush.Drawing>
<DrawingGroup>
<GeometryDrawing Brush="#E5E5E5">
<GeometryDrawing.Geometry>
<GeometryGroup>
<RectangleGeometry Rect="0,0,8,8" />
<RectangleGeometry Rect="8,8,8,8" />
</GeometryGroup>
</GeometryDrawing.Geometry>
</GeometryDrawing>
<GeometryDrawing Brush="#FFF">
<GeometryDrawing.Geometry>
<GeometryGroup>
<RectangleGeometry Rect="8,0,8,8" />
<RectangleGeometry Rect="0,8,8,8" />
</GeometryGroup>
</GeometryDrawing.Geometry>
</GeometryDrawing>
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
</Application.Resources>
</Application>