mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 22:17:22 +01:00
add mare profiles
This commit is contained in:
parent
f6a471f457
commit
2b829af4f8
22 changed files with 625 additions and 57 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue