mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-30 12:23:39 +01:00
Move UtfEnumerator from Dalamud to Lumina (#2111)
* Move UtfEnumerator from Dalamud to Lumina Comes with some trivial cleanups. * Update Lumina to 5.5.0
This commit is contained in:
parent
6d664cc606
commit
d19b7d70d5
10 changed files with 63 additions and 1103 deletions
|
|
@ -1,4 +1,3 @@
|
|||
using System.Linq;
|
||||
using System.Numerics;
|
||||
using System.Text;
|
||||
|
||||
|
|
@ -34,7 +33,7 @@ internal unsafe class SeStringRendererTestWidget : IDataWindowWidget
|
|||
private static readonly string[] ThemeNames = ["Dark", "Light", "Classic FF", "Clear Blue"];
|
||||
private ImVectorWrapper<byte> testStringBuffer;
|
||||
private string testString = string.Empty;
|
||||
private ExcelSheet<Addon> addons;
|
||||
private ExcelSheet<Addon> addons = null!;
|
||||
private ReadOnlySeString? logkind;
|
||||
private SeStringDrawParams style;
|
||||
private bool interactable;
|
||||
|
|
@ -241,8 +240,9 @@ internal unsafe class SeStringRendererTestWidget : IDataWindowWidget
|
|||
|
||||
if (ImGui.Button("Print to Chat Log"))
|
||||
{
|
||||
fixed (byte* p = Service<SeStringRenderer>.Get().CompileAndCache(this.testString).Data.Span)
|
||||
Service<ChatGui>.Get().Print(Game.Text.SeStringHandling.SeString.Parse(p));
|
||||
Service<ChatGui>.Get().Print(
|
||||
Game.Text.SeStringHandling.SeString.Parse(
|
||||
Service<SeStringRenderer>.Get().CompileAndCache(this.testString).Data.Span));
|
||||
}
|
||||
|
||||
ImGuiHelpers.ScaledDummy(3);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue