diff --git a/Aurora.gtk/Aurora.gtk.csproj b/Aurora.gtk/Aurora.gtk.csproj index 570b39c..ed2848c 100644 --- a/Aurora.gtk/Aurora.gtk.csproj +++ b/Aurora.gtk/Aurora.gtk.csproj @@ -1,5 +1,6 @@ + Debug @@ -110,6 +111,25 @@ ..\packages\LibVLCSharp.Forms.GTK.3.0.0\lib\net47\LibVLCSharp.Forms.Platforms.GTK.dll + + ..\packages\Google.Protobuf.3.8.0\lib\net45\Google.Protobuf.dll + + + ..\packages\System.Interactive.Async.3.2.0\lib\net46\System.Interactive.Async.dll + + + ..\packages\Grpc.Core.Api.1.21.0\lib\net45\Grpc.Core.Api.dll + + + + ..\packages\Grpc.Core.1.21.0\lib\net45\Grpc.Core.dll + + + ..\packages\Xam.Plugins.Settings.3.1.1\lib\net45\Plugin.Settings.Abstractions.dll + + + ..\packages\Xam.Plugins.Settings.3.1.1\lib\net45\Plugin.Settings.dll + @@ -134,6 +154,7 @@ + @@ -463,4 +484,6 @@ + + \ No newline at end of file diff --git a/Aurora.gtk/Helpers/Settings.cs b/Aurora.gtk/Helpers/Settings.cs new file mode 100644 index 0000000..301f469 --- /dev/null +++ b/Aurora.gtk/Helpers/Settings.cs @@ -0,0 +1,44 @@ +/* +// Helpers/Settings.cs This file was automatically added when you installed the Settings Plugin. If you are not using a PCL then comment this file back in to use it. +using Plugin.Settings; +using Plugin.Settings.Abstractions; + +namespace Aurora.gtk.Helpers +{ + /// + /// This is the Settings static class that can be used in your Core solution or in any + /// of your client applications. All settings are laid out the same exact way with getters + /// and setters. + /// + public static class Settings + { + private static ISettings AppSettings + { + get + { + return CrossSettings.Current; + } + } + + #region Setting Constants + + private const string SettingsKey = "settings_key"; + private static readonly string SettingsDefault = string.Empty; + + #endregion + + + public static string GeneralSettings + { + get + { + return AppSettings.GetValueOrDefault(SettingsKey, SettingsDefault); + } + set + { + AppSettings.AddOrUpdateValue(SettingsKey, value); + } + } + + } +}*/ \ No newline at end of file diff --git a/Aurora.gtk/packages.config b/Aurora.gtk/packages.config index 1d268c1..1f0276f 100644 --- a/Aurora.gtk/packages.config +++ b/Aurora.gtk/packages.config @@ -1,5 +1,10 @@  + + + + + @@ -7,6 +12,7 @@ + @@ -14,6 +20,7 @@ + diff --git a/Aurora/App.xaml b/Aurora/App.xaml index f452747..f995cb5 100644 --- a/Aurora/App.xaml +++ b/Aurora/App.xaml @@ -1,26 +1,29 @@ - + - - - - #FFFFFF - #000000 - - - #F5C210 - #151C25 - #1E2634 - #151C25 - #44545C - - - - - + + #FFFFFF + #000000 + #F5C210 + #151C25 + #1E2634 + #151C25 + #44545C + + \ No newline at end of file diff --git a/Aurora/App.xaml.cs b/Aurora/App.xaml.cs index 2faa215..cc5f24c 100644 --- a/Aurora/App.xaml.cs +++ b/Aurora/App.xaml.cs @@ -1,5 +1,5 @@ using System; -using Aurora.Frontend.Views.Main; +using Aurora.Design.Views.Main; using LibVLCSharp.Shared; using Xamarin.Forms; using Xamarin.Forms.Xaml; diff --git a/Aurora/Aurora.csproj b/Aurora/Aurora.csproj index 99cc804..a6be19b 100644 --- a/Aurora/Aurora.csproj +++ b/Aurora/Aurora.csproj @@ -1,45 +1,97 @@ - - - - netstandard2.0 - true - - - - pdbonly - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Player.xaml - - + + + netstandard2.0 + true + + + pdbonly + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Player.xaml + + + + + + + \ No newline at end of file diff --git a/Aurora/Frontend/Behaviors/BehaviorBase.cs b/Aurora/Design/Behaviors/BehaviorBase.cs similarity index 96% rename from Aurora/Frontend/Behaviors/BehaviorBase.cs rename to Aurora/Design/Behaviors/BehaviorBase.cs index b353a54..70993eb 100644 --- a/Aurora/Frontend/Behaviors/BehaviorBase.cs +++ b/Aurora/Design/Behaviors/BehaviorBase.cs @@ -1,7 +1,7 @@ using System; using Xamarin.Forms; -namespace Aurora.Frontend.Behaviors +namespace Aurora.Design.Behaviors { public class BehaviorBase : Behavior where T : BindableObject { diff --git a/Aurora/Frontend/Behaviors/EventToCommandBehavior.cs b/Aurora/Design/Behaviors/EventToCommandBehavior.cs similarity index 99% rename from Aurora/Frontend/Behaviors/EventToCommandBehavior.cs rename to Aurora/Design/Behaviors/EventToCommandBehavior.cs index 329be79..b8c111a 100644 --- a/Aurora/Frontend/Behaviors/EventToCommandBehavior.cs +++ b/Aurora/Design/Behaviors/EventToCommandBehavior.cs @@ -3,7 +3,7 @@ using System.Reflection; using System.Windows.Input; using Xamarin.Forms; -namespace Aurora.Frontend.Behaviors +namespace Aurora.Design.Behaviors { public class EventToCommandBehavior : BehaviorBase { diff --git a/Aurora/Frontend/Components/HorizontalList/HorizontalList.cs b/Aurora/Design/Components/HorizontalList/HorizontalList.cs similarity index 99% rename from Aurora/Frontend/Components/HorizontalList/HorizontalList.cs rename to Aurora/Design/Components/HorizontalList/HorizontalList.cs index 446718f..75e9577 100755 --- a/Aurora/Frontend/Components/HorizontalList/HorizontalList.cs +++ b/Aurora/Design/Components/HorizontalList/HorizontalList.cs @@ -4,7 +4,7 @@ using System.Collections.Generic; using System.Windows.Input; using Xamarin.Forms; -namespace Aurora.Frontend.Components.HorizontalList +namespace Aurora.Design.Components.HorizontalList { public class HorizontalList : Grid { diff --git a/Aurora/Design/Components/HostSelector/HostSelector.xaml b/Aurora/Design/Components/HostSelector/HostSelector.xaml new file mode 100644 index 0000000..dfd13e2 --- /dev/null +++ b/Aurora/Design/Components/HostSelector/HostSelector.xaml @@ -0,0 +1,34 @@ + + + + + + + + +