muffin v7.5.0
This commit is contained in:
parent
afafd5e377
commit
a6481e7b9a
67 changed files with 4281 additions and 2372 deletions
|
|
@ -202,36 +202,54 @@ internal sealed class GatheringJournalComponent
|
|||
|
||||
public void DrawGatheringItems()
|
||||
{
|
||||
using ImRaii.IEndObject endObject = ImRaii.TabItem("Gathering Points");
|
||||
if (!endObject)
|
||||
//IL_000a: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_000f: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0010: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_0078: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_007d: Unknown result type (might be due to invalid IL or missing references)
|
||||
//IL_007e: Unknown result type (might be due to invalid IL or missing references)
|
||||
TabItemDisposable val = ImRaii.TabItem((ImU8String)"Gathering Points");
|
||||
try
|
||||
{
|
||||
return;
|
||||
}
|
||||
ImGui.SetNextItemWidth(ImGui.GetContentRegionAvail().X);
|
||||
if (ImGui.InputTextWithHint(string.Empty, "Search areas, gathering points and items", ref _searchText, 256))
|
||||
{
|
||||
UpdateFilter();
|
||||
}
|
||||
if (_filteredExpansions.Count > 0)
|
||||
{
|
||||
using (ImRaii.IEndObject endObject2 = ImRaii.Table("GatheringPoints", 3, ImGuiTableFlags.NoSavedSettings))
|
||||
if (!val)
|
||||
{
|
||||
if (!endObject2)
|
||||
{
|
||||
return;
|
||||
}
|
||||
ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.NoHide);
|
||||
ImGui.TableSetupColumn("Supported", ImGuiTableColumnFlags.WidthFixed, 100f * ImGui.GetIO().FontGlobalScale);
|
||||
ImGui.TableSetupColumn("Collected", ImGuiTableColumnFlags.WidthFixed, 100f * ImGui.GetIO().FontGlobalScale);
|
||||
ImGui.TableHeadersRow();
|
||||
foreach (FilteredExpansion filteredExpansion in _filteredExpansions)
|
||||
{
|
||||
DrawExpansion(filteredExpansion);
|
||||
}
|
||||
return;
|
||||
}
|
||||
ImGui.SetNextItemWidth(ImGui.GetContentRegionAvail().X);
|
||||
if (ImGui.InputTextWithHint(string.Empty, "Search areas, gathering points and items", ref _searchText, 256))
|
||||
{
|
||||
UpdateFilter();
|
||||
}
|
||||
if (_filteredExpansions.Count > 0)
|
||||
{
|
||||
TableDisposable val2 = ImRaii.Table((ImU8String)"GatheringPoints", 3, ImGuiTableFlags.NoSavedSettings);
|
||||
try
|
||||
{
|
||||
if (!val2)
|
||||
{
|
||||
return;
|
||||
}
|
||||
ImGui.TableSetupColumn("Name", ImGuiTableColumnFlags.NoHide);
|
||||
ImGui.TableSetupColumn("Supported", ImGuiTableColumnFlags.WidthFixed, 100f * ImGui.GetIO().FontGlobalScale);
|
||||
ImGui.TableSetupColumn("Collected", ImGuiTableColumnFlags.WidthFixed, 100f * ImGui.GetIO().FontGlobalScale);
|
||||
ImGui.TableHeadersRow();
|
||||
foreach (FilteredExpansion filteredExpansion in _filteredExpansions)
|
||||
{
|
||||
DrawExpansion(filteredExpansion);
|
||||
}
|
||||
return;
|
||||
}
|
||||
finally
|
||||
{
|
||||
((TableDisposable)(ref val2)).Dispose();
|
||||
}
|
||||
}
|
||||
ImGui.Text("No area, gathering point or item matches your search text.");
|
||||
}
|
||||
finally
|
||||
{
|
||||
((TabItemDisposable)(ref val)).Dispose();
|
||||
}
|
||||
ImGui.Text("No area, gathering point or item matches your search text.");
|
||||
}
|
||||
|
||||
private void DrawExpansion(FilteredExpansion expansion)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue