[RF] Move sub-config classes to their own directory

This commit is contained in:
Clansty
2024-10-28 05:56:54 +08:00
parent 0af137ba8c
commit 6945032077
11 changed files with 693 additions and 667 deletions

View File

@@ -0,0 +1,31 @@
using AquaMai.Attributes;
namespace AquaMai.WindowState;
public class Config
{
[ConfigComment(
en: "If not enabled, no operations will be performed on the game window",
zh: "不启用的话,不会对游戏窗口做任何操作")]
public bool Enable { get; set; }
[ConfigComment(
en: "Window the game",
zh: "窗口化游戏")]
public bool Windowed { get; set; }
[ConfigComment(
en: """
Width and height for windowed mode, rendering resolution for fullscreen mode
If set to 0, windowed mode will remember the user-set size, fullscreen mode will use the current display resolution
""",
zh: """
宽度和高度窗口化时为游戏窗口大小,全屏时为渲染分辨率
如果设为 0窗口化将记住用户设定的大小全屏时将使用当前显示器分辨率
""")]
public int Width { get; set; }
[ConfigComment(
zh: "高度")]
public int Height { get; set; }
}