aboutsummaryrefslogtreecommitdiff
path: root/Erable/Views/About.axaml.cs
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-02-09 22:55:40 -0500
committerAndrew Lee <alee14498@protonmail.com>2021-02-09 22:55:40 -0500
commitaefa631ff3f648060f5c0fe5d51aee89e3898a85 (patch)
tree927ffb8f19de6190b20a0180e162e2c8b7f3469e /Erable/Views/About.axaml.cs
parente81e3817c0a4b735da47e6c45529c6f88ed4d52f (diff)
downloaderable-godot-aefa631ff3f648060f5c0fe5d51aee89e3898a85.tar.gz
erable-godot-aefa631ff3f648060f5c0fe5d51aee89e3898a85.tar.bz2
erable-godot-aefa631ff3f648060f5c0fe5d51aee89e3898a85.zip
Discord RPC; About window
Diffstat (limited to 'Erable/Views/About.axaml.cs')
-rw-r--r--Erable/Views/About.axaml.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/Erable/Views/About.axaml.cs b/Erable/Views/About.axaml.cs
new file mode 100644
index 0000000..d3d2846
--- /dev/null
+++ b/Erable/Views/About.axaml.cs
@@ -0,0 +1,30 @@
+using System;
+using Avalonia;
+using Avalonia.Controls;
+using Avalonia.Input;
+using Avalonia.Markup.Xaml;
+
+namespace Erable.Views
+{
+ public class About : Window
+ {
+
+ public About()
+ {
+ InitializeComponent();
+#if DEBUG
+ this.AttachDevTools();
+#endif
+ }
+
+ private void InitializeComponent()
+ {
+ AvaloniaXamlLoader.Load(this);
+ }
+
+ private void InputElement_OnPointerPressed(object? sender, PointerPressedEventArgs e)
+ {
+ Environment.Exit(0);
+ }
+ }
+} \ No newline at end of file