aboutsummaryrefslogtreecommitdiff
path: root/Erable/Views/MainWindow.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/MainWindow.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/MainWindow.axaml.cs')
-rw-r--r--Erable/Views/MainWindow.axaml.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/Erable/Views/MainWindow.axaml.cs b/Erable/Views/MainWindow.axaml.cs
index 78cde38..f849f26 100644
--- a/Erable/Views/MainWindow.axaml.cs
+++ b/Erable/Views/MainWindow.axaml.cs
@@ -21,9 +21,16 @@ namespace Erable.Views
AvaloniaXamlLoader.Load(this);
}
- private void InputElement_OnPointerPressed(object? sender, PointerPressedEventArgs e)
+ private void Exit_OnPointerPressed(object? sender, PointerPressedEventArgs e)
{
Environment.Exit(0);
}
+
+ private void About_OnPointerPressed(object? sender, PointerPressedEventArgs e)
+ {
+ About about = new();
+ about.ShowDialog(this);
+
+ }
}
} \ No newline at end of file