One plugin-bar button and one tabbed window, as the original
Live in 0.1.19 the plugin put three buttons on the plugin bar (MM, Mossy Tracker, Metas), the tracker carried the icon that belongs to the main window, and the metas downloads were in a window of their own. Now only the main window has a bar button: "MM" with the original window's icon (7735, 0x06001E37). Its tabs follow the original's notebook: Main, Settings, Statistics, Mossy Tracker, Metas, Tools. The Mossy Tracker tab is the original page, one "Open Mossy Tracker" button that opens the tracker window; that window is registered without a bar button and opened through the host's ShowPanel. The Metas tab holds everything the metas window had (list with search, refresh, check, download outdated, download one file, last check, status), plus the repository address and the two folders the files land in. The main window forwards those bindings to the meta sync's view model, since markup binds one object. Downloads already went to the host's VTank profile storage, the one MossTank reads, under mosstank/metas and mosstank/navs with each file's own name and extension; the tab now shows those full folder paths instead of the storage root. Backend frames are untouched. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
360300a1ee
commit
336c5cfdf5
15 changed files with 459 additions and 124 deletions
|
|
@ -4,7 +4,8 @@ using OpenAC.MosswartMassacre.Quests;
|
|||
namespace OpenAC.MosswartMassacre.FlagTracker;
|
||||
|
||||
/// <summary>
|
||||
/// The "Mossy Tracker" window: augmentations, luminance auras, recalls,
|
||||
/// The "Mossy Tracker" window, opened from the main window's Mossy Tracker
|
||||
/// tab: augmentations, luminance auras, recalls,
|
||||
/// cantrips, tracked weapons and quest timers for the character in the world.
|
||||
/// Nothing here reaches the backend.
|
||||
/// </summary>
|
||||
|
|
@ -47,13 +48,12 @@ internal sealed class FlagTrackerFeature : IMmFeature
|
|||
_panel = context.Host.Ui.RegisterPanel(
|
||||
new PluginPanelDescriptor("flagtracker", "Mossy Tracker")
|
||||
{
|
||||
IconText = "MT",
|
||||
// The icon the original window carried (7735).
|
||||
IconSurfaceId = 0x06001E37,
|
||||
// Shown while the binding's IsVisible is set; the host's own
|
||||
// shown state starts true so that flag alone opens it.
|
||||
StartVisible = true,
|
||||
ShowInSidePanel = true,
|
||||
// No bar button: as in the original, the main window's
|
||||
// Mossy Tracker tab opens it.
|
||||
ShowInSidePanel = false,
|
||||
},
|
||||
Path.Combine(directory, MarkupFile),
|
||||
Panel);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue