-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
29 lines (27 loc) · 1 KB
/
MainWindow.xaml
File metadata and controls
29 lines (27 loc) · 1 KB
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
<Window x:Class="GlitchGame.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Glitch Rhythm"
Width="800"
Height="600"
WindowStartupLocation="CenterScreen"
Background="Black">
<Window.Resources>
<Style TargetType="Ellipse">
<Setter Property="Stroke" Value="White"/>
<Setter Property="StrokeThickness" Value="2"/>
</Style>
</Window.Resources>
<Canvas x:Name="GameCanvas" Background="Black" MouseDown="GameCanvas_MouseDown">
<TextBlock x:Name="ScoreText"
Foreground="White"
FontSize="20"
Canvas.Left="20"
Canvas.Top="20"/>
<TextBlock x:Name="TimeText"
Foreground="White"
FontSize="16"
Canvas.Left="20"
Canvas.Top="50"/>
</Canvas>
</Window>