Feature: Pair Categories (#35)
* Feature/pair categories re (#1) Implemented pair categories: - Paired users can now get tags - Tags get rendered into the main UI as groups - Tags are persistently stored on the local configuration * Added multi-server capabilities and cleaned up code - Tags and available tags are stored per API url - Added a few tooltips * Renamed both dictionary to reflect the fact that they are per-server dictionaries * Swapped icons and no longer renders groups that are empty after filter
This commit is contained in:
@@ -264,6 +264,13 @@ public class UiShared : IDisposable
|
||||
ImGui.TextUnformatted(text);
|
||||
ImGui.PopTextWrapPos();
|
||||
}
|
||||
|
||||
public static void FontText(string text, ImFontPtr font)
|
||||
{
|
||||
ImGui.PushFont(font);
|
||||
ImGui.TextUnformatted(text);
|
||||
ImGui.PopFont();
|
||||
}
|
||||
|
||||
public static Vector4 GetCpuLoadColor(double input) => input < 50 ? ImGuiColors.ParsedGreen :
|
||||
input < 90 ? ImGuiColors.DalamudYellow : ImGuiColors.DalamudRed;
|
||||
|
||||
Reference in New Issue
Block a user