add:自定义点名背景

This commit is contained in:
2025-07-15 20:50:12 +08:00
parent 4f7c1021c8
commit 1ff40c0016
10 changed files with 474 additions and 2 deletions
+22
View File
@@ -440,6 +440,28 @@ namespace Ink_Canvas
public bool ShowRandomAndSingleDraw { get; set; } = true;
[JsonProperty("directCallCiRand")]
public bool DirectCallCiRand { get; set; } = false;
[JsonProperty("selectedBackgroundIndex")]
public int SelectedBackgroundIndex { get; set; } = 0;
[JsonProperty("customPickNameBackgrounds")]
public List<CustomPickNameBackground> CustomPickNameBackgrounds { get; set; } = new List<CustomPickNameBackground>();
}
public class CustomPickNameBackground
{
[JsonProperty("name")]
public string Name { get; set; }
[JsonProperty("filePath")]
public string FilePath { get; set; }
public CustomPickNameBackground(string name, string filePath)
{
Name = name;
FilePath = filePath;
}
// 用于JSON序列化
public CustomPickNameBackground() { }
}
public class CustomFloatingBarIcon