feat: add IconFont to InterfaceManager and UiBuilder(based on FontAwesome 5) and a FontAwesomeIcon enum

This commit is contained in:
goat 2020-05-12 19:10:40 +02:00
parent eeab6a7135
commit dd711ed10c
4 changed files with 1457 additions and 6 deletions

View file

@ -16,6 +16,15 @@ namespace Dalamud.Interface
public class UiBuilder : IDisposable {
private readonly string namespaceName;
/// <summary>
/// The default Dalamud font based on Noto Sans CJK Medium in 17pt - supporting all game languages and icons.
/// </summary>
public static ImFontPtr DefaultFont => InterfaceManager.DefaultFont;
/// <summary>
/// The default Dalamud icon font based on FontAwesome 5 Free solid in 20pt.
/// </summary>
public static ImFontPtr IconFont => InterfaceManager.IconFont;
/// <summary>
/// The delegate that gets called when Dalamud is ready to draw your windows or overlays.
/// When it is called, you can use static ImGui calls.