switch to ImTool

This commit is contained in:
4sval
2022-09-03 13:03:21 +02:00
parent ac124e8f08
commit eabf6d9bcf
11 changed files with 774 additions and 105 deletions

View File

@@ -0,0 +1,16 @@
using System;
namespace FModel.Framework;
public readonly struct ImGuiFontConfig
{
public ImGuiFontConfig(string fontPath, int fontSize)
{
if (fontSize <= 0) throw new ArgumentOutOfRangeException(nameof(fontSize));
FontPath = fontPath ?? throw new ArgumentNullException(nameof(fontPath));
FontSize = fontSize;
}
public string FontPath { get; }
public int FontSize { get; }
}