From 8de1fa00aafab0d1c46d2c834ca2cab25aa1e987 Mon Sep 17 00:00:00 2001 From: John Colvin Date: Tue, 27 Aug 2019 11:28:56 -0400 Subject: [PATCH] added GlobalAlertsView/VM --- .../Settings/Global/GlobalAlertsDialog.xaml | 39 +++ .../Global/GlobalAlertsDialog.xaml.cs | 14 + .../Settings/Global/GlobalAlertsView.xaml | 246 ++++++++++++++++++ .../Settings/Global/GlobalAlertsView.xaml.cs | 41 +++ .../Settings/Global/VM/GlobalAlertsVM.cs | 44 ++++ .../Settings/Global/VM/SoundNotificationVM.cs | 28 ++ .../Global/VM/TradeAlertPredicateVM.cs | 39 +++ .../Shell/Settings/Global/VM/TradeAlertVM.cs | 24 ++ .../Shell/Settings/Global/VM/TradeAlertsVM.cs | 41 +++ .../Shell/Settings/Global/VM/TradeSoundsVM.cs | 24 ++ 10 files changed, 540 insertions(+) create mode 100644 src/client/spark/view/Shell/Settings/Global/GlobalAlertsDialog.xaml create mode 100644 src/client/spark/view/Shell/Settings/Global/GlobalAlertsDialog.xaml.cs create mode 100644 src/client/spark/view/Shell/Settings/Global/GlobalAlertsView.xaml create mode 100644 src/client/spark/view/Shell/Settings/Global/GlobalAlertsView.xaml.cs create mode 100644 src/client/spark/view/Shell/Settings/Global/VM/GlobalAlertsVM.cs create mode 100644 src/client/spark/view/Shell/Settings/Global/VM/SoundNotificationVM.cs create mode 100644 src/client/spark/view/Shell/Settings/Global/VM/TradeAlertPredicateVM.cs create mode 100644 src/client/spark/view/Shell/Settings/Global/VM/TradeAlertVM.cs create mode 100644 src/client/spark/view/Shell/Settings/Global/VM/TradeAlertsVM.cs create mode 100644 src/client/spark/view/Shell/Settings/Global/VM/TradeSoundsVM.cs diff --git a/src/client/spark/view/Shell/Settings/Global/GlobalAlertsDialog.xaml b/src/client/spark/view/Shell/Settings/Global/GlobalAlertsDialog.xaml new file mode 100644 index 000000000..0f11993d2 --- /dev/null +++ b/src/client/spark/view/Shell/Settings/Global/GlobalAlertsDialog.xaml @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/client/spark/view/Shell/Settings/Global/GlobalAlertsDialog.xaml.cs b/src/client/spark/view/Shell/Settings/Global/GlobalAlertsDialog.xaml.cs new file mode 100644 index 000000000..103f46713 --- /dev/null +++ b/src/client/spark/view/Shell/Settings/Global/GlobalAlertsDialog.xaml.cs @@ -0,0 +1,14 @@ +using mbts.ui.utility; +using System.Windows; + +namespace mbts.ui.spark { + /// + /// Interaction logic for GlobalAlertsDialog.xaml + /// + partial class GlobalAlertsDialog : Window { + public GlobalAlertsDialog() { + InitializeComponent(); + WindowUtilities.listen_for_close_requests(this); + } + } +} \ No newline at end of file diff --git a/src/client/spark/view/Shell/Settings/Global/GlobalAlertsView.xaml b/src/client/spark/view/Shell/Settings/Global/GlobalAlertsView.xaml new file mode 100644 index 000000000..cf518ce2e --- /dev/null +++ b/src/client/spark/view/Shell/Settings/Global/GlobalAlertsView.xaml @@ -0,0 +1,246 @@ + + + + + + + + 130 + 210 + 100 + 163 + 10,8 + + + + + + + + + + + + + + + + + + + (N/A) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +