LLib/ImGui/IPersistableWindowConfig.cs

17 lines
357 B
C#
Raw Normal View History

namespace LLib.ImGui;
public interface IPersistableWindowConfig
{
WindowConfig? WindowConfig { get; }
void SaveWindowConfig();
}
2024-12-22 14:54:24 +00:00
public interface IPersistableWindowConfig<out T> : IPersistableWindowConfig
where T : WindowConfig
{
new T? WindowConfig { get; }
WindowConfig? IPersistableWindowConfig.WindowConfig => WindowConfig;
}