mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
feat: add IconFont to InterfaceManager and UiBuilder(based on FontAwesome 5) and a FontAwesomeIcon enum
This commit is contained in:
parent
eeab6a7135
commit
dd711ed10c
4 changed files with 1457 additions and 6 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue