diff --git a/.idea/.idea.SessionZero.dir/.idea/.gitignore b/.idea/.idea.SessionZero.dir/.idea/.gitignore deleted file mode 100644 index ddc4c88..0000000 --- a/.idea/.idea.SessionZero.dir/.idea/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Rider ignored files -/.idea.SessionZero.iml -/projectSettingsUpdater.xml -/contentModel.xml -/modules.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/.idea.SessionZero.dir/.idea/indexLayout.xml b/.idea/.idea.SessionZero.dir/.idea/indexLayout.xml deleted file mode 100644 index 7b08163..0000000 --- a/.idea/.idea.SessionZero.dir/.idea/indexLayout.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/.idea.SessionZero.dir/.idea/vcs.xml b/.idea/.idea.SessionZero.dir/.idea/vcs.xml deleted file mode 100644 index 35eb1dd..0000000 --- a/.idea/.idea.SessionZero.dir/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/App.axaml b/App.axaml deleted file mode 100644 index 876450c..0000000 --- a/App.axaml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - \ No newline at end of file diff --git a/App.axaml.cs b/App.axaml.cs deleted file mode 100644 index f27f91a..0000000 --- a/App.axaml.cs +++ /dev/null @@ -1,47 +0,0 @@ -using Avalonia; -using Avalonia.Controls.ApplicationLifetimes; -using Avalonia.Data.Core; -using Avalonia.Data.Core.Plugins; -using System.Linq; -using Avalonia.Markup.Xaml; -using SessionZero.ViewModels; -using SessionZero.Views; - -namespace SessionZero; - -public partial class App : Application -{ - public override void Initialize() - { - AvaloniaXamlLoader.Load(this); - } - - public override void OnFrameworkInitializationCompleted() - { - if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) - { - // Avoid duplicate validations from both Avalonia and the CommunityToolkit. - // More info: https://docs.avaloniaui.net/docs/guides/development-guides/data-validation#manage-validationplugins - DisableAvaloniaDataAnnotationValidation(); - desktop.MainWindow = new MainWindow - { - DataContext = new MainWindowViewModel(), - }; - } - - base.OnFrameworkInitializationCompleted(); - } - - private void DisableAvaloniaDataAnnotationValidation() - { - // Get an array of plugins to remove - var dataValidationPluginsToRemove = - BindingPlugins.DataValidators.OfType().ToArray(); - - // remove each entry found - foreach (var plugin in dataValidationPluginsToRemove) - { - BindingPlugins.DataValidators.Remove(plugin); - } - } -} \ No newline at end of file diff --git a/Assets/avalonia-logo.ico b/Assets/avalonia-logo.ico deleted file mode 100644 index da8d49f..0000000 Binary files a/Assets/avalonia-logo.ico and /dev/null differ diff --git a/Program.cs b/Program.cs deleted file mode 100644 index 3c5e68c..0000000 --- a/Program.cs +++ /dev/null @@ -1,21 +0,0 @@ -using Avalonia; -using System; - -namespace SessionZero; - -sealed class Program -{ - // Initialization code. Don't use any Avalonia, third-party APIs or any - // SynchronizationContext-reliant code before AppMain is called: things aren't initialized - // yet and stuff might break. - [STAThread] - public static void Main(string[] args) => BuildAvaloniaApp() - .StartWithClassicDesktopLifetime(args); - - // Avalonia configuration, don't remove; also used by visual designer. - public static AppBuilder BuildAvaloniaApp() - => AppBuilder.Configure() - .UsePlatformDetect() - .WithInterFont() - .LogToTrace(); -} diff --git a/Requirements and Specifications.md b/Requirements and Specifications.md index d3ffeb6..0442d3d 100644 --- a/Requirements and Specifications.md +++ b/Requirements and Specifications.md @@ -128,6 +128,7 @@ A lightweight, flexible Virtual Tabletop (VTT) application that simplifies virtu - Open API for third-party development - Potential integration with external RPG tools - Modular design to support future expansions + ## 5. User Experience Design ### 5.1 Design Principles diff --git a/SessionZero.csproj b/SessionZero.csproj deleted file mode 100644 index 936eabc..0000000 --- a/SessionZero.csproj +++ /dev/null @@ -1,28 +0,0 @@ - - - WinExe - net9.0 - enable - true - app.manifest - true - - - - - - - - - - - - - - - None - All - - - - diff --git a/ViewLocator.cs b/ViewLocator.cs deleted file mode 100644 index 79a4bb6..0000000 --- a/ViewLocator.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; -using Avalonia.Controls; -using Avalonia.Controls.Templates; -using SessionZero.ViewModels; - -namespace SessionZero; - -public class ViewLocator : IDataTemplate -{ - - public Control? Build(object? param) - { - if (param is null) - return null; - - var name = param.GetType().FullName!.Replace("ViewModel", "View", StringComparison.Ordinal); - var type = Type.GetType(name); - - if (type != null) - { - return (Control)Activator.CreateInstance(type)!; - } - - return new TextBlock { Text = "Not Found: " + name }; - } - - public bool Match(object? data) - { - return data is ViewModelBase; - } -} diff --git a/ViewModels/MainWindowViewModel.cs b/ViewModels/MainWindowViewModel.cs deleted file mode 100644 index a8b6e6f..0000000 --- a/ViewModels/MainWindowViewModel.cs +++ /dev/null @@ -1,6 +0,0 @@ -namespace SessionZero.ViewModels; - -public partial class MainWindowViewModel : ViewModelBase -{ - public string Greeting { get; } = "Welcome to Avalonia!"; -} diff --git a/ViewModels/ViewModelBase.cs b/ViewModels/ViewModelBase.cs deleted file mode 100644 index a5b0f75..0000000 --- a/ViewModels/ViewModelBase.cs +++ /dev/null @@ -1,7 +0,0 @@ -using CommunityToolkit.Mvvm.ComponentModel; - -namespace SessionZero.ViewModels; - -public class ViewModelBase : ObservableObject -{ -} diff --git a/Views/MainWindow.axaml b/Views/MainWindow.axaml deleted file mode 100644 index 2b57de4..0000000 --- a/Views/MainWindow.axaml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - - diff --git a/Views/MainWindow.axaml.cs b/Views/MainWindow.axaml.cs deleted file mode 100644 index 5b07694..0000000 --- a/Views/MainWindow.axaml.cs +++ /dev/null @@ -1,11 +0,0 @@ -using Avalonia.Controls; - -namespace SessionZero.Views; - -public partial class MainWindow : Window -{ - public MainWindow() - { - InitializeComponent(); - } -} \ No newline at end of file diff --git a/app.manifest b/app.manifest deleted file mode 100644 index e8fd010..0000000 --- a/app.manifest +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - -