feat(ilt): Guardian panel under the ILT button; Mini Remote hosts the ILT tabs
See Changelog/2026-10-11-mini-remote-ilt-tabs-guardian.md.
This commit is contained in:
parent
5428f6b403
commit
67688f5be9
10 changed files with 239 additions and 51 deletions
|
|
@ -59,10 +59,11 @@ internal static class ImGuiBar
|
|||
private static readonly string[] ImGuiOnlyBarPanels =
|
||||
{ Panels.InventoryFace.Title, Panels.SkillsFace.Title, Panels.SenseFace.Title, Panels.ItemCountFace.Title, Panels.MiniRemoteFace.Title };
|
||||
|
||||
// The ILT section: the RynthILT plugin's ImGui-only panels. They never get buttons of their
|
||||
// own; one ILT button stands for them, shown only on Infinite Leaftide (IltInfo.IsIlt) and
|
||||
// only for the ones registered (EntryPoint registers them when RynthILT is installed).
|
||||
private static readonly string[] IltPanels = { Panels.BountiesFace.Title };
|
||||
// The ILT section: ImGui-only Infinite Leaftide panels (Bounties from RynthILT, Guardian from
|
||||
// RynthAi). They never get buttons of their own; one ILT button stands for them, shown only
|
||||
// on Infinite Leaftide (IltInfo.IsIlt) and only for the ones registered (EntryPoint registers
|
||||
// each when its plugin is installed).
|
||||
private static readonly string[] IltPanels = { Panels.BountiesFace.Title, Panels.GuardianFace.Title };
|
||||
|
||||
// Known panels' icons (DrakBot's where the same window exists); others show their first letter.
|
||||
private static readonly Dictionary<string, string> PanelIcons = new(StringComparer.OrdinalIgnoreCase)
|
||||
|
|
@ -389,8 +390,8 @@ internal static class ImGuiBar
|
|||
FacePopup(b.PopupId, b.Title, ImGuiPanelHost.HasFace(b.Title));
|
||||
}
|
||||
|
||||
// The ILT section: one button, only on Infinite Leaftide with RynthILT's panels
|
||||
// registered. With one panel it toggles that panel; with more it opens a menu.
|
||||
// The ILT section: one button, only on Infinite Leaftide with ILT panels registered
|
||||
// (Bounties, Guardian). With one panel it toggles that panel; with more it opens a menu.
|
||||
int iltCount = IltPanelCount();
|
||||
if (iltCount > 0)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue