style editor setup WIP

This commit is contained in:
goat 2021-09-18 18:23:10 +02:00
parent e29a312c52
commit 5fdf07aead
No known key found for this signature in database
GPG key ID: F18F057873895461
7 changed files with 572 additions and 29 deletions

View file

@ -1,8 +1,8 @@
using System;
using System.Collections.Generic;
using System.IO;
using Dalamud.Game.Text;
using Dalamud.Interface.Internal.Windows.StyleEditor;
using Newtonsoft.Json;
using Serilog;
using Serilog.Events;
@ -195,6 +195,16 @@ namespace Dalamud.Configuration.Internal
/// </summary>
public bool PluginSafeMode { get; set; }
/// <summary>
/// Gets or sets a list of saved styles.
/// </summary>
public List<StyleModel>? SavedStyles { get; set; }
/// <summary>
/// Gets or sets the name of the currently chosen style.
/// </summary>
public string ChosenStyle { get; set; } = "Dalamud Standard";
/// <summary>
/// Load a configuration from the provided path.
/// </summary>