Re-add ImGui.NET, add compatibility shims

This commit is contained in:
goaaats 2025-04-13 21:52:27 +02:00
parent b2fd7cc9e1
commit 308b9e4575
15 changed files with 173 additions and 13 deletions

View file

@ -3885,7 +3885,7 @@ internal class PluginInstallerWindow : Window, IDisposable
{
var positionOffset = ImGuiHelpers.ScaledVector2(0.0f, 1.0f);
var cursorStart = ImGui.GetCursorPos() + positionOffset;
ImGui.PushFont(UiBuilder.IconFont);
ImGui.PushFont(InterfaceManager.IconFont);
ImGui.PushStyleColor(ImGuiCol.Text, outline);
foreach (var x in Enumerable.Range(-1, 3))

View file

@ -56,7 +56,7 @@ public class SettingsTabDtr : SettingsTab
// TODO: Maybe we can also resort the rest of the bar in the future?
// var isRequired = search is Configuration.SearchSetting.Internal or Configuration.SearchSetting.MacroLinks;
ImGui.PushFont(UiBuilder.IconFont);
ImGui.PushFont(UiBuilder.IconFontNew);
var arrowUpText = $"{FontAwesomeIcon.ArrowUp.ToIconString()}##{title}";
if (i == 0)