Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into net9-rollup
Browse files Browse the repository at this point in the history
  • Loading branch information
web-flow committed Nov 16, 2024
2 parents e187749 + abcb99d commit 5d716a0
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 3 deletions.
50 changes: 50 additions & 0 deletions Dalamud/Game/Text/SeIconChar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -766,4 +766,54 @@ public enum SeIconChar
/// The Japanese Eorzea time icon unicode character.
/// </summary>
EorzeaTimeJa = 0xE0DB,

/// <summary>
/// The boxed, outlined number 0 icon unicode character.
/// </summary>
BoxedOutlinedNumber0 = 0xE0E0,

/// <summary>
/// The boxed, outlined number 1 icon unicode character.
/// </summary>
BoxedOutlinedNumber1 = 0xE0E1,

/// <summary>
/// The boxed, outlined number 2 icon unicode character.
/// </summary>
BoxedOutlinedNumber2 = 0xE0E2,

/// <summary>
/// The boxed, outlined number 3 icon unicode character.
/// </summary>
BoxedOutlinedNumber3 = 0xE0E3,

/// <summary>
/// The boxed, outlined number 4 icon unicode character.
/// </summary>
BoxedOutlinedNumber4 = 0xE0E4,

/// <summary>
/// The boxed, outlined number 5 icon unicode character.
/// </summary>
BoxedOutlinedNumber5 = 0xE0E5,

/// <summary>
/// The boxed, outlined number 6 icon unicode character.
/// </summary>
BoxedOutlinedNumber6 = 0xE0E6,

/// <summary>
/// The boxed, outlined number 7 icon unicode character.
/// </summary>
BoxedOutlinedNumber7 = 0xE0E7,

/// <summary>
/// The boxed, outlined number 8 icon unicode character.
/// </summary>
BoxedOutlinedNumber8 = 0xE0E8,

/// <summary>
/// The boxed, outlined number 9 icon unicode character.
/// </summary>
BoxedOutlinedNumber9 = 0xE0E9,
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using Dalamud.Game.Text;
using ImGuiNET;

using System.Linq;

namespace Dalamud.Interface.Internal.Windows.Data.Widgets;

/// <summary>
Expand Down Expand Up @@ -28,8 +30,11 @@ public void Draw()
{
var specialChars = string.Empty;

for (var i = 0xE020; i <= 0xE0DB; i++)
specialChars += $"0x{i:X} - {(SeIconChar)i} - {(char)i}\n";
var min = (char)Enum.GetValues<SeIconChar>().Min();
var max = (char)Enum.GetValues<SeIconChar>().Max();

for (var i = min; i <= max; i++)
specialChars += $"0x{(int)i:X} - {(SeIconChar)i} - {i}\n";

ImGui.TextUnformatted(specialChars);
}
Expand Down

0 comments on commit 5d716a0

Please sign in to comment.