public void DecorateParam(PARAM.Row row) { if (!_entryCache.ContainsKey((int)row.ID)) { _entryCache.Add((int)row.ID, FMGBank.LookupItemID((int)row.ID, _category)); } var entry = _entryCache[(int)row.ID]; if (entry != null) { ImGui.SameLine(); ImGui.TextColored(new Vector4(1.0f, 1.0f, 0.0f, 1.0f), $@" <{entry.Text}>"); } }
public void DecorateParam(PARAM.Row row) { if (!_entryCache.ContainsKey((int)row.ID)) { _entryCache.Add((int)row.ID, FMGBank.LookupItemID((int)row.ID, _category)); } var entry = _entryCache[(int)row.ID]; if (entry != null) { ImGui.SameLine(); ImGui.PushStyleColor(ImGuiCol.Text, FMGLINKCOLOUR); ImGui.TextUnformatted($@" <{entry.Text}>"); ImGui.PopStyleColor(); } }