add mare profiles

This commit is contained in:
rootdarkarchon
2023-03-19 19:00:22 +01:00
parent f6a471f457
commit 2b829af4f8
22 changed files with 625 additions and 57 deletions

View File

@@ -161,13 +161,13 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
public static uint Color(Vector4 color)
{
uint ret = (byte)(color.W);
uint ret = (byte)(color.W * 255);
ret <<= 8;
ret += (byte)(color.X);
ret += (byte)(color.Z * 255);
ret <<= 8;
ret += (byte)(color.Y);
ret += (byte)(color.Y * 255);
ret <<= 8;
ret += (byte)(color.Z);
ret += (byte)(color.X * 255);
return ret;
}
@@ -452,6 +452,13 @@ public partial class UiSharedService : DisposableMediatorSubscriberBase
return true;
}
public void BigText(string text)
{
if (UidFontBuilt) ImGui.PushFont(UidFont);
ImGui.TextUnformatted(text);
if (UidFontBuilt) ImGui.PopFont();
}
public void DrawCacheDirectorySetting()
{
ColorTextWrapped("Note: The storage folder should be somewhere close to root (i.e. C:\\MareStorage) in a new empty folder. DO NOT point this to your game folder. DO NOT point this to your Penumbra folder.", ImGuiColors.DalamudYellow);