mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +01:00
feat: add FontAwesome to font debug
This commit is contained in:
parent
6a539ee46c
commit
5c0c3c9a0a
1 changed files with 9 additions and 0 deletions
|
|
@ -153,6 +153,15 @@ namespace Dalamud.Interface
|
|||
}
|
||||
|
||||
ImGui.TextUnformatted(specialChars);
|
||||
|
||||
foreach (var fontAwesomeIcon in Enum.GetValues(typeof(FontAwesomeIcon)).Cast<FontAwesomeIcon>()) {
|
||||
ImGui.Text(((int) fontAwesomeIcon.ToIconChar()).ToString("X") + " - ");
|
||||
ImGui.SameLine();
|
||||
|
||||
ImGui.PushFont(InterfaceManager.IconFont);
|
||||
ImGui.Text(fontAwesomeIcon.ToIconString());
|
||||
ImGui.PopFont();
|
||||
}
|
||||
break;
|
||||
|
||||
// Party
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue