1
0
Fork 0
forked from aly/qstbak

muffin v7.5.12

This commit is contained in:
alydev 2026-08-19 13:19:57 +10:00
parent 3102923ce2
commit 911ed68baa
65 changed files with 2356 additions and 1539 deletions

View file

@ -15,6 +15,7 @@ using Questionable.Data;
using Questionable.Functions;
using Questionable.Model;
using Questionable.Model.Questing;
using Questionable.Windows.JournalComponents;
namespace Questionable.Windows.QuestComponents;
@ -42,6 +43,8 @@ internal sealed class EventInfoComponent
private readonly QuestTooltipComponent _questTooltipComponent;
private readonly QuestJournalUtils _questJournalUtils;
private readonly Configuration _configuration;
private readonly IDataManager _dataManager;
@ -71,7 +74,7 @@ internal sealed class EventInfoComponent
}
}
public EventInfoComponent(QuestData questData, QuestRegistry questRegistry, QuestFunctions questFunctions, UiUtils uiUtils, QuestController questController, FateController fateController, SeasonalDutyController seasonalDutyController, CustomDeliveryController customDeliveryController, AttunementController attunementController, QuestTooltipComponent questTooltipComponent, Configuration configuration, IDataManager dataManager, JournalData journalData, ILogger<EventInfoComponent> logger)
public EventInfoComponent(QuestData questData, QuestRegistry questRegistry, QuestFunctions questFunctions, UiUtils uiUtils, QuestController questController, FateController fateController, SeasonalDutyController seasonalDutyController, CustomDeliveryController customDeliveryController, AttunementController attunementController, QuestTooltipComponent questTooltipComponent, QuestJournalUtils questJournalUtils, Configuration configuration, IDataManager dataManager, JournalData journalData, ILogger<EventInfoComponent> logger)
{
_questData = questData;
_questRegistry = questRegistry;
@ -83,6 +86,7 @@ internal sealed class EventInfoComponent
_customDeliveryController = customDeliveryController;
_attunementController = attunementController;
_questTooltipComponent = questTooltipComponent;
_questJournalUtils = questJournalUtils;
_configuration = configuration;
_dataManager = dataManager;
_journalData = journalData;
@ -194,12 +198,7 @@ internal sealed class EventInfoComponent
{
if (ImGuiComponents.IconButton(FontAwesomeIcon.Play))
{
_fateController.Stop("Seasonal event start");
_seasonalDutyController.Stop("Seasonal event start");
_customDeliveryController.Stop("Seasonal event start");
_attunementController.Stop("Seasonal event start");
_questController.SetNextQuest(quest);
_questController.Start("SeasonalEventSelection");
_questJournalUtils.StartQuestAsNext(quest, "SeasonalEventSelection");
}
}
bool num = ImGui.IsItemHovered();

View file

@ -94,7 +94,13 @@ internal sealed class SavedPresetsComponent
{
DrawSaveSection();
UiThemeUtils.SectionSpacing();
DrawSavedPresets();
using (ImRaii.ChildDisposable childDisposable = ImRaii.Child("SavedPresetsList", new Vector2(-1f, 300f), border: true, ImGuiWindowFlags.AlwaysVerticalScrollbar))
{
if ((bool)childDisposable)
{
DrawSavedPresets();
}
}
UiThemeUtils.SectionSpacing();
DrawBottomButtons();
}