add events

This commit is contained in:
rootdarkarchon 2023-12-23 16:59:51 +01:00
parent 532d88ed4c
commit 01ac0e476b
12 changed files with 448 additions and 3 deletions

View file

@ -79,7 +79,28 @@ public class CompactUi : WindowMediatorSubscriberBase
{
Mediator.Publish(new UiToggleMessage(typeof(SettingsUi)));
},
IconOffset = new(2,1)
IconOffset = new(2,1),
ShowTooltip = () =>
{
ImGui.BeginTooltip();
ImGui.Text("Open Mare Settings");
ImGui.EndTooltip();
}
},
new TitleBarButton()
{
Icon = FontAwesomeIcon.Book,
Click = (msg) =>
{
Mediator.Publish(new UiToggleMessage(typeof(EventViewerUI)));
},
IconOffset = new(2,1),
ShowTooltip = () =>
{
ImGui.BeginTooltip();
ImGui.Text("Open Mare Event Viewer");
ImGui.EndTooltip();
}
}
};