mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-15 21:24:16 +01:00
feat: add font test to dalamud data
This commit is contained in:
parent
ae879ab14e
commit
6a779fa166
1 changed files with 7 additions and 2 deletions
|
|
@ -15,6 +15,8 @@ namespace Dalamud.Interface
|
|||
|
||||
private int currentKind;
|
||||
|
||||
private const string FontTestString = "E000E010\nE020E030\nE040E050\nE060E070\nE080E090\nE0A0E0B0\nE0C0E0D0\nE0E0E0F0\nE100E110\nE120E130\nE140E150\nE160E170\nE180E190\nE1A0E1B0\nE1C0E1D0\nE1E0E1F0\nE200E210\nE220E230\nE240E250\nE260E270\nE280E290\nE2A0E2B0\nE2C0E2D0\nE2E0E2F0\nE300E310\nE320E330\nE340E350\nE360E370\nE380E390\nE3A0E3B0\nE3C0E3D0\nE3E0E3F0\nE400";
|
||||
|
||||
public DalamudDataWindow(Dalamud dalamud) {
|
||||
this.dalamud = dalamud;
|
||||
|
||||
|
|
@ -45,8 +47,8 @@ namespace Dalamud.Interface
|
|||
ImGui.SameLine();
|
||||
var copy = ImGui.Button("Copy all");
|
||||
ImGui.SameLine();
|
||||
ImGui.Combo("Data kind", ref this.currentKind, new[] {"ServerOpCode", "ContentFinderCondition", "State"},
|
||||
3);
|
||||
ImGui.Combo("Data kind", ref this.currentKind, new[] {"ServerOpCode", "ContentFinderCondition", "State", "Font Test"},
|
||||
4);
|
||||
|
||||
ImGui.BeginChild("scrolling", new Vector2(0, 0), false, ImGuiWindowFlags.HorizontalScrollbar);
|
||||
|
||||
|
|
@ -105,6 +107,9 @@ namespace Dalamud.Interface
|
|||
ImGui.TextUnformatted(stateString);
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
ImGui.TextUnformatted(FontTestString);
|
||||
break;
|
||||
}
|
||||
else
|
||||
ImGui.TextUnformatted("Data not ready.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue