forked from aly/qstbak
3122 lines
171 KiB
C#
3122 lines
171 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Numerics;
|
|
using System.Runtime.CompilerServices;
|
|
using System.Text;
|
|
using Dalamud.Bindings.ImGui;
|
|
using Dalamud.Game.Text;
|
|
using Dalamud.Interface;
|
|
using Dalamud.Interface.Colors;
|
|
using Dalamud.Interface.ManagedFontAtlas;
|
|
using Dalamud.Interface.Utility;
|
|
using Dalamud.Interface.Utility.Raii;
|
|
|
|
namespace Questionable.Windows;
|
|
|
|
internal static class UiThemeUtils
|
|
{
|
|
public readonly record struct GridCheckbox(string Label, bool Value, string? Tooltip = null)
|
|
{
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
public override string ToString()
|
|
{
|
|
StringBuilder stringBuilder = _202A_202E_206F_206C_202A_202A_200E_202C_206A_206D_200B_200D_202A_202B_206B_202B_202A_200F_206F_202C_200F_206F_202D_206F_206C_206D_206D_200F_200C_200F_200F_202C_206A_206C_206E_206F_200F_206E_202A_200F_202E();
|
|
_206A_206E_206E_200F_200C_206D_206A_200F_200F_202A_200F_202C_206A_200E_206B_206B_200C_206F_206E_200D_206C_202E_206E_200E_200D_206C_202E_206D_200B_206E_206B_206C_202D_206D_202C_202C_206F_200B_202C_202E(stringBuilder, global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(179489552));
|
|
_206A_206E_206E_200F_200C_206D_206A_200F_200F_202A_200F_202C_206A_200E_206B_206B_200C_206F_206E_200D_206C_202E_206E_200E_200D_206C_202E_206D_200B_206E_206B_206C_202D_206D_202C_202C_206F_200B_202C_202E(stringBuilder, global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(698284764));
|
|
int num = ((!PrintMembers(stringBuilder)) ? (-1155276585) : (-1155276586));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1155276585;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
_200B_206C_206C_200E_206C_202B_202E_202B_202B_206E_202E_200D_206A_202E_202B_206A_206A_202A_202A_202B_200F_206C_206A_202A_202B_202E_202D_200C_202C_206C_206E_200B_202B_202E_206D_202E_200D_206E_206D_200E_202E(stringBuilder, '}');
|
|
return _200D_202D_206E_206F_202A_202B_206C_200B_202E_202C_206F_206B_202C_202B_202D_206C_202D_200E_202B_200E_200E_200D_206A_202E_202E_200C_206F_202A_202A_200E_202B_206B_200D_202D_200F_202D_206A_202B_206A_202E_202E((object)stringBuilder);
|
|
case 1:
|
|
_200B_206C_206C_200E_206C_202B_202E_202B_202B_206E_202E_200D_206A_202E_202B_206A_206A_202A_202A_202B_200F_206C_206A_202A_202B_202E_202D_200C_202C_206C_206E_200B_202B_202E_206D_202E_200D_206E_206D_200E_202E(stringBuilder, ' ');
|
|
num = -1155276585;
|
|
break;
|
|
case 2:
|
|
num = -1155276586;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
[CompilerGenerated]
|
|
private bool PrintMembers(StringBuilder builder)
|
|
{
|
|
_206A_206E_206E_200F_200C_206D_206A_200F_200F_202A_200F_202C_206A_200E_206B_206B_200C_206F_206E_200D_206C_202E_206E_200E_200D_206C_202E_206D_200B_206E_206B_206C_202D_206D_202C_202C_206F_200B_202C_202E(builder, global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(-79426945));
|
|
_200D_206A_200D_206F_202B_206B_206D_206D_200D_202A_202C_202B_206A_202A_200F_206E_206F_206D_202C_206C_202A_206D_200B_202A_206E_202C_202C_200D_206D_206C_202B_202B_202D_200F_206E_206A_200C_202C_206C_200D_202E(builder, (object)Label);
|
|
_206A_206E_206E_200F_200C_206D_206A_200F_200F_202A_200F_202C_206A_200E_206B_206B_200C_206F_206E_200D_206C_202E_206E_200E_200D_206C_202E_206D_200B_206E_206B_206C_202D_206D_202C_202C_206F_200B_202C_202E(builder, global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-89441394));
|
|
_206A_206E_206E_200F_200C_206D_206A_200F_200F_202A_200F_202C_206A_200E_206B_206B_200C_206F_206E_200D_206C_202E_206E_200E_200D_206C_202E_206D_200B_206E_206B_206C_202D_206D_202C_202C_206F_200B_202C_202E(builder, Value.ToString());
|
|
_206A_206E_206E_200F_200C_206D_206A_200F_200F_202A_200F_202C_206A_200E_206B_206B_200C_206F_206E_200D_206C_202E_206E_200E_200D_206C_202E_206D_200B_206E_206B_206C_202D_206D_202C_202C_206F_200B_202C_202E(builder, global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(-2096210289));
|
|
_200D_206A_200D_206F_202B_206B_206D_206D_200D_202A_202C_202B_206A_202A_200F_206E_206F_206D_202C_206C_202A_206D_200B_202A_206E_202C_202C_200D_206D_206C_202B_202B_202D_200F_206E_206A_200C_202C_206C_200D_202E(builder, (object)Tooltip);
|
|
return true;
|
|
}
|
|
|
|
[CompilerGenerated]
|
|
public bool Equals(GridCheckbox other)
|
|
{
|
|
int num = ((!EqualityComparer<string>.Default.Equals(Label, other.Label)) ? (-375874886) : (-375874887));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -375874888;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 3:
|
|
num = -375874887;
|
|
break;
|
|
case 0:
|
|
return EqualityComparer<string>.Default.Equals(Tooltip, other.Tooltip);
|
|
case 1:
|
|
num = ((!EqualityComparer<bool>.Default.Equals(Value, other.Value)) ? (-375874886) : (-375874888));
|
|
break;
|
|
case 2:
|
|
return false;
|
|
}
|
|
}
|
|
}
|
|
|
|
bool IEquatable<GridCheckbox>.Equals(GridCheckbox other)
|
|
{
|
|
//ILSpy generated this explicit interface implementation from .override directive in Equals
|
|
return this.Equals(other);
|
|
}
|
|
|
|
static StringBuilder _202A_202E_206F_206C_202A_202A_200E_202C_206A_206D_200B_200D_202A_202B_206B_202B_202A_200F_206F_202C_200F_206F_202D_206F_206C_206D_206D_200F_200C_200F_200F_202C_206A_206C_206E_206F_200F_206E_202A_200F_202E()
|
|
{
|
|
return new StringBuilder();
|
|
}
|
|
|
|
static StringBuilder _206A_206E_206E_200F_200C_206D_206A_200F_200F_202A_200F_202C_206A_200E_206B_206B_200C_206F_206E_200D_206C_202E_206E_200E_200D_206C_202E_206D_200B_206E_206B_206C_202D_206D_202C_202C_206F_200B_202C_202E(StringBuilder P_0, string P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static StringBuilder _200B_206C_206C_200E_206C_202B_202E_202B_202B_206E_202E_200D_206A_202E_202B_206A_206A_202A_202A_202B_200F_206C_206A_202A_202B_202E_202D_200C_202C_206C_206E_200B_202B_202E_206D_202E_200D_206E_206D_200E_202E(StringBuilder P_0, char P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static string _200D_202D_206E_206F_202A_202B_206C_200B_202E_202C_206F_206B_202C_202B_202D_206C_202D_200E_202B_200E_200E_200D_206A_202E_202E_200C_206F_202A_202A_200E_202B_206B_200D_202D_200F_202D_206A_202B_206A_202E_202E(object P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
|
|
static StringBuilder _200D_206A_200D_206F_202B_206B_206D_206D_200D_202A_202C_202B_206A_202A_200F_206E_206F_206D_202C_206C_202A_206D_200B_202A_206E_202C_202C_200D_206D_206C_202B_202B_202D_200F_206E_206A_200C_202C_206C_200D_202E(StringBuilder P_0, object P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
}
|
|
|
|
public const float SpacingInner = 8f;
|
|
|
|
public const float SpacingSection = 16f;
|
|
|
|
public const float CardPadding = 12f;
|
|
|
|
public const float ControlWidth = 260f;
|
|
|
|
private static readonly uint AltRowColor = _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(new Vector4(0.15f, 0.12f, 0.2f, 0.3f));
|
|
|
|
public static readonly Vector4 CardBackgroundColor = new Vector4(1f, 1f, 1f, 0.035f);
|
|
|
|
public static readonly Vector4 AccentColor = new Vector4(0.75f, 0.55f, 0.95f, 1f);
|
|
|
|
public static readonly Vector4 AccentDimColor;
|
|
|
|
public static readonly Vector4 CardBorderColor;
|
|
|
|
public static readonly Vector4 CardBorderHighColor;
|
|
|
|
private const float CardRounding = 6f;
|
|
|
|
public static readonly Vector4 PrimaryTextColor;
|
|
|
|
public static readonly Vector4 DimTextColor;
|
|
|
|
public static readonly Vector4 MutedTextColor;
|
|
|
|
public static readonly Vector4 PlayButtonColor;
|
|
|
|
public static readonly Vector4 PlayButtonHover;
|
|
|
|
public static readonly Vector4 PlayButtonActive;
|
|
|
|
public static readonly Vector4 PlayButtonText;
|
|
|
|
public static readonly Vector4 SubtleHoverColor;
|
|
|
|
public static readonly Vector4 SubtleActiveColor;
|
|
|
|
public static readonly Vector4 SubtlePressColor;
|
|
|
|
public static readonly Vector4 StatusComplete;
|
|
|
|
public static readonly Vector4 StatusActive;
|
|
|
|
public static readonly Vector4 StatusAvailable;
|
|
|
|
public static readonly Vector4 StatusAvailableComplete;
|
|
|
|
public static readonly Vector4 StatusLocked;
|
|
|
|
public static readonly Vector4 StatusUnobtainable;
|
|
|
|
public static readonly Vector4 StatusBlacklisted;
|
|
|
|
private static readonly string Ellipsis;
|
|
|
|
private static float _cardContentRightInset;
|
|
|
|
public const ImGuiTableFlags ThemedTableFlags = ImGuiTableFlags.RowBg | ImGuiTableFlags.BordersInnerH;
|
|
|
|
public static void WrappedText(string text)
|
|
{
|
|
_202C_200D_202A_206C_200E_202C_200B_200B_202A_206B_202E_202C_202C_200D_206B_202D_200D_206B_202B_206E_206D_202C_200E_202A_202D_206A_206C_202C_202A_200D_202A_200B_200E_206B_202B_200F_202E_202B_200C_200F_202E(_202D_200B_200D_202B_202D_206D_200D_206C_206B_200D_200B_206C_206D_200C_202E_206D_206C_200B_202B_202D_200D_200F_200C_202E_200E_202A_206C_206A_206D_202D_200C_202E_206F_206C_206E_202C_200D_206B_206B_200C_202E() + _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X);
|
|
_200E_202A_206A_200E_206E_206E_206B_206B_206B_206C_206F_202A_200E_206A_200C_200E_202E_202C_206C_200E_206D_202C_200F_200C_206E_200D_200E_202D_206D_206A_200E_200B_202B_206E_206E_206B_200C_202A_206B_200C_202E((ImU8String)text);
|
|
_200C_200C_206E_200B_200E_202C_200E_206D_206C_202C_200D_202C_200D_206B_202C_206D_202D_206C_200E_202D_206A_206B_206D_202C_200C_206A_202D_200E_200E_200B_206C_202B_200D_200F_206D_202A_202C_200B_202E_202A_202E();
|
|
}
|
|
|
|
public static void WrappedTextColored(Vector4 color, string text)
|
|
{
|
|
ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Text, color, true);
|
|
try
|
|
{
|
|
WrappedText(text);
|
|
}
|
|
finally
|
|
{
|
|
int num = ((colorDisposable == null) ? (-1025421329) : (-1025421332));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1025421331;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 2:
|
|
goto end_IL_0030;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable);
|
|
num = -1025421329;
|
|
break;
|
|
case 0:
|
|
num = -1025421332;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_0030:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static string TruncateToWidth(string text, float maxWidth)
|
|
{
|
|
int num = (_202B_200F_206E_202D_200E_202B_202B_206C_206E_202B_200C_206B_202C_206A_200E_200F_202D_202C_206C_202B_202B_202E_200B_202D_202C_206A_206E_206A_202B_206D_206B_202A_200E_206A_206B_206E_200D_200E_202D_200E_202E(text) ? (-1626955586) : (-1626955587));
|
|
int num10 = default(int);
|
|
int num8 = default(int);
|
|
int num7 = default(int);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1626955588;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
num = -1626955587;
|
|
break;
|
|
case 3:
|
|
{
|
|
int num9 = num10;
|
|
num3 = 1;
|
|
num4 = num9;
|
|
num8 = ~(~num4 + num3);
|
|
num = -1626955591;
|
|
break;
|
|
}
|
|
case 13:
|
|
num7 = num10;
|
|
num = -1626955591;
|
|
break;
|
|
case 7:
|
|
num = ((num7 <= 0) ? (-1626955593) : (-1626955590));
|
|
break;
|
|
case 6:
|
|
return _206E_200E_206F_206F_202C_202E_200E_200B_202E_200F_202E_202C_206E_206D_206E_200C_206D_206D_206C_200F_206C_202A_202B_200D_200B_202A_202D_202E_206B_200B_200F_200C_206E_202D_202C_200F_200B_202B_206C_202D_202E(_200D_202A_202C_200D_202E_202D_200E_200D_200C_202A_202A_202C_202E_202D_202A_206E_206F_200E_206C_206D_202A_206D_200F_202E_206E_200D_206A_202B_200D_206D_200F_200E_200F_202C_200E_206C_202A_206D_200F_200D_202E(text, 0, num7), _202B_206B_206C_206C_206F_206A_206D_200F_206C_202D_206A_206C_206A_206C_202C_202D_200F_206F_200B_200C_202C_200B_202D_202B_200E_202A_200D_200B_206C_202E_206F_202E_200D_200E_206E_202C_202A_200F_200B_202C_202E(Ellipsis));
|
|
case 8:
|
|
num = ((!(_200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)Ellipsis, false, -1f).X > maxWidth)) ? (-1626955594) : (-1626955592));
|
|
break;
|
|
case 9:
|
|
num = ((!(_200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f).X <= maxWidth)) ? (-1626955596) : (-1626955586));
|
|
break;
|
|
case 2:
|
|
return text;
|
|
case 5:
|
|
num = ((num7 < num8) ? (-1626955600) : (-1626955589));
|
|
break;
|
|
case 12:
|
|
{
|
|
int num11 = num7;
|
|
num3 = num8;
|
|
num4 = num11;
|
|
int num12 = (num4 | num3) + (num4 & num3);
|
|
num3 = 1;
|
|
num4 = num12;
|
|
int num13 = num4 ^ num3;
|
|
int num14 = num4 & num3;
|
|
num10 = (num13 + (num14 + num14)) / 2;
|
|
num = ((!(_200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)_206E_200E_206F_206F_202C_202E_200E_200B_202E_200F_202E_202C_206E_206D_206E_200C_206D_206D_206C_200F_206C_202A_202B_200D_200B_202A_202D_202E_206B_200B_200F_200C_206E_202D_202C_200F_200B_202B_206C_202D_202E(_200D_202A_202C_200D_202E_202D_200E_200D_200C_202A_202A_202C_202E_202D_202A_206E_206F_200E_206C_206D_202A_206D_200F_202E_206E_200D_206A_202B_200D_206D_200F_200E_200F_202C_200E_206C_202A_206D_200F_200D_202E(text, 0, num10), _202B_206B_206C_206C_206F_206A_206D_200F_206C_202D_206A_206C_206A_206C_202C_202D_200F_206F_200B_200C_202C_200B_202D_202B_200E_202A_200D_200B_206C_202E_206F_202E_200D_200E_206E_202C_202A_200F_200B_202C_202E(Ellipsis)), false, -1f).X <= maxWidth)) ? (-1626955585) : (-1626955599));
|
|
break;
|
|
}
|
|
case 1:
|
|
num = ((maxWidth <= 0f) ? (-1626955586) : (-1626955595));
|
|
break;
|
|
case 4:
|
|
return Ellipsis;
|
|
case 10:
|
|
num7 = 0;
|
|
num8 = _206C_202D_206C_200C_202E_206B_206B_202A_206C_206A_200F_206D_202D_202A_202C_200F_202E_202B_206B_202E_206D_206C_206E_206F_206D_202A_206C_200B_202A_200F_206A_200E_202C_200E_206D_202D_206F_200F_206F_206A_202E(text);
|
|
num = -1626955591;
|
|
break;
|
|
case 11:
|
|
return Ellipsis;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static void RowLabel(string text, float reservedRightWidth)
|
|
{
|
|
float maxWidth = _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X - reservedRightWidth;
|
|
_200E_202A_206A_200E_206E_206E_206B_206B_206B_206C_206F_202A_200E_206A_200C_200E_202E_202C_206C_200E_206D_202C_200F_200C_206E_200D_200E_202D_206D_206A_200E_200B_202B_206E_206E_206B_200C_202A_206B_200C_202E((ImU8String)TruncateToWidth(text, maxWidth));
|
|
}
|
|
|
|
public static void RowLabel(string text, float reservedRightWidth, Vector4 color)
|
|
{
|
|
ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Text, color, true);
|
|
try
|
|
{
|
|
RowLabel(text, reservedRightWidth);
|
|
}
|
|
finally
|
|
{
|
|
int num = ((colorDisposable == null) ? (-1942778121) : (-1942778124));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1942778122;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = -1942778124;
|
|
break;
|
|
case 1:
|
|
goto end_IL_0031;
|
|
case 2:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable);
|
|
num = -1942778121;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_0031:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static (Vector2 ContentStartPos, float AvailableWidth, ImDrawListPtr DrawList) BeginCard()
|
|
{
|
|
Vector2 item = _202E_200D_200E_206B_206E_206C_200D_200B_200B_206A_206B_200E_202B_206C_206B_200B_206F_206B_202B_206A_206E_206D_200C_200E_200D_200C_202E_206C_202E_206B_200B_200C_200E_200B_206C_200B_206D_200B_202E_200C_202E();
|
|
float x = _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X;
|
|
ImDrawListPtr item2 = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
item2.ChannelsSplit(2);
|
|
item2.ChannelsSetCurrent(1);
|
|
_202C_206B_206B_206D_202D_200B_202A_206E_206D_206A_206C_206E_202C_202A_206C_206B_200F_200B_206E_200F_206E_206D_206A_206E_202A_206D_202D_202B_200F_200B_206A_200B_200E_206A_202B_200C_206A_206B_202D_206E_202E(12f);
|
|
_200C_202C_206A_206D_202C_202C_200F_202A_206F_202A_200B_202D_200C_200B_206F_200F_206E_206E_200B_202D_200D_202A_206F_202B_206E_202A_200C_206A_206E_200E_202E_200B_206E_202A_202E_200D_202C_206F_206F_202D_202E(item.Y + 12f);
|
|
_206F_206F_200B_200D_202B_200D_206D_202C_200E_202E_200F_202E_200E_200E_202B_206A_200C_206B_206A_200E_202B_202B_202E_202E_206A_202B_202E_200B_206F_206C_202D_206A_200C_200E_202D_206D_200C_202D_202C_202A_202E(-13f);
|
|
_cardContentRightInset = 12f;
|
|
return (ContentStartPos: item, AvailableWidth: x, DrawList: item2);
|
|
}
|
|
|
|
public static void EndCard(Vector2 contentStartPos, float availableWidth, ImDrawListPtr drawList)
|
|
{
|
|
_206F_206E_202B_206D_202E_200D_200E_206A_202D_202C_202E_206A_200C_202C_206E_200C_202C_200F_206F_206A_200F_200F_202E_202A_202D_200E_202C_206A_202E_206B_202E_200E_206B_206C_202E_206D_206B_206A_200B_206B_202E();
|
|
_206B_206A_206E_202D_206A_202C_206C_206B_206D_206C_206B_202A_206A_206A_202C_206B_202E_202B_206B_202B_200C_206D_202E_202C_206D_202D_206C_200B_200B_200D_200D_202E_200C_202A_206B_200B_200B_202D_200F_202A_202E(12f);
|
|
_cardContentRightInset = 0f;
|
|
Vector2 vector = _202E_200D_200E_206B_206E_206C_200D_200B_200B_206A_206B_200E_202B_206C_206B_200B_206F_206B_202B_206A_206E_206D_200C_200E_200D_200C_202E_206C_202E_206B_200B_200C_200E_200B_206C_200B_206D_200B_202E_200C_202E();
|
|
drawList.ChannelsSetCurrent(0);
|
|
_202C_206B_206D_206E_200D_206D_202C_206A_206A_206D_206C_202A_200E_206E_206B_202D_206C_200E_200C_202E_200C_200B_206B_200E_206E_200B_206B_202E_202B_200E_200B_206F_206D_206F_202C_200D_200D_200B_206E_200E_202E(contentStartPos);
|
|
Vector2 pMin = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E();
|
|
_202C_206B_206D_206E_200D_206D_202C_206A_206A_206D_206C_202A_200E_206E_206B_202D_206C_200E_200C_202E_200C_200B_206B_200E_206E_200B_206B_202E_202B_200E_200B_206F_206D_206F_202C_200D_200D_200B_206E_200E_202E(vector + new Vector2(0f, 12f));
|
|
Vector2 vector2 = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E();
|
|
drawList.AddRectFilled(pMin, new Vector2(pMin.X + availableWidth, vector2.Y), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(CardBackgroundColor), 6f);
|
|
drawList.AddRect(pMin, new Vector2(pMin.X + availableWidth, vector2.Y), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(CardBorderColor), 6f, ImDrawFlags.None, 1f);
|
|
drawList.ChannelsMerge();
|
|
_202C_206B_206D_206E_200D_206D_202C_206A_206A_206D_206C_202A_200E_206E_206B_202D_206C_200E_200C_202E_200C_200B_206B_200E_206E_200B_206B_202E_202B_200E_200B_206F_206D_206F_202C_200D_200D_200B_206E_200E_202E(new Vector2(contentStartPos.X, vector.Y + 12f));
|
|
}
|
|
|
|
public static ImRaii.TableDisposable BeginThemedTable(string id, int columns, ImGuiTableFlags extra = ImGuiTableFlags.None)
|
|
{
|
|
return _200B_200D_202A_206F_200D_206B_202A_202D_200E_202C_206C_206E_202B_202D_200C_200E_202D_206B_206E_200E_200C_202C_206E_202D_202E_206E_200B_202D_200E_200D_206B_200C_200C_206C_202B_206D_202E_206A_206D_202B_202E((ImU8String)id, columns, ImGuiTableFlags.RowBg | ImGuiTableFlags.BordersInnerH | extra);
|
|
}
|
|
|
|
public static void SectionHeader(string title)
|
|
{
|
|
ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
Vector2 pMin = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E();
|
|
float num = _200D_202A_202B_200C_206C_206C_200C_200D_206A_206C_202E_206C_202B_206C_200D_206A_200B_200E_202D_206A_200B_206D_206D_206D_202D_200D_202C_202E_206D_206B_200C_206F_206C_200B_202A_206F_206C_200B_200C_202E();
|
|
imDrawListPtr.AddRectFilled(pMin, new Vector2(pMin.X + 3f, pMin.Y + num), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(AccentColor));
|
|
_202D_200B_200D_206E_206D_200B_202A_206E_206A_200E_202C_206A_202D_202A_200C_206C_206E_206E_202A_206A_202A_202D_202C_206A_206F_200F_206D_202A_202B_200F_200E_200D_200D_206D_206F_202E_206A_202A_202D_202B_202E(_202D_200B_200D_202B_202D_206D_200D_206C_206B_200D_200B_206C_206D_200C_202E_206D_206C_200B_202B_202D_200D_200F_200C_202E_200E_202A_206C_206A_206D_202D_200C_202E_206F_206C_206E_202C_200D_206B_206B_200C_202E() + 3f + 6f);
|
|
_206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref PrimaryTextColor, (ImU8String)title);
|
|
}
|
|
|
|
public static void SectionSpacing()
|
|
{
|
|
_200C_202C_206A_206D_202C_202C_200F_202A_206F_202A_200B_202D_200C_200B_206F_200F_206E_206E_200B_202D_200D_202A_206F_202B_206E_202A_200C_206A_206E_200E_202E_200B_206E_202A_202E_200D_202C_206F_206F_202D_202E(_202C_200C_200C_200C_206E_202E_202E_202E_200E_206C_206B_206E_200F_200E_202D_202D_202A_200C_206A_202C_206A_206B_200D_200E_206E_200F_200F_206F_200B_206C_202B_200B_206A_202A_206F_202D_206B_200C_202C_206B_202E() + 16f);
|
|
}
|
|
|
|
public static void SubSectionHeader(string label)
|
|
{
|
|
_200E_202D_200C_206E_200B_206A_200E_206F_200F_200C_200D_202D_200D_200E_200B_206E_206C_206F_202D_202C_206E_200D_206B_206B_206C_206B_202D_202E_206D_202B_202D_202C_206E_206E_200C_200F_206F_206C_202C_206A_202E();
|
|
_206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref DimTextColor, (ImU8String)label);
|
|
}
|
|
|
|
public static void StatusBadge(string text, Vector4 color, FontAwesomeIcon icon)
|
|
{
|
|
ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
Vector2 vector = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E();
|
|
float fontSize = _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E();
|
|
string text2 = _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(icon);
|
|
ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true);
|
|
Vector2 vector2;
|
|
try
|
|
{
|
|
vector2 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text2, false, -1f);
|
|
}
|
|
finally
|
|
{
|
|
int num = ((fontDisposable == null) ? 481738281 : 481738280);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 481738281;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
goto end_IL_005d;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable);
|
|
num = 481738281;
|
|
break;
|
|
case 2:
|
|
num = 481738280;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_005d:
|
|
break;
|
|
}
|
|
}
|
|
Vector2 vector3 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f);
|
|
float num7 = 6f;
|
|
float num8 = 2f;
|
|
float num9 = 4f;
|
|
float x = num7 + vector2.X + num9 + vector3.X + num7;
|
|
float num10 = num8 + _206D_202B_202D_200F_206A_200D_206E_206C_202C_206B_200E_206B_206B_206C_206B_200E_202C_206C_202A_206F_206E_200E_202A_202A_200B_206F_202C_200C_206E_206D_206F_202E_200F_206B_206D_202E_206E_200C_200C_202C_202E(vector2.Y, vector3.Y) + num8;
|
|
Vector2 pMin = vector;
|
|
Vector2 pMax = vector + new Vector2(x, num10);
|
|
Vector4 vector4 = new Vector4(color.X, color.Y, color.Z, 0.15f);
|
|
float rounding = num10 * 0.5f;
|
|
imDrawListPtr.AddRectFilled(pMin, pMax, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(vector4), rounding);
|
|
Vector2 pos = vector + new Vector2(num7, num8);
|
|
imDrawListPtr.AddText(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), fontSize, pos, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(color), text2);
|
|
Vector2 pos2 = vector + new Vector2(num7 + vector2.X + num9, num8);
|
|
imDrawListPtr.AddText(pos2, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(color), text);
|
|
_206E_202D_200E_206B_202E_202E_206A_206E_200B_202A_202D_206E_202B_206F_202A_202C_202C_206E_200C_200C_202D_200E_202A_200C_200B_202E_200D_206B_206F_200C_206A_200C_206A_206A_200D_200D_202E_202C_200C_206E_202E(new Vector2(x, num10));
|
|
}
|
|
|
|
public static void StatusBanner(string text, Vector4 color, FontAwesomeIcon icon)
|
|
{
|
|
ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
Vector2 vector = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E();
|
|
float fontSize = _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E();
|
|
string text2 = _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(icon);
|
|
float x = _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X;
|
|
ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true);
|
|
Vector2 vector2;
|
|
try
|
|
{
|
|
vector2 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text2, false, -1f);
|
|
}
|
|
finally
|
|
{
|
|
int num = ((fontDisposable == null) ? (-1080792538) : (-1080792537));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1080792538;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 2:
|
|
num = -1080792537;
|
|
break;
|
|
case 0:
|
|
goto end_IL_0069;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable);
|
|
num = -1080792538;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_0069:
|
|
break;
|
|
}
|
|
}
|
|
Vector2 vector3 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f);
|
|
float y = 12f + _206D_202B_202D_200F_206A_200D_206E_206C_202C_206B_200E_206B_206B_206C_206B_200E_202C_206C_202A_206F_206E_200E_202A_202A_200B_206F_202C_200C_206E_206D_206F_202E_200F_206B_206D_202E_206E_200C_200C_202C_202E(vector2.Y, vector3.Y) + 12f;
|
|
float num7 = 6f;
|
|
Vector2 pMin = vector;
|
|
Vector2 pMax = vector + new Vector2(x, y);
|
|
Vector4 vector4 = new Vector4(color.X, color.Y, color.Z, 0.1f);
|
|
Vector4 vector5 = new Vector4(color.X, color.Y, color.Z, 0.25f);
|
|
imDrawListPtr.AddRectFilled(pMin, pMax, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(vector4), 6f);
|
|
imDrawListPtr.AddRect(pMin, pMax, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(vector5), 6f, ImDrawFlags.None, 1f);
|
|
Vector2 pos = vector + new Vector2(12f, 12f);
|
|
imDrawListPtr.AddText(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), fontSize, pos, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(color), text2);
|
|
Vector2 pos2 = vector + new Vector2(12f + vector2.X + num7, 12f);
|
|
imDrawListPtr.AddText(pos2, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(color), text);
|
|
_206E_202D_200E_206B_202E_202E_206A_206E_200B_202A_202D_206E_202B_206F_202A_202C_202C_206E_200C_200C_202D_200E_202A_200C_200B_202E_200D_206B_206F_200C_206A_200C_206A_206A_200D_200D_202E_202C_200C_206E_202E(new Vector2(x, y));
|
|
}
|
|
|
|
public static void EmptyState(FontAwesomeIcon icon, string title, string? hint = null)
|
|
{
|
|
float x = _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X;
|
|
_206E_202D_200E_206B_202E_202E_206A_206E_200B_202A_202D_206E_202B_206F_202A_202C_202C_206E_200C_200C_202D_200E_202A_200C_200B_202E_200D_206B_206F_200C_206A_200C_206A_206A_200D_200D_202E_202C_200C_206E_202E(new Vector2(0f, 12f));
|
|
ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
string text = _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(icon);
|
|
float fontSize = _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E() * 1.4f;
|
|
ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true);
|
|
Vector2 vector;
|
|
int num;
|
|
try
|
|
{
|
|
vector = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f) * 1.4f;
|
|
}
|
|
finally
|
|
{
|
|
num = ((fontDisposable == null) ? 145311786 : 145311785);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 145311787;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 1:
|
|
goto end_IL_0086;
|
|
case 2:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable);
|
|
num = 145311786;
|
|
break;
|
|
case 0:
|
|
num = 145311785;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_0086:
|
|
break;
|
|
}
|
|
}
|
|
Vector2 pos = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E() + new Vector2((x - vector.X) / 2f, 0f);
|
|
imDrawListPtr.AddText(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), fontSize, pos, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(MutedTextColor), text);
|
|
_206E_202D_200E_206B_202E_202E_206A_206E_200B_202A_202D_206E_202B_206F_202A_202C_202C_206E_200C_200C_202D_200E_202A_200C_200B_202E_200D_206B_206F_200C_206A_200C_206A_206A_200D_200D_202E_202C_200C_206E_202E(vector);
|
|
_200E_202D_200C_206E_200B_206A_200E_206F_200F_200C_200D_202D_200D_200E_200B_206E_206C_206F_202D_202C_206E_200D_206B_206B_206C_206B_202D_202E_206D_202B_202D_202C_206E_206E_200C_200F_206F_206C_202C_206A_202E();
|
|
_202D_200B_200D_206E_206D_200B_202A_206E_206A_200E_202C_206A_202D_202A_200C_206C_206E_206E_202A_206A_202A_202D_202C_206A_206F_200F_206D_202A_202B_200F_200E_200D_200D_206D_206F_202E_206A_202A_202D_202B_202E((x - _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)title, false, -1f).X) / 2f);
|
|
_206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref DimTextColor, (ImU8String)title);
|
|
num = ((hint == null) ? 533396990 : 533396989);
|
|
while (true)
|
|
{
|
|
int num5 = num;
|
|
int num3 = 533396991;
|
|
int num4 = num5;
|
|
int num6 = num4 + num3;
|
|
int num7 = num4 & num3;
|
|
switch (num6 - (num7 + num7))
|
|
{
|
|
case 0:
|
|
num = 533396989;
|
|
break;
|
|
case 1:
|
|
_206E_202D_200E_206B_202E_202E_206A_206E_200B_202A_202D_206E_202B_206F_202A_202C_202C_206E_200C_200C_202D_200E_202A_200C_200B_202E_200D_206B_206F_200C_206A_200C_206A_206A_200D_200D_202E_202C_200C_206E_202E(new Vector2(0f, 12f));
|
|
return;
|
|
case 2:
|
|
_200E_202D_200C_206E_200B_206A_200E_206F_200F_200C_200D_202D_200D_200E_200B_206E_206C_206F_202D_202C_206E_200D_206B_206B_206C_206B_202D_202E_206D_202B_202D_202C_206E_206E_200C_200F_206F_206C_202C_206A_202E();
|
|
_202D_200B_200D_206E_206D_200B_202A_206E_206A_200E_202C_206A_202D_202A_200C_206C_206E_206E_202A_206A_202A_202D_202C_206A_206F_200F_206D_202A_202B_200F_200E_200D_200D_206D_206F_202E_206A_202A_202D_202B_202E((x - _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)hint, false, -1f).X) / 2f);
|
|
_206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref MutedTextColor, (ImU8String)hint);
|
|
num = 533396990;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static void DrawTrackerCount(string formattedText, bool isComplete, bool isEmpty)
|
|
{
|
|
_206D_202E_202C_206C_206B_200C_200D_206C_206E_200C_202E_202E_206D_200C_200F_202C_202B_200E_200C_206A_206E_202D_206F_200B_200E_200D_200E_202B_206F_202D_202B_206D_206B_200C_200E_206A_206F_200D_206F_200F_202E(_200B_200B_206B_206E_202A_202A_206C_206C_200D_206A_206F_206C_200C_206A_206E_206B_206A_206E_202B_200B_206D_200E_206C_200F_206E_200B_202B_202C_202C_200D_200E_202D_200F_206F_206E_206A_202C_202E_202E_206B_202E());
|
|
int num = ((!isEmpty) ? (-1597827944) : (-1597827942));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1597827941;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 5:
|
|
num = -1597827942;
|
|
break;
|
|
case 0:
|
|
_200E_200D_200C_200E_200D_202E_206B_206A_200F_202E_200F_206D_200E_200B_200B_206E_200E_206A_202C_200B_202B_202B_206A_202B_200D_200D_200D_202C_206C_202E_206B_202B_206D_206A_206F_200B_202D_202B_200F_206F_202E();
|
|
return;
|
|
case 3:
|
|
num = ((!isComplete) ? (-1597827943) : (-1597827937));
|
|
break;
|
|
case 1:
|
|
_206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref StatusUnobtainable, (ImU8String)formattedText);
|
|
num = -1597827941;
|
|
break;
|
|
case 4:
|
|
_206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref StatusComplete, (ImU8String)formattedText);
|
|
num = -1597827941;
|
|
break;
|
|
case 2:
|
|
_200E_202A_206A_200E_206E_206E_206B_206B_206B_206C_206F_202A_200E_206A_200C_200E_202E_202C_206C_200E_206D_202C_200F_200C_206E_200D_200E_202D_206D_206A_200E_200B_202B_206E_206E_206B_200C_202A_206B_200C_202E((ImU8String)formattedText);
|
|
num = -1597827941;
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static void DrawTrackerGroupCaret(IFontHandle iconFontFixedWidth, bool expanded)
|
|
{
|
|
_206F_202A_202E_202B_200E_202E_206A_200C_202C_200D_202A_200B_206F_202A_206F_200B_202D_200C_206C_200C_202E_200E_202E_206C_202B_200D_202C_202D_200D_206A_202A_200E_202B_206D_200F_206E_206E_206A_206F_200E_202E(ImGuiTableBgTarget.RowBg0, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(CardBackgroundColor));
|
|
IDisposable disposable = _206B_206B_206D_206A_200E_202C_206C_206F_206E_200B_206F_200E_200D_200C_206B_206C_202C_202A_200D_206E_206F_206F_202B_206C_202E_206B_206A_200D_206B_200B_200C_202A_202A_206F_200E_206F_200B_206D_206B_202E_202E(iconFontFixedWidth);
|
|
try
|
|
{
|
|
_206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref AccentColor, (ImU8String)_200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(expanded ? FontAwesomeIcon.CaretDown : FontAwesomeIcon.CaretRight));
|
|
}
|
|
finally
|
|
{
|
|
int num = ((disposable == null) ? 261348162 : 261348161);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 261348160;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
num = 261348161;
|
|
break;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E(disposable);
|
|
num = 261348162;
|
|
break;
|
|
case 2:
|
|
goto end_IL_0061;
|
|
}
|
|
continue;
|
|
end_IL_0061:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static void DrawAltRowBackground(int rowIndex)
|
|
{
|
|
int num = ((rowIndex % 2 != 0) ? 1971807013 : 1971807012);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 1971807013;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 2:
|
|
num = 1971807012;
|
|
break;
|
|
case 1:
|
|
{
|
|
ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
Vector2 pMin = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E();
|
|
imDrawListPtr.AddRectFilled(pMax: new Vector2(pMin.X + _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X, pMin.Y + _200E_202A_206E_200F_202C_200C_200B_200F_206F_206F_206E_202E_200D_200D_202C_200E_200B_206D_206A_200E_200F_202C_206A_202C_200D_206A_202B_200E_206A_202C_206F_200B_202E_206E_202A_206D_202E_206C_206D_206E_202E()), pMin: pMin, col: AltRowColor);
|
|
num = 1971807013;
|
|
break;
|
|
}
|
|
case 0:
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static void DrawRowBackground(Vector2 topLeft, Vector2 bottomRight)
|
|
{
|
|
_206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E().AddRectFilled(topLeft, bottomRight, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(CardBackgroundColor), 3f);
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public static bool ThemedAccordion(string id, string label, string? rightText, ref bool open, bool enabled = true)
|
|
{
|
|
ImRaii.IdDisposable idDisposable = _200D_200F_206C_202D_206B_206F_206E_206E_202D_202C_202E_202B_202D_206E_202B_200E_206C_202B_202D_200E_200B_206F_202B_200E_200B_200C_202A_202A_202C_200C_206A_206F_200E_202C_200F_206F_200D_206E_200C_202D_202E((ImU8String)id, true);
|
|
try
|
|
{
|
|
float x = _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X - _cardContentRightInset;
|
|
float num = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E();
|
|
ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Header, Vector4.Zero, true);
|
|
int num2;
|
|
try
|
|
{
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.HeaderHovered, Vector4.Zero, true);
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.HeaderActive, Vector4.Zero, true);
|
|
num2 = ((!(_200C_206D_206C_202B_206F_202B_206B_200F_200F_202B_200D_206C_206D_202A_200F_200E_202A_206C_202A_200F_200B_200E_206B_206A_202B_200B_206C_200D_206C_200E_206A_202D_200F_206C_206A_200F_206E_200C_200E_200D_202E((ImU8String)global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(1054108485), false, ImGuiSelectableFlags.None, new Vector2(x, num)) && enabled)) ? (-581565881) : (-581565884));
|
|
while (true)
|
|
{
|
|
int num3 = num2;
|
|
int num4 = -581565883;
|
|
int num5 = num3;
|
|
switch ((num5 | num4) - (num5 & num4))
|
|
{
|
|
case 0:
|
|
num2 = -581565884;
|
|
break;
|
|
case 1:
|
|
open = !open;
|
|
num2 = -581565881;
|
|
break;
|
|
case 2:
|
|
goto end_IL_0090;
|
|
}
|
|
continue;
|
|
end_IL_0090:
|
|
break;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num2 = ((colorDisposable == null) ? (-1710279402) : (-1710279403));
|
|
while (true)
|
|
{
|
|
int num6 = num2;
|
|
int num4 = -1710279401;
|
|
int num5 = num6;
|
|
switch ((num5 | num4) - (num5 & num4))
|
|
{
|
|
case 1:
|
|
goto end_IL_00ff;
|
|
case 2:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable);
|
|
num2 = -1710279402;
|
|
break;
|
|
case 0:
|
|
num2 = -1710279403;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_00ff:
|
|
break;
|
|
}
|
|
}
|
|
num2 = ((!enabled) ? (-1780703774) : (-1780703775));
|
|
ImDrawListPtr imDrawListPtr = default(ImDrawListPtr);
|
|
Vector2 pMin = default(Vector2);
|
|
Vector2 pMax = default(Vector2);
|
|
float fontSize = default(float);
|
|
float num9 = default(float);
|
|
while (true)
|
|
{
|
|
int num7 = num2;
|
|
int num4 = -1780703772;
|
|
int num5 = num7;
|
|
int num11;
|
|
int num8;
|
|
float x2;
|
|
float num10;
|
|
string text;
|
|
ImRaii.FontDisposable fontDisposable;
|
|
Vector2 vector;
|
|
switch ((num5 | num4) - (num5 & num4))
|
|
{
|
|
default:
|
|
continue;
|
|
case 2:
|
|
num2 = (open ? (-1780703769) : (-1780703771));
|
|
continue;
|
|
case 5:
|
|
num11 = (_200B_202A_202D_206F_206A_200F_206A_206C_200F_202A_202B_202D_200D_200E_202A_206A_206D_206E_202A_206C_200E_206D_202A_206E_202B_200E_202A_206F_206B_202C_206D_200F_206F_206A_200C_200E_202A_206A_206C_202E_202E() ? 1 : 0);
|
|
goto IL_01e0;
|
|
case 6:
|
|
num11 = 0;
|
|
goto IL_01e0;
|
|
case 0:
|
|
num2 = -1780703775;
|
|
continue;
|
|
case 7:
|
|
imDrawListPtr.AddRectFilled(pMin, pMax, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(SubtleHoverColor), 4f);
|
|
num2 = -1780703776;
|
|
continue;
|
|
case 1:
|
|
num8 = 61658;
|
|
goto IL_02fe;
|
|
case 4:
|
|
fontSize = _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E();
|
|
num9 = pMin.X + 12f;
|
|
if (enabled)
|
|
{
|
|
num2 = -1780703770;
|
|
continue;
|
|
}
|
|
break;
|
|
case 3:
|
|
{
|
|
num8 = 61655;
|
|
goto IL_02fe;
|
|
}
|
|
IL_01e0:
|
|
pMin = _202B_200E_200C_206B_206B_206C_206E_206E_200D_206A_200E_206C_206C_200D_206B_206D_200D_206F_200E_206D_206D_202A_206A_200E_200B_200F_200C_206B_206C_202B_200D_206B_202D_206F_202E_206C_206D_202D_200F_202C_202E();
|
|
pMax = _200E_202B_202A_206C_206A_206E_206B_206C_200F_200B_206F_200D_200C_206B_202D_200D_200E_202B_206D_200E_202D_202E_200D_202D_200B_206B_200E_202E_200D_206D_200C_206F_200C_202E_206A_206D_206F_200F_206B_206E_202E();
|
|
x2 = _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().ItemSpacing.X;
|
|
num10 = _206F_200C_206A_202A_202B_206C_200C_200E_202A_200F_202C_200C_206D_202C_206D_202A_200D_206A_206F_206A_200B_202B_200C_200E_206B_206F_200B_202A_200E_206B_202E_206B_206F_200E_202B_200B_200C_202E_206F_200C_202E(x2 * 0.5f);
|
|
pMin.X += num10;
|
|
pMax.X -= x2 - num10;
|
|
imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
imDrawListPtr.AddRectFilled(pMin, pMax, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(CardBackgroundColor), 4f);
|
|
imDrawListPtr.AddRect(pMin, pMax, _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(CardBorderColor), 4f, ImDrawFlags.None, 1f);
|
|
num2 = ((num11 == 0) ? (-1780703776) : (-1780703773));
|
|
continue;
|
|
IL_02fe:
|
|
text = _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E((FontAwesomeIcon)num8);
|
|
fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true);
|
|
try
|
|
{
|
|
vector = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f);
|
|
}
|
|
finally
|
|
{
|
|
num2 = ((fontDisposable == null) ? (-309485944) : (-309485943));
|
|
while (true)
|
|
{
|
|
int num12 = num2;
|
|
num4 = -309485944;
|
|
num5 = num12;
|
|
switch ((num5 | num4) - (num5 & num4))
|
|
{
|
|
case 2:
|
|
num2 = -309485943;
|
|
break;
|
|
case 0:
|
|
goto end_IL_034a;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable);
|
|
num2 = -309485944;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_034a:
|
|
break;
|
|
}
|
|
}
|
|
imDrawListPtr.AddText(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), fontSize, new Vector2(num9, pMin.Y + (num - vector.Y) / 2f), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(AccentColor), text);
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
Vector2 vector2 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)label, false, -1f);
|
|
imDrawListPtr.AddText(new Vector2(num9 + 18f, pMin.Y + (num - vector2.Y) / 2f), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(enabled ? PrimaryTextColor : DimTextColor), label);
|
|
if (!_202B_200F_206E_202D_200E_202B_202B_206C_206E_202B_200C_206B_202C_206A_200E_200F_202D_202C_206C_202B_202B_202E_200B_202D_202C_206A_206E_206A_202B_206D_206B_202A_200E_206A_206B_206E_200D_200E_202D_200E_202E(rightText))
|
|
{
|
|
ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_200B_200B_206B_206E_202A_202A_206C_206C_200D_206A_206F_206C_200C_206A_206E_206B_206A_206E_202B_200B_206D_200E_206C_200F_206E_200B_202B_202C_202C_200D_200E_202D_200F_206F_206E_206A_202C_202E_202E_206B_202E(), true);
|
|
Vector2 vector3;
|
|
try
|
|
{
|
|
vector3 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)rightText, false, -1f);
|
|
}
|
|
finally
|
|
{
|
|
num2 = ((fontDisposable == null) ? (-700255459) : (-700255460));
|
|
while (true)
|
|
{
|
|
int num13 = num2;
|
|
int num4 = -700255459;
|
|
int num5 = num13;
|
|
switch ((num5 | num4) - (num5 & num4))
|
|
{
|
|
case 2:
|
|
num2 = -700255460;
|
|
break;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable);
|
|
num2 = -700255459;
|
|
break;
|
|
case 0:
|
|
goto end_IL_0484;
|
|
}
|
|
continue;
|
|
end_IL_0484:
|
|
break;
|
|
}
|
|
}
|
|
float x3 = pMax.X - 12f - vector3.X;
|
|
imDrawListPtr.AddText(_200B_200B_206B_206E_202A_202A_206C_206C_200D_206A_206F_206C_200C_206A_206E_206B_206A_206E_202B_200B_206D_200E_206C_200F_206E_200B_202B_202C_202C_200D_200E_202D_200F_206F_206E_206A_202C_202E_202E_206B_202E(), fontSize, new Vector2(x3, pMin.Y + (num - vector3.Y) / 2f), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(DimTextColor), rightText);
|
|
}
|
|
return open;
|
|
}
|
|
finally
|
|
{
|
|
int num2 = ((idDisposable == null) ? (-2111830654) : (-2111830655));
|
|
while (true)
|
|
{
|
|
int num14 = num2;
|
|
int num4 = -2111830656;
|
|
int num5 = num14;
|
|
switch ((num5 | num4) - (num5 & num4))
|
|
{
|
|
case 0:
|
|
num2 = -2111830655;
|
|
break;
|
|
case 2:
|
|
goto end_IL_054e;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)idDisposable);
|
|
num2 = -2111830654;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_054e:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public static bool WrappedCheckbox(string label, ref bool value, string? infoTooltip = null)
|
|
{
|
|
ImU8String imU8String = new ImU8String(2, 1);
|
|
imU8String.AppendLiteral(global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(417604067));
|
|
imU8String.AppendFormatted(label);
|
|
bool result = _206F_202C_206C_200E_206C_206C_206B_200F_206C_200E_206A_206E_200E_202E_206B_206A_206C_202B_206C_202C_200C_202C_206B_200D_200C_206A_206E_200E_206D_206D_200D_202A_206F_206C_200F_206B_206F_200F_200C_206F_202E(imU8String, ref value);
|
|
_206D_206A_206D_202E_206E_206F_206F_206B_200F_200F_202A_206E_206C_200F_200D_200B_206D_206F_206E_206A_202C_200F_206A_200D_200C_206D_206A_206C_206A_206A_206C_206D_202E_202B_206F_200F_200D_200E_206E_202A_202E();
|
|
if (infoTooltip != null)
|
|
{
|
|
ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true);
|
|
float x;
|
|
try
|
|
{
|
|
x = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)_200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(FontAwesomeIcon.InfoCircle), false, -1f).X;
|
|
}
|
|
finally
|
|
{
|
|
int num = ((fontDisposable == null) ? (-1353435682) : (-1353435683));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1353435681;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = -1353435683;
|
|
break;
|
|
case 2:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable);
|
|
num = -1353435682;
|
|
break;
|
|
case 1:
|
|
goto end_IL_0084;
|
|
}
|
|
continue;
|
|
end_IL_0084:
|
|
break;
|
|
}
|
|
}
|
|
_202C_200D_202A_206C_200E_202C_200B_200B_202A_206B_202E_202C_202C_200D_206B_202D_200D_206B_202B_206E_206D_202C_200E_202A_202D_206A_206C_202C_202A_200D_202A_200B_200E_206B_202B_200F_202E_202B_200C_200F_202E(_202D_200B_200D_202B_202D_206D_200D_206C_206B_200D_200B_206C_206D_200C_202E_206D_206C_200B_202B_202D_200D_200F_200C_202E_200E_202A_206C_206A_206D_202D_200C_202E_206F_206C_206E_202C_200D_206B_206B_200C_202E() + _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X - x - _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().ItemSpacing.X);
|
|
_202E_202B_206B_202E_206E_206A_202E_202A_202B_206C_206E_206D_200C_202A_206D_200C_206A_202E_200D_202C_200F_206B_206C_202E_202A_206F_200E_200B_200C_206C_202C_202E_206A_200C_206E_200D_202E_202A_200F_202C_202E((ImU8String)label);
|
|
_200C_200C_206E_200B_200E_202C_200E_206D_206C_202C_200D_202C_200D_206B_202C_206D_202D_206C_200E_202D_206A_206B_206D_202C_200C_206A_202D_200E_200E_200B_206C_202B_200D_200F_206D_202A_202C_200B_202E_202A_202E();
|
|
_206D_206A_206D_202E_206E_206F_206F_206B_200F_200F_202A_206E_206C_200F_200D_200B_206D_206F_206E_206A_202C_200F_206A_200D_200C_206D_206A_206C_206A_206A_206C_206D_202E_202B_206F_200F_200D_200E_206E_202A_202E();
|
|
fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true);
|
|
try
|
|
{
|
|
_206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref DimTextColor, (ImU8String)_200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(FontAwesomeIcon.InfoCircle));
|
|
}
|
|
finally
|
|
{
|
|
int num = ((fontDisposable == null) ? 177849368 : 177849371);
|
|
while (true)
|
|
{
|
|
int num5 = num;
|
|
int num3 = 177849369;
|
|
int num4 = num5;
|
|
int num6 = num4 + num3;
|
|
int num7 = num4 & num3;
|
|
switch (num6 - (num7 + num7))
|
|
{
|
|
case 1:
|
|
goto end_IL_0157;
|
|
case 2:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable);
|
|
num = 177849368;
|
|
break;
|
|
case 0:
|
|
num = 177849371;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_0157:
|
|
break;
|
|
}
|
|
}
|
|
if (_200B_202A_202D_206F_206A_200F_206A_206C_200F_202A_202B_202D_200D_200E_202A_206A_206D_206E_202A_206C_200E_206D_202A_206E_202B_200E_202A_206F_206B_202C_206D_200F_206F_206A_200C_200E_202A_206A_206C_202E_202E())
|
|
{
|
|
using (_200D_202A_206C_206B_206E_202D_202E_200D_202A_200C_206F_206B_206D_200B_202D_200F_200D_206D_202A_206A_200D_206A_200D_200B_202C_206F_200C_200C_206C_200C_206A_200C_206E_202C_206D_202B_206E_202B_206C_200F_202E())
|
|
{
|
|
_202C_200D_202A_206C_200E_202C_200B_200B_202A_206B_202E_202C_202C_200D_206B_202D_200D_206B_202B_206E_206D_202C_200E_202A_202D_206A_206C_202C_202A_200D_202A_200B_200E_206B_202B_200F_202E_202B_200C_200F_202E(400f);
|
|
_202E_202B_206B_202E_206E_206A_202E_202A_202B_206C_206E_206D_200C_202A_206D_200C_206A_202E_200D_202C_200F_206B_206C_202E_202A_206F_200E_200B_200C_206C_202C_202E_206A_200C_206E_200D_202E_202A_200F_202C_202E((ImU8String)infoTooltip);
|
|
_200C_200C_206E_200B_200E_202C_200E_206D_206C_202C_200D_202C_200D_206B_202C_206D_202D_206C_200E_202D_206A_206B_206D_202C_200C_206A_202D_200E_200E_200B_206C_202B_200D_200F_206D_202A_202C_200B_202E_202A_202E();
|
|
}
|
|
}
|
|
}
|
|
else
|
|
{
|
|
_202C_200D_202A_206C_200E_202C_200B_200B_202A_206B_202E_202C_202C_200D_206B_202D_200D_206B_202B_206E_206D_202C_200E_202A_202D_206A_206C_202C_202A_200D_202A_200B_200E_206B_202B_200F_202E_202B_200C_200F_202E(0f);
|
|
_202E_202B_206B_202E_206E_206A_202E_202A_202B_206C_206E_206D_200C_202A_206D_200C_206A_202E_200D_202C_200F_206B_206C_202E_202A_206F_200E_200B_200C_206C_202C_202E_206A_200C_206E_200D_202E_202A_200F_202C_202E((ImU8String)label);
|
|
_200C_200C_206E_200B_200E_202C_200E_206D_206C_202C_200D_202C_200D_206B_202C_206D_202D_206C_200E_202D_206A_206B_206D_202C_200C_206A_202D_200E_200E_200B_206C_202B_200D_200F_206D_202A_202C_200B_202E_202A_202E();
|
|
}
|
|
return result;
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public static int CheckboxGrid(string id, ReadOnlySpan<GridCheckbox> items, int columns = 2)
|
|
{
|
|
ImRaii.IdDisposable idDisposable = _200D_200F_206C_202D_206B_206F_206E_206E_202D_202C_202E_202B_202D_206E_202B_200E_206C_202B_202D_200E_200B_206F_202B_200E_200B_200C_202A_202A_202C_200C_206A_206F_200E_202C_200F_206F_200D_206E_200C_202D_202E((ImU8String)id, true);
|
|
try
|
|
{
|
|
float x = _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X;
|
|
float x2 = _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().ItemSpacing.X;
|
|
float num = 0f;
|
|
ReadOnlySpan<GridCheckbox> readOnlySpan = items;
|
|
int num2 = 0;
|
|
int num3 = -1026376026;
|
|
int num8 = default(int);
|
|
float num11 = default(float);
|
|
float num7 = default(float);
|
|
int result = default(int);
|
|
while (true)
|
|
{
|
|
int num4 = num3;
|
|
int num5 = -1026376019;
|
|
int num6 = num4;
|
|
switch ((num6 | num5) - (num6 & num5))
|
|
{
|
|
case 1:
|
|
_206D_206A_206D_202E_206E_206F_206F_206B_200F_200F_202A_206E_206C_200F_200D_200B_206D_206F_206E_206A_202C_200F_206A_200D_200C_206D_206A_206C_206A_206A_206C_206D_202E_202B_206F_200F_200D_200E_206E_202A_202E();
|
|
_200E_202A_206A_200E_206E_206E_206B_206B_206B_206C_206F_202A_200E_206A_200C_200E_202E_202C_206C_200E_206D_202C_200F_200C_206E_200D_200E_202D_206D_206A_200E_200B_202B_206E_206E_206B_200C_202A_206B_200C_202E((ImU8String)items[num8].Label);
|
|
num3 = ((items[num8].Tooltip == null) ? (-1026376004) : (-1026376018));
|
|
break;
|
|
case 3:
|
|
_206D_206A_206D_202E_206E_206F_206F_206B_200F_200F_202A_206E_206C_200F_200D_200B_206D_206F_206E_206A_202C_200F_206A_200D_200C_206D_206A_206C_206A_206A_206C_206D_202E_202B_206F_200F_200D_200E_206E_202A_202E();
|
|
InfoIcon(items[num8].Tooltip);
|
|
num3 = -1026376004;
|
|
break;
|
|
case 7:
|
|
num11 += x2 + _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E();
|
|
num3 = -1026376017;
|
|
break;
|
|
case 6:
|
|
num3 = ((num > x / (float)columns) ? (-1026376029) : (-1026376032));
|
|
break;
|
|
case 13:
|
|
num7 = x / (float)columns;
|
|
result = -1;
|
|
num8 = 0;
|
|
num3 = -1026376031;
|
|
break;
|
|
case 2:
|
|
{
|
|
num = _206D_202B_202D_200F_206A_200D_206E_206C_202C_206B_200E_206B_206B_206C_206B_200E_202C_206C_202A_206F_206E_200E_202A_202A_200B_206F_202C_200C_206E_206D_206F_202E_200F_206B_206D_202E_206E_200C_200C_202C_202E(num, num11);
|
|
int num12 = num2;
|
|
num5 = 1;
|
|
num6 = num12;
|
|
int num13 = num6 ^ num5;
|
|
int num14 = num6 & num5;
|
|
num2 = num13 + (num14 + num14);
|
|
num3 = -1026376026;
|
|
break;
|
|
}
|
|
case 0:
|
|
{
|
|
bool value = items[num8].Value;
|
|
ImU8String imU8String = new ImU8String(4, 1);
|
|
imU8String.AppendLiteral(global::_003CModule_003E._202D_206D_206A_206E_202C_202B_200C_206C_200E_206A_206D_200E_206A_202A_200C_202E_206E_202C_206F_200B_206D_206F_200C_202C_200B_202B_200F_200B_206A_206F_200F_202E_206B_200E_202B_202A_200F_200B_202A_200E_202E<string>(-1503654672));
|
|
imU8String.AppendFormatted(num8);
|
|
num3 = ((!_206F_202C_206C_200E_206C_206C_206B_200F_206C_200E_206A_206E_200E_202E_206B_206A_206C_202B_206C_202C_200C_202C_206B_200D_200C_206A_206E_200E_206D_206D_200D_202A_206F_206C_200F_206B_206F_200F_200C_206F_202E(imU8String, ref value)) ? (-1026376020) : (-1026376001));
|
|
break;
|
|
}
|
|
case 4:
|
|
num3 = ((columns <= 1) ? (-1026376032) : (-1026376021));
|
|
break;
|
|
case 18:
|
|
result = num8;
|
|
num3 = -1026376020;
|
|
break;
|
|
case 9:
|
|
num3 = -1026376023;
|
|
break;
|
|
case 15:
|
|
{
|
|
GridCheckbox gridCheckbox = readOnlySpan[num2];
|
|
num11 = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E() + x2 + _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)gridCheckbox.Label, false, -1f).X;
|
|
num3 = ((gridCheckbox.Tooltip == null) ? (-1026376017) : (-1026376022));
|
|
break;
|
|
}
|
|
case 8:
|
|
num3 = ((num8 % columns == 0) ? (-1026376019) : (-1026376025));
|
|
break;
|
|
case 12:
|
|
num3 = ((num8 < items.Length) ? (-1026376027) : (-1026376003));
|
|
break;
|
|
case 5:
|
|
num3 = -1026376026;
|
|
break;
|
|
case 11:
|
|
num3 = ((num2 < readOnlySpan.Length) ? (-1026376030) : (-1026376028));
|
|
break;
|
|
case 14:
|
|
{
|
|
int num10 = columns;
|
|
num5 = 1;
|
|
num6 = num10;
|
|
columns = ~(~num6 + num5);
|
|
num3 = -1026376023;
|
|
break;
|
|
}
|
|
case 17:
|
|
{
|
|
int num9 = num8;
|
|
num5 = 1;
|
|
num6 = num9;
|
|
num8 = (num6 | num5) + (num6 & num5);
|
|
num3 = -1026376031;
|
|
break;
|
|
}
|
|
case 10:
|
|
_202A_200B_206D_202A_206E_206E_206A_202E_206E_206A_202B_200E_206E_200E_202D_206B_206B_206B_200B_206E_200D_202E_206D_200D_206E_206F_202C_206B_200F_206E_200C_200F_202D_200C_200B_202E_202C_202B_200D_206B_202E(num7 * (float)(num8 % columns));
|
|
num3 = -1026376019;
|
|
break;
|
|
case 16:
|
|
return result;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
int num3 = ((idDisposable == null) ? 242126912 : 242126915);
|
|
while (true)
|
|
{
|
|
int num15 = num3;
|
|
int num5 = 242126913;
|
|
int num6 = num15;
|
|
switch ((num6 | num5) - (num6 & num5))
|
|
{
|
|
case 0:
|
|
num3 = 242126915;
|
|
break;
|
|
case 2:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)idDisposable);
|
|
num3 = 242126912;
|
|
break;
|
|
case 1:
|
|
goto end_IL_037b;
|
|
}
|
|
continue;
|
|
end_IL_037b:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static bool SearchInput(string id, ref string text, float width = -1E-45f, string hint = "Search...")
|
|
{
|
|
_202E_202A_202C_206B_200E_200F_200E_206F_206C_202C_202A_202C_206D_202C_200B_202E_200E_202A_202D_200C_206B_200C_200B_206B_206E_200F_202E_206A_202C_206E_206C_202C_200B_200E_206F_206A_202C_202C_206C_206E_202E(width);
|
|
return _200D_206B_202B_200D_206F_206E_200B_202B_200F_206E_202D_206A_206D_206F_200F_206F_200C_206A_202E_206E_206E_200F_202C_206A_202A_202B_206A_202D_206C_200F_200C_206D_200F_206E_200C_200B_202A_206F_200F_206A_202E((ImU8String)id, (ImU8String)hint, ref text, 256, ImGuiInputTextFlags.None, (ImGui.ImGuiInputTextCallbackDelegate)null);
|
|
}
|
|
|
|
public static void InfoIcon(string tooltip)
|
|
{
|
|
ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true);
|
|
try
|
|
{
|
|
_206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref DimTextColor, (ImU8String)_200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(FontAwesomeIcon.InfoCircle));
|
|
}
|
|
finally
|
|
{
|
|
int num = ((fontDisposable == null) ? 1404360823 : 1404360820);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 1404360821;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 2:
|
|
goto end_IL_0046;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable);
|
|
num = 1404360823;
|
|
break;
|
|
case 0:
|
|
num = 1404360820;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_0046:
|
|
break;
|
|
}
|
|
}
|
|
if (_200B_202A_202D_206F_206A_200F_206A_206C_200F_202A_202B_202D_200D_200E_202A_206A_206D_206E_202A_206C_200E_206D_202A_206E_202B_200E_202A_206F_206B_202C_206D_200F_206F_206A_200C_200E_202A_206A_206C_202E_202E())
|
|
{
|
|
using (_200D_202A_206C_206B_206E_202D_202E_200D_202A_200C_206F_206B_206D_200B_202D_200F_200D_206D_202A_206A_200D_206A_200D_200B_202C_206F_200C_200C_206C_200C_206A_200C_206E_202C_206D_202B_206E_202B_206C_200F_202E())
|
|
{
|
|
_202C_200D_202A_206C_200E_202C_200B_200B_202A_206B_202E_202C_202C_200D_206B_202D_200D_206B_202B_206E_206D_202C_200E_202A_202D_206A_206C_202C_202A_200D_202A_200B_200E_206B_202B_200F_202E_202B_200C_200F_202E(400f);
|
|
_202E_202B_206B_202E_206E_206A_202E_202A_202B_206C_206E_206D_200C_202A_206D_200C_206A_202E_200D_202C_200F_206B_206C_202E_202A_206F_200E_200B_200C_206C_202C_202E_206A_200C_206E_200D_202E_202A_200F_202C_202E((ImU8String)tooltip);
|
|
_200C_200C_206E_200B_200E_202C_200E_206D_206C_202C_200D_202C_200D_206B_202C_206D_202D_206C_200E_202D_206A_206B_206D_202C_200C_206A_202D_200E_200E_200B_206C_202B_200D_200F_206D_202A_202C_200B_202E_202A_202E();
|
|
}
|
|
}
|
|
}
|
|
|
|
public static bool AccentSliderInt(string label, ref int value, int min, int max, float width = 250f)
|
|
{
|
|
ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
Vector2 pMin = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E();
|
|
float num = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E();
|
|
int num2 = ((max > min) ? (-664033253) : (-664033256));
|
|
float num7;
|
|
while (true)
|
|
{
|
|
int num3 = num2;
|
|
int num4 = -664033254;
|
|
int num5 = num3;
|
|
switch ((num5 | num4) - (num5 & num4))
|
|
{
|
|
default:
|
|
continue;
|
|
case 0:
|
|
goto IL_005d;
|
|
case 2:
|
|
num7 = 0f;
|
|
break;
|
|
case 1:
|
|
{
|
|
float num6 = value - min;
|
|
num4 = min;
|
|
num5 = max;
|
|
num7 = num6 / (float)(~(~num5 + num4));
|
|
break;
|
|
}
|
|
}
|
|
break;
|
|
IL_005d:
|
|
num2 = -664033256;
|
|
}
|
|
float num8 = num7;
|
|
imDrawListPtr.AddRectFilled(pMin, new Vector2(pMin.X + width * num8, pMin.Y + num), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(AccentDimColor), 4f);
|
|
ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.FrameBg, new Vector4(0.15f, 0.12f, 0.2f, 0.5f), true);
|
|
try
|
|
{
|
|
_202E_202A_202C_206B_200E_200F_200E_206F_206C_202C_202A_202C_206D_202C_200B_202E_200E_202A_202D_200C_206B_200C_200B_206B_206E_200F_202E_206A_202C_206E_206C_202C_200B_200E_206F_206A_202C_202C_206C_206E_202E(width);
|
|
return _202C_206B_206D_206D_202D_202A_202D_202D_202D_202E_202C_200C_200E_200C_202C_200D_206D_200C_200E_206A_202B_202C_200D_206B_200F_202D_200C_202E_202B_206C_200B_206D_200C_206A_200D_200C_200C_200F_202A_200D_202E((ImU8String)label, ref value, min, max, default(ImU8String), ImGuiSliderFlags.None);
|
|
}
|
|
finally
|
|
{
|
|
num2 = ((colorDisposable == null) ? 577315354 : 577315353);
|
|
while (true)
|
|
{
|
|
int num9 = num2;
|
|
int num4 = 577315352;
|
|
int num5 = num9;
|
|
int num10 = num5 + num4;
|
|
int num11 = num5 & num4;
|
|
switch (num10 - (num11 + num11))
|
|
{
|
|
case 2:
|
|
goto end_IL_012b;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable);
|
|
num2 = 577315354;
|
|
break;
|
|
case 0:
|
|
num2 = 577315353;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_012b:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static bool AccentSliderFloat(string label, ref float value, float min, float max, string format = "%.1f", float width = 250f)
|
|
{
|
|
ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
Vector2 pMin = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E();
|
|
float num = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E();
|
|
int num2 = ((max > min) ? 1057697420 : 1057697423);
|
|
float num8;
|
|
while (true)
|
|
{
|
|
int num3 = num2;
|
|
int num4 = 1057697422;
|
|
int num5 = num3;
|
|
int num6 = num5 + num4;
|
|
int num7 = num5 & num4;
|
|
switch (num6 - (num7 + num7))
|
|
{
|
|
default:
|
|
continue;
|
|
case 0:
|
|
goto IL_005f;
|
|
case 1:
|
|
num8 = 0f;
|
|
break;
|
|
case 2:
|
|
num8 = (value - min) / (max - min);
|
|
break;
|
|
}
|
|
break;
|
|
IL_005f:
|
|
num2 = 1057697423;
|
|
}
|
|
float num9 = num8;
|
|
imDrawListPtr.AddRectFilled(pMin, new Vector2(pMin.X + width * num9, pMin.Y + num), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(AccentDimColor), 4f);
|
|
ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.FrameBg, new Vector4(0.15f, 0.12f, 0.2f, 0.5f), true);
|
|
try
|
|
{
|
|
_202E_202A_202C_206B_200E_200F_200E_206F_206C_202C_202A_202C_206D_202C_200B_202E_200E_202A_202D_200C_206B_200C_200B_206B_206E_200F_202E_206A_202C_206E_206C_202C_200B_200E_206F_206A_202C_202C_206C_206E_202E(width);
|
|
return _200D_202C_206A_200D_200C_200E_200D_202A_202E_202E_200C_206D_206E_202A_200C_200F_200E_200C_202C_202B_202D_206C_202E_202B_206B_200B_202E_202E_202D_206A_206A_202B_206F_206E_206B_206E_202D_202E_202A_206E_202E((ImU8String)label, ref value, min, max, (ImU8String)format, ImGuiSliderFlags.None);
|
|
}
|
|
finally
|
|
{
|
|
num2 = ((colorDisposable == null) ? (-509645182) : (-509645183));
|
|
while (true)
|
|
{
|
|
int num10 = num2;
|
|
int num4 = -509645181;
|
|
int num5 = num10;
|
|
int num11 = num5 + num4;
|
|
int num12 = num5 & num4;
|
|
switch (num11 - (num12 + num12))
|
|
{
|
|
case 0:
|
|
num2 = -509645183;
|
|
break;
|
|
case 2:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable);
|
|
num2 = -509645182;
|
|
break;
|
|
case 1:
|
|
goto end_IL_011e;
|
|
}
|
|
continue;
|
|
end_IL_011e:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static bool ThemedCombo(string label, ref int currentItem, string[] items, int itemCount)
|
|
{
|
|
ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.FrameBg, new Vector4(0.15f, 0.12f, 0.2f, 0.65f), true);
|
|
try
|
|
{
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.FrameBgHovered, new Vector4(0.2f, 0.16f, 0.28f, 0.75f), true);
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.FrameBgActive, new Vector4(0.22f, 0.18f, 0.3f, 0.85f), true);
|
|
int num = ((currentItem < 0) ? (-660884539) : (-660884541));
|
|
bool flag = default(bool);
|
|
bool result = default(bool);
|
|
ImDrawListPtr imDrawListPtr = default(ImDrawListPtr);
|
|
Vector2 vector = default(Vector2);
|
|
float num17 = default(float);
|
|
float num18 = default(float);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -660884543;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
object obj;
|
|
string text;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
default:
|
|
continue;
|
|
case 0:
|
|
obj = items[currentItem];
|
|
goto IL_00c0;
|
|
case 4:
|
|
obj = string.Empty;
|
|
goto IL_00c0;
|
|
case 2:
|
|
num = ((currentItem < itemCount) ? (-660884543) : (-660884539));
|
|
continue;
|
|
case 3:
|
|
num = -660884541;
|
|
continue;
|
|
case 1:
|
|
{
|
|
Vector4 accentColor = AccentColor;
|
|
accentColor.W = 0.35f;
|
|
ImRaii.ColorDisposable colorDisposable2 = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Header, accentColor, true);
|
|
try
|
|
{
|
|
accentColor = AccentColor;
|
|
accentColor.W = 0.45f;
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable2, ImGuiCol.HeaderHovered, accentColor, true);
|
|
accentColor = AccentColor;
|
|
accentColor.W = 0.6f;
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable2, ImGuiCol.HeaderActive, accentColor, true);
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable2, ImGuiCol.Text, new Vector4(0.95f, 0.95f, 1f, 1f), true);
|
|
int num7 = 0;
|
|
num = -1523793301;
|
|
while (true)
|
|
{
|
|
int num8 = num;
|
|
num3 = -1523793297;
|
|
num4 = num8;
|
|
int num9 = num4 + num3;
|
|
int num10 = num4 & num3;
|
|
switch (num9 - (num10 + num10))
|
|
{
|
|
case 7:
|
|
num = -1523793301;
|
|
break;
|
|
case 4:
|
|
num = ((num7 < itemCount) ? (-1523793298) : (-1523793303));
|
|
break;
|
|
case 3:
|
|
{
|
|
int num11 = num7;
|
|
num3 = 1;
|
|
num4 = num11;
|
|
int num12 = num4 ^ num3;
|
|
int num13 = num4 & num3;
|
|
num7 = num12 + (num13 + num13);
|
|
num = -1523793301;
|
|
break;
|
|
}
|
|
case 1:
|
|
flag = num7 == currentItem;
|
|
num = ((!_200C_206D_206C_202B_206F_202B_206B_200F_200F_202B_200D_206C_206D_202A_200F_200E_202A_206C_202A_200F_200B_200E_206B_206A_202B_200B_206C_200D_206C_200E_206A_202D_200F_206C_206A_200F_206E_200C_200E_200D_202E((ImU8String)items[num7], flag, ImGuiSelectableFlags.None, default(Vector2))) ? (-1523793299) : (-1523793302));
|
|
break;
|
|
case 2:
|
|
num = ((!flag) ? (-1523793300) : (-1523793297));
|
|
break;
|
|
case 5:
|
|
currentItem = num7;
|
|
result = true;
|
|
num = -1523793299;
|
|
break;
|
|
case 0:
|
|
_200E_202D_202E_200E_202E_202A_206F_202A_206E_202D_202A_206A_206A_206F_206D_200C_202B_200F_200C_206E_206F_202A_206B_200B_200C_206A_202E_202E_202B_202C_206B_202C_202C_202B_202C_202C_206A_206D_200F_200F_202E();
|
|
num = -1523793300;
|
|
break;
|
|
case 6:
|
|
_202C_206B_202D_206E_202D_206D_206B_200D_200E_206D_200F_200C_202C_200B_200F_202E_206E_206F_202D_206A_202A_202D_200E_200D_206C_202E_202B_202A_206D_200E_202B_200C_200C_200D_206B_202B_202D_202B_206E_206E_202E();
|
|
goto end_IL_01d5;
|
|
}
|
|
continue;
|
|
end_IL_01d5:
|
|
break;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num = ((colorDisposable2 == null) ? (-1128559037) : (-1128559040));
|
|
while (true)
|
|
{
|
|
int num14 = num;
|
|
num3 = -1128559038;
|
|
num4 = num14;
|
|
int num15 = num4 + num3;
|
|
int num16 = num4 & num3;
|
|
switch (num15 - (num16 + num16))
|
|
{
|
|
case 0:
|
|
num = -1128559040;
|
|
break;
|
|
case 2:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable2);
|
|
num = -1128559037;
|
|
break;
|
|
case 1:
|
|
goto end_IL_0311;
|
|
}
|
|
continue;
|
|
end_IL_0311:
|
|
break;
|
|
}
|
|
}
|
|
break;
|
|
}
|
|
IL_00c0:
|
|
text = (string)obj;
|
|
imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
vector = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E();
|
|
num17 = _202B_202A_202C_200B_200F_206C_206C_206C_202C_206A_200F_206F_206A_200B_206F_200B_202E_206A_200D_200F_202D_202C_200D_206F_206A_206C_202E_200C_206A_206A_202C_202E_206C_202B_206A_206D_202A_202B_206D_200D_202E();
|
|
num18 = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E();
|
|
result = false;
|
|
if (_206C_206C_200D_202E_200C_206E_200E_206B_206C_200E_200B_200B_206A_202E_206E_202E_206C_206D_200D_202D_200C_206A_202E_206D_206B_206E_200B_202B_200D_202E_202A_206D_206C_200F_200B_200C_200B_202D_206D_202D_202E((ImU8String)label, (ImU8String)text, ImGuiComboFlags.NoArrowButton))
|
|
{
|
|
num = -660884544;
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
float x = _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().FramePadding.X;
|
|
float num19 = 5f;
|
|
float num20 = vector.X + num17 - x - num19;
|
|
float num21 = vector.Y + num18 * 0.5f;
|
|
imDrawListPtr.AddTriangleFilled(new Vector2(num20 - num19 * 0.5f, num21 - num19 * 0.4f), new Vector2(num20 + num19 * 0.5f, num21 - num19 * 0.4f), new Vector2(num20, num21 + num19 * 0.5f), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(DimTextColor));
|
|
return result;
|
|
}
|
|
finally
|
|
{
|
|
int num = ((colorDisposable == null) ? (-497719698) : (-497719697));
|
|
while (true)
|
|
{
|
|
int num22 = num;
|
|
int num3 = -497719698;
|
|
int num4 = num22;
|
|
int num23 = num4 + num3;
|
|
int num24 = num4 & num3;
|
|
switch (num23 - (num24 + num24))
|
|
{
|
|
case 0:
|
|
goto end_IL_041d;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable);
|
|
num = -497719698;
|
|
break;
|
|
case 2:
|
|
num = -497719697;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_041d:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public static bool SearchableCombo(string label, ref int currentItem, string[] items, ref string searchText, float width = 250f, string? previewOverride = null)
|
|
{
|
|
ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.FrameBg, new Vector4(0.15f, 0.12f, 0.2f, 0.65f), true);
|
|
try
|
|
{
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.FrameBgHovered, new Vector4(0.2f, 0.16f, 0.28f, 0.75f), true);
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.FrameBgActive, new Vector4(0.22f, 0.18f, 0.3f, 0.85f), true);
|
|
object obj = previewOverride;
|
|
int num;
|
|
if (obj == null)
|
|
{
|
|
num = ((currentItem < 0) ? (-1685579580) : (-1685579579));
|
|
goto IL_008f;
|
|
}
|
|
goto IL_00d5;
|
|
IL_0613:
|
|
float x = _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().FramePadding.X;
|
|
float num2 = 5f;
|
|
Vector2 vector = default(Vector2);
|
|
float num4 = default(float);
|
|
float num3 = vector.X + num4 - x - num2;
|
|
float num6 = default(float);
|
|
float num5 = vector.Y + num6 * 0.5f;
|
|
ImDrawListPtr imDrawListPtr = default(ImDrawListPtr);
|
|
imDrawListPtr.AddTriangleFilled(new Vector2(num3 - num2 * 0.5f, num5 - num2 * 0.4f), new Vector2(num3 + num2 * 0.5f, num5 - num2 * 0.4f), new Vector2(num3, num5 + num2 * 0.5f), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(DimTextColor));
|
|
bool result = default(bool);
|
|
return result;
|
|
IL_00d5:
|
|
string text = (string)obj;
|
|
_202E_202A_202C_206B_200E_200F_200E_206F_206C_202C_202A_202C_206D_202C_200B_202E_200E_202A_202D_200C_206B_200C_200B_206B_206E_200F_202E_206A_202C_206E_206C_202C_200B_200E_206F_206A_202C_202C_206C_206E_202E(width);
|
|
imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
vector = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E();
|
|
num4 = _202B_202A_202C_200B_200F_206C_206C_206C_202C_206A_200F_206F_206A_200B_206F_200B_202E_206A_200D_200F_202D_202C_200D_206F_206A_206C_202E_200C_206A_206A_202C_202E_206C_202B_206A_206D_202A_202B_206D_200D_202E();
|
|
num6 = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E();
|
|
result = false;
|
|
if (_206C_206C_200D_202E_200C_206E_200E_206B_206C_200E_200B_200B_206A_202E_206E_202E_206C_206D_200D_202D_200C_206A_202E_206D_206B_206E_200B_202B_200D_202E_202A_206D_206C_200F_200B_200C_200B_202D_206D_202D_202E((ImU8String)label, (ImU8String)text, ImGuiComboFlags.NoArrowButton))
|
|
{
|
|
num = -1685579578;
|
|
goto IL_008f;
|
|
}
|
|
goto IL_0613;
|
|
IL_0140:
|
|
obj = string.Empty;
|
|
goto IL_00d5;
|
|
IL_008f:
|
|
while (true)
|
|
{
|
|
int num7 = num;
|
|
int num8 = -1685579578;
|
|
int num9 = num7;
|
|
int num10 = num9 + num8;
|
|
int num11 = num9 & num8;
|
|
switch (num10 - (num11 + num11))
|
|
{
|
|
case 4:
|
|
num = -1685579579;
|
|
break;
|
|
case 1:
|
|
goto end_IL_008f;
|
|
case 3:
|
|
goto IL_011e;
|
|
case 2:
|
|
goto IL_0140;
|
|
case 0:
|
|
goto IL_0156;
|
|
}
|
|
continue;
|
|
IL_011e:
|
|
num = ((currentItem < items.Length) ? (-1685579577) : (-1685579580));
|
|
continue;
|
|
end_IL_008f:
|
|
break;
|
|
}
|
|
obj = items[currentItem];
|
|
goto IL_00d5;
|
|
IL_0156:
|
|
Vector4 accentColor = AccentColor;
|
|
accentColor.W = 0.35f;
|
|
ImRaii.ColorDisposable colorDisposable2 = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Header, accentColor, true);
|
|
try
|
|
{
|
|
accentColor = AccentColor;
|
|
accentColor.W = 0.45f;
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable2, ImGuiCol.HeaderHovered, accentColor, true);
|
|
accentColor = AccentColor;
|
|
accentColor.W = 0.6f;
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable2, ImGuiCol.HeaderActive, accentColor, true);
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable2, ImGuiCol.Text, new Vector4(0.95f, 0.95f, 1f, 1f), true);
|
|
num = ((!_206E_202B_202D_206F_200C_206D_206D_206C_206F_200F_202A_202C_206B_202B_200C_202C_206D_200B_206F_202E_202B_206E_206E_202B_200D_206F_202C_200C_206D_200E_206B_200F_206E_202E_206E_206F_206E_200E_200F_206F_202E()) ? 569075453 : 569075443);
|
|
int num15 = default(int);
|
|
int num21 = default(int);
|
|
string[] array = default(string[]);
|
|
int num17 = default(int);
|
|
bool flag = default(bool);
|
|
while (true)
|
|
{
|
|
int num12 = num;
|
|
int num8 = 569075451;
|
|
int num9 = num12;
|
|
switch ((num9 | num8) - (num9 & num8))
|
|
{
|
|
case 6:
|
|
_202E_202A_202C_206B_200E_200F_200E_206F_206C_202C_202A_202C_206D_202C_200B_202E_200E_202A_202D_200C_206B_200C_200B_206B_206E_200F_202E_206A_202C_206E_206C_202C_200B_200E_206F_206A_202C_202C_206C_206E_202E(-1E-45f);
|
|
_200D_206B_202B_200D_206F_206E_200B_202B_200F_206E_202D_206A_206D_206F_200F_206F_200C_206A_202E_206E_206E_200F_202C_206A_202A_202B_206A_202D_206C_200F_200C_206D_200F_206E_200C_200B_202A_206F_200F_206A_202E((ImU8String)global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(-964626679), (ImU8String)global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(1330390258), ref searchText, 256, ImGuiInputTextFlags.None, (ImGui.ImGuiInputTextCallbackDelegate)null);
|
|
_202B_202A_202E_206D_200C_206C_200B_206B_202C_200F_200C_200F_202D_200C_202C_200F_206C_202E_206D_202E_202E_202E_202A_200B_202C_206F_202A_206D_202B_202B_206A_202E_200B_200E_202E_200D_202B_200F_200C_202E();
|
|
num15 = items.Length;
|
|
num = (_202B_200F_206E_202D_200E_202B_202B_206C_206E_202B_200C_206B_202C_206A_200E_200F_202D_202C_206C_202B_202B_202E_200B_202D_202C_206A_206E_206A_202B_206D_206B_202A_200E_206A_206B_206E_200D_200E_202D_200E_202E(searchText) ? 569075448 : 569075455);
|
|
break;
|
|
case 7:
|
|
{
|
|
int num23 = num21;
|
|
num8 = 1;
|
|
num9 = num23;
|
|
num21 = (num9 | num8) + (num9 & num8);
|
|
num = 569075449;
|
|
break;
|
|
}
|
|
case 5:
|
|
{
|
|
int num22 = num15;
|
|
num8 = 1;
|
|
num9 = num22;
|
|
num15 = (num9 | num8) + (num9 & num8);
|
|
num = 569075452;
|
|
break;
|
|
}
|
|
case 0:
|
|
num = 569075443;
|
|
break;
|
|
case 8:
|
|
searchText = string.Empty;
|
|
_202D_202A_206E_206F_202D_202A_206C_200C_202E_202C_206C_202E_200F_202B_200C_202A_200D_202D_202D_206A_202E_200C_202C_200E_206A_206E_200B_202E_206E_206C_200C_202D_202C_206F_206E_202B_200E_202B_200D_202D_202E();
|
|
num = 569075453;
|
|
break;
|
|
case 4:
|
|
num15 = 0;
|
|
array = items;
|
|
num21 = 0;
|
|
num = 569075449;
|
|
break;
|
|
case 2:
|
|
num = ((num21 < array.Length) ? 569075450 : 569075448);
|
|
break;
|
|
case 1:
|
|
num = ((!_206A_206C_202B_206B_202B_206F_202E_206F_200F_202B_202D_202D_206D_202C_200B_200F_202C_202E_206C_202E_206A_200B_202B_202A_206E_200E_202E_206E_202B_206B_206A_200E_202C_202A_202B_202A_206E_202C_200E_206E_202E(array[num21], searchText, StringComparison.OrdinalIgnoreCase)) ? 569075452 : 569075454);
|
|
break;
|
|
case 3:
|
|
{
|
|
float num13 = _200E_202A_206E_200F_202C_200C_200B_200F_206F_206F_206E_202E_200D_200D_202C_200E_200B_206D_206A_200E_200F_202C_206A_202C_200D_206A_202B_200E_206A_202C_206F_200B_202E_206E_202A_206D_202E_206C_206D_206E_202E();
|
|
int num14 = _202C_202E_200B_200E_200D_206F_202D_200C_206B_202E_200C_202E_202D_202A_206C_202A_206C_202A_202A_202B_206F_200B_206F_200F_200B_200C_206D_200C_200D_206C_206C_206C_202E_202B_206B_206D_206C_206D_200F_202D_202E(1, (int)(250f * _206E_200F_200F_200F_200D_200B_202C_200E_202D_202A_200C_202B_202A_206B_200F_206F_202B_206C_200D_200F_202C_200B_202B_200F_200E_206E_206A_202B_200B_200F_206A_202C_206D_206E_202C_206E_206B_202B_206C_202B_202E() / num13));
|
|
float y = (float)_200F_200C_206F_202A_202B_206C_206C_206D_202D_206B_206C_200B_206B_200C_202E_206F_206F_206F_206E_206C_206E_206B_202E_202B_202B_206C_206C_202A_202A_200F_206A_206E_202B_202E_202E_202A_200F_206E_206B_202E_202E(_202C_202E_200B_200E_200D_206F_202D_200C_206B_202E_200C_202E_202D_202A_206C_202A_206C_202A_202A_202B_206F_200B_206F_200F_200B_200C_206D_200C_200D_206C_206C_206C_202E_202B_206B_206D_206C_206D_200F_202D_202E(num15, 1), 1, num14) * num13 + 4f;
|
|
using (_206D_206C_206D_202A_206C_200F_200D_206B_200F_206E_200C_206D_206C_202C_200B_202D_200B_206C_200E_202C_206A_206B_206A_200B_206A_206D_202D_200D_200D_202B_200E_206C_206A_202D_202D_206F_206C_206B_206B_206E_202E((ImU8String)global::_003CModule_003E._200B_206B_206B_200E_200B_206A_206D_206B_206E_200F_206A_206F_206E_202B_200F_206C_202B_206D_206E_200F_200C_200E_206F_200D_200F_200B_202B_202B_202B_202B_206D_202C_206A_206D_200B_206E_200D_206A_206F_200F_202E<string>(740257102), new Vector2(0f, y)))
|
|
{
|
|
num = ((num15 != 0) ? 598657922 : 598657935);
|
|
while (true)
|
|
{
|
|
int num16 = num;
|
|
num8 = 598657925;
|
|
num9 = num16;
|
|
switch ((num9 | num8) - (num9 & num8))
|
|
{
|
|
case 7:
|
|
num17 = 0;
|
|
num = 598657927;
|
|
break;
|
|
case 3:
|
|
{
|
|
int num18 = num17;
|
|
num8 = 1;
|
|
num9 = num18;
|
|
int num19 = num9 ^ num8;
|
|
int num20 = num9 & num8;
|
|
num17 = num19 + (num20 + num20);
|
|
num = 598657927;
|
|
break;
|
|
}
|
|
case 2:
|
|
num = ((num17 < items.Length) ? 598657921 : 598657925);
|
|
break;
|
|
case 10:
|
|
_206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref MutedTextColor, (ImU8String)global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(1503478926));
|
|
goto end_IL_03e3;
|
|
case 9:
|
|
num = ((!flag) ? 598657926 : 598657924);
|
|
break;
|
|
case 11:
|
|
flag = num17 == currentItem;
|
|
num = ((!_200C_206D_206C_202B_206F_202B_206B_200F_200F_202B_200D_206C_206D_202A_200F_200E_202A_206C_202A_200F_200B_200E_206B_206A_202B_200B_206C_200D_206C_200E_206A_202D_200F_206C_206A_200F_206E_200C_200E_200D_202E((ImU8String)items[num17], flag, ImGuiSelectableFlags.None, default(Vector2))) ? 598657932 : 598657923);
|
|
break;
|
|
case 5:
|
|
num = 598657935;
|
|
break;
|
|
case 4:
|
|
num = (_202B_200F_206E_202D_200E_202B_202B_206C_206E_202B_200C_206B_202C_206A_200E_200F_202D_202C_206C_202B_202B_202E_200B_202D_202C_206A_206E_206A_202B_206D_206B_202A_200E_206A_206B_206E_200D_200E_202D_200E_202E(searchText) ? 598657934 : 598657933);
|
|
break;
|
|
case 1:
|
|
_200E_202D_202E_200E_202E_202A_206F_202A_206E_202D_202A_206A_206A_206F_206D_200C_202B_200F_200C_206E_206F_202A_206B_200B_200C_206A_202E_202E_202B_202C_206B_202C_202C_202B_202C_202C_206A_206D_200F_200F_202E();
|
|
num = 598657926;
|
|
break;
|
|
case 8:
|
|
num = ((!_206A_206C_202B_206B_202B_206F_202E_206F_200F_202B_202D_202D_206D_202C_200B_200F_202C_202E_206C_202E_206A_200B_202B_202A_206E_200E_202E_206E_202B_206B_206A_200E_202C_202A_202B_202A_206E_202C_200E_206E_202E(items[num17], searchText, StringComparison.OrdinalIgnoreCase)) ? 598657926 : 598657934);
|
|
break;
|
|
case 6:
|
|
currentItem = num17;
|
|
result = true;
|
|
_206B_206C_200E_202E_202B_206A_206B_200D_202E_206F_206F_202A_206F_206C_202A_202E_202C_202D_206A_202A_202C_202D_202E_206D_206F_202E_200F_206D_202D_202B_206D_202A_206B_202E_200C_200E_202C_200F_206B_200C_202E();
|
|
num = 598657932;
|
|
break;
|
|
case 0:
|
|
goto end_IL_03e3;
|
|
}
|
|
continue;
|
|
end_IL_03e3:
|
|
break;
|
|
}
|
|
}
|
|
_202C_206B_202D_206E_202D_206D_206B_200D_200E_206D_200F_200C_202C_200B_200F_202E_206E_206F_202D_206A_202A_202D_200E_200D_206C_202E_202B_202A_206D_200E_202B_200C_200C_200D_206B_202B_202D_202B_206E_206E_202E();
|
|
goto end_IL_01fa;
|
|
}
|
|
}
|
|
continue;
|
|
end_IL_01fa:
|
|
break;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num = ((colorDisposable2 == null) ? (-531834282) : (-531834283));
|
|
while (true)
|
|
{
|
|
int num24 = num;
|
|
int num8 = -531834284;
|
|
int num9 = num24;
|
|
switch ((num9 | num8) - (num9 & num8))
|
|
{
|
|
case 2:
|
|
goto end_IL_05c7;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable2);
|
|
num = -531834282;
|
|
break;
|
|
case 0:
|
|
num = -531834283;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_05c7:
|
|
break;
|
|
}
|
|
}
|
|
goto IL_0613;
|
|
}
|
|
finally
|
|
{
|
|
int num = ((colorDisposable == null) ? (-1283184272) : (-1283184271));
|
|
while (true)
|
|
{
|
|
int num25 = num;
|
|
int num8 = -1283184272;
|
|
int num9 = num25;
|
|
switch ((num9 | num8) - (num9 & num8))
|
|
{
|
|
case 2:
|
|
num = -1283184271;
|
|
break;
|
|
case 0:
|
|
goto end_IL_06d1;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable);
|
|
num = -1283184272;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_06d1:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static ImRaii.ColorDisposable PushProgressBarColors()
|
|
{
|
|
ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.PlotHistogram, AccentColor, true);
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.FrameBg, new Vector4(1f, 1f, 1f, 0.12f), true);
|
|
return colorDisposable;
|
|
}
|
|
|
|
public static void DrawTabUnderline()
|
|
{
|
|
ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
Vector2 vector = _202B_200E_200C_206B_206B_206C_206E_206E_200D_206A_200E_206C_206C_200D_206B_206D_200D_206F_200E_206D_206D_202A_206A_200E_200B_200F_200C_206B_206C_202B_200D_206B_202D_206F_202E_206C_206D_202D_200F_202C_202E();
|
|
Vector2 vector2 = _200E_202B_202A_206C_206A_206E_206B_206C_200F_200B_206F_200D_200C_206B_202D_200D_200E_202B_206D_200E_202D_202E_200D_202D_200B_206B_200E_202E_200D_206D_200C_206F_200C_202E_206A_206D_206F_200F_206B_206E_202E();
|
|
imDrawListPtr.AddRectFilled(new Vector2(vector.X, vector2.Y - 3f), new Vector2(vector2.X, vector2.Y), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(AccentColor));
|
|
}
|
|
|
|
public static int DrawTabBar(string label0, string label1, int selected)
|
|
{
|
|
InlineArray2<string> buffer = default(InlineArray2<string>);
|
|
global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<InlineArray2<string>, string>(ref buffer, 0) = label0;
|
|
global::_003CPrivateImplementationDetails_003E.InlineArrayElementRef<InlineArray2<string>, string>(ref buffer, 1) = label1;
|
|
return DrawTabBar(global::_003CPrivateImplementationDetails_003E.InlineArrayAsReadOnlySpan<InlineArray2<string>, string>(in buffer, 2), selected, equalWidth: true);
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public static int DrawTabBar(ReadOnlySpan<string> labels, int selected, bool equalWidth = false)
|
|
{
|
|
ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
float x = _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E().X;
|
|
float x2 = _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().ItemSpacing.X;
|
|
float x3 = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E().X;
|
|
int result = selected;
|
|
float x4 = 0f;
|
|
float x5 = 0f;
|
|
float num = 0f;
|
|
float num2 = 0f;
|
|
int num3 = (equalWidth ? 2129292598 : 2129292599);
|
|
float num7;
|
|
int num5;
|
|
int num6;
|
|
while (true)
|
|
{
|
|
int num4 = num3;
|
|
num5 = 2129292598;
|
|
num6 = num4;
|
|
switch ((num6 | num5) - (num6 & num5))
|
|
{
|
|
default:
|
|
continue;
|
|
case 2:
|
|
goto IL_0099;
|
|
case 1:
|
|
num7 = 0f;
|
|
break;
|
|
case 0:
|
|
num7 = (x - x2 * (float)(labels.Length - 1)) / (float)labels.Length;
|
|
break;
|
|
}
|
|
break;
|
|
IL_0099:
|
|
num3 = 2129292599;
|
|
}
|
|
float num8 = num7;
|
|
Span<float> span = stackalloc float[labels.Length];
|
|
int num9 = 0;
|
|
ImRaii.IdDisposable idDisposable = _200D_200F_206C_202D_206B_206F_206E_206E_202D_202C_202E_202B_202D_206E_202B_200E_206C_202B_202D_200E_200B_206F_202B_200E_200B_200C_202A_202A_202C_200C_206A_206F_200E_202C_200F_206F_200D_206E_200C_202D_202E((ImU8String)global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(-1419382412), true);
|
|
try
|
|
{
|
|
ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Button, Vector4.Zero, true);
|
|
try
|
|
{
|
|
ImRaii.ColorDisposable colorDisposable2 = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.ButtonHovered, SubtleHoverColor, true);
|
|
try
|
|
{
|
|
ImRaii.ColorDisposable colorDisposable3 = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.ButtonActive, SubtleActiveColor, true);
|
|
try
|
|
{
|
|
float num10 = 0f;
|
|
int num11 = 0;
|
|
float num12 = default(float);
|
|
while (true)
|
|
{
|
|
IL_0376:
|
|
if (num11 < labels.Length)
|
|
{
|
|
num12 = (equalWidth ? num8 : (_200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)labels[num11], false, -1f).X + _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().FramePadding.X * 2f));
|
|
if (num11 > 0)
|
|
{
|
|
if (num10 + x2 + num12 <= x)
|
|
{
|
|
_206D_206A_206D_202E_206E_206F_206F_206B_200F_200F_202A_206E_206C_200F_200D_200B_206D_206F_206E_206A_202C_200F_206A_200D_200C_206D_206A_206C_206A_206A_206C_206D_202E_202B_206F_200F_200D_200E_206E_202A_202E();
|
|
num10 += x2;
|
|
}
|
|
else
|
|
{
|
|
int num13 = num9;
|
|
num5 = 1;
|
|
num6 = num13;
|
|
int num14 = num6 ^ num5;
|
|
int num15 = num6 & num5;
|
|
num9 = num14 + (num15 + num15);
|
|
span[num13] = num2;
|
|
num10 = 0f;
|
|
}
|
|
}
|
|
ImRaii.ColorDisposable colorDisposable4 = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Text, (num11 == selected) ? AccentColor : DimTextColor, true);
|
|
try
|
|
{
|
|
num3 = ((!_206C_200D_206F_206B_202E_202C_200E_202B_202A_206B_200F_200D_206E_202A_206F_202C_202E_206D_200E_202C_200F_200C_206B_206A_206E_206D_206A_200E_200D_206C_202C_202C_202C_206F_202E_206E_202E_202A_206E_206B_202E((ImU8String)labels[num11], new Vector2(num12, 0f))) ? 948298611 : 948298608);
|
|
while (true)
|
|
{
|
|
int num16 = num3;
|
|
num5 = 948298609;
|
|
num6 = num16;
|
|
int num17 = num6 + num5;
|
|
int num18 = num6 & num5;
|
|
switch (num17 - (num18 + num18))
|
|
{
|
|
case 0:
|
|
num3 = 948298608;
|
|
break;
|
|
case 1:
|
|
result = num11;
|
|
num3 = 948298611;
|
|
break;
|
|
case 2:
|
|
goto end_IL_0235;
|
|
}
|
|
continue;
|
|
end_IL_0235:
|
|
break;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num3 = ((colorDisposable4 == null) ? 1966743355 : 1966743352);
|
|
while (true)
|
|
{
|
|
int num19 = num3;
|
|
num5 = 1966743353;
|
|
num6 = num19;
|
|
int num20 = num6 + num5;
|
|
int num21 = num6 & num5;
|
|
switch (num20 - (num21 + num21))
|
|
{
|
|
case 0:
|
|
num3 = 1966743352;
|
|
break;
|
|
case 2:
|
|
goto end_IL_02a3;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable4);
|
|
num3 = 1966743355;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_02a3:
|
|
break;
|
|
}
|
|
}
|
|
num3 = ((num11 != selected) ? (-1680989916) : (-1680989914));
|
|
}
|
|
else
|
|
{
|
|
num3 = -1680989913;
|
|
}
|
|
while (true)
|
|
{
|
|
int num22 = num3;
|
|
num5 = -1680989913;
|
|
num6 = num22;
|
|
switch ((num6 | num5) - (num6 & num5))
|
|
{
|
|
case 2:
|
|
num3 = -1680989914;
|
|
break;
|
|
case 3:
|
|
goto IL_034d;
|
|
case 1:
|
|
x4 = _202B_200E_200C_206B_206B_206C_206E_206E_200D_206A_200E_206C_206C_200D_206B_206D_200D_206F_200E_206D_206D_202A_206A_200E_200B_200F_200C_206B_206C_202B_200D_206B_202D_206F_202E_206C_206D_202D_200F_202C_202E().X;
|
|
x5 = _200E_202B_202A_206C_206A_206E_206B_206C_200F_200B_206F_200D_200C_206B_202D_200D_200E_202B_206D_200E_202D_202E_200D_202D_200B_206B_200E_202E_200D_206D_200C_206F_200C_202E_206A_206D_206F_200F_206B_206E_202E().X;
|
|
num = _200E_202B_202A_206C_206A_206E_206B_206C_200F_200B_206F_200D_200C_206B_202D_200D_200E_202B_206D_200E_202D_202E_200D_202D_200B_206B_200E_202E_200D_206D_200C_206F_200C_202E_206A_206D_206F_200F_206B_206E_202E().Y;
|
|
num3 = -1680989916;
|
|
break;
|
|
case 0:
|
|
goto end_IL_0311;
|
|
}
|
|
continue;
|
|
IL_034d:
|
|
num2 = _200E_202B_202A_206C_206A_206E_206B_206C_200F_200B_206F_200D_200C_206B_202D_200D_200E_202B_206D_200E_202D_202E_200D_202D_200B_206B_200E_202E_200D_206D_200C_206F_200C_202E_206A_206D_206F_200F_206B_206E_202E().Y;
|
|
num10 += num12;
|
|
int num23 = num11;
|
|
num5 = 1;
|
|
num6 = num23;
|
|
int num24 = num6 ^ num5;
|
|
int num25 = num6 & num5;
|
|
num11 = num24 + (num25 + num25);
|
|
goto IL_0376;
|
|
continue;
|
|
end_IL_0311:
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num3 = ((colorDisposable3 == null) ? (-133177192) : (-133177189));
|
|
while (true)
|
|
{
|
|
int num26 = num3;
|
|
num5 = -133177190;
|
|
num6 = num26;
|
|
int num27 = num6 + num5;
|
|
int num28 = num6 & num5;
|
|
switch (num27 - (num28 + num28))
|
|
{
|
|
case 2:
|
|
goto end_IL_03e4;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable3);
|
|
num3 = -133177192;
|
|
break;
|
|
case 0:
|
|
num3 = -133177189;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_03e4:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num3 = ((colorDisposable2 == null) ? 2058513122 : 2058513121);
|
|
while (true)
|
|
{
|
|
int num29 = num3;
|
|
num5 = 2058513120;
|
|
num6 = num29;
|
|
int num30 = num6 + num5;
|
|
int num31 = num6 & num5;
|
|
switch (num30 - (num31 + num31))
|
|
{
|
|
case 2:
|
|
goto end_IL_0451;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable2);
|
|
num3 = 2058513122;
|
|
break;
|
|
case 0:
|
|
num3 = 2058513121;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_0451:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num3 = ((colorDisposable == null) ? (-222793051) : (-222793050));
|
|
while (true)
|
|
{
|
|
int num32 = num3;
|
|
num5 = -222793049;
|
|
num6 = num32;
|
|
switch ((num6 | num5) - (num6 & num5))
|
|
{
|
|
case 0:
|
|
num3 = -222793050;
|
|
break;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable);
|
|
num3 = -222793051;
|
|
break;
|
|
case 2:
|
|
goto end_IL_04be;
|
|
}
|
|
continue;
|
|
end_IL_04be:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num3 = ((idDisposable == null) ? 1606233094 : 1606233093);
|
|
while (true)
|
|
{
|
|
int num33 = num3;
|
|
num5 = 1606233095;
|
|
num6 = num33;
|
|
int num34 = num6 + num5;
|
|
int num35 = num6 & num5;
|
|
switch (num34 - (num35 + num35))
|
|
{
|
|
case 1:
|
|
goto end_IL_0529;
|
|
case 2:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)idDisposable);
|
|
num3 = 1606233094;
|
|
break;
|
|
case 0:
|
|
num3 = 1606233093;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_0529:
|
|
break;
|
|
}
|
|
}
|
|
int num36 = num9;
|
|
num5 = 1;
|
|
num6 = num36;
|
|
num9 = (num6 | num5) + (num6 & num5);
|
|
span[num36] = num2;
|
|
int num37 = 0;
|
|
num3 = 958295142;
|
|
while (true)
|
|
{
|
|
int num38 = num3;
|
|
num5 = 958295141;
|
|
num6 = num38;
|
|
switch ((num6 | num5) - (num6 & num5))
|
|
{
|
|
case 0:
|
|
num3 = 958295142;
|
|
break;
|
|
case 1:
|
|
{
|
|
imDrawListPtr.AddRectFilled(new Vector2(x3, span[num37]), new Vector2(x3 + x, span[num37] + 2f), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(AccentDimColor));
|
|
int num39 = num37;
|
|
num5 = 1;
|
|
num6 = num39;
|
|
num37 = (num6 | num5) + (num6 & num5);
|
|
num3 = 958295142;
|
|
break;
|
|
}
|
|
case 3:
|
|
num3 = ((num37 < num9) ? 958295140 : 958295143);
|
|
break;
|
|
case 2:
|
|
imDrawListPtr.AddRectFilled(new Vector2(x4, num), new Vector2(x5, num + 2f), _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(AccentColor));
|
|
_200E_202D_200C_206E_200B_206A_200E_206F_200F_200C_200D_202D_200D_200E_200B_206E_206C_206F_202D_202C_206E_200D_206B_206B_206C_206B_202D_202E_206D_202B_202D_202C_206E_206E_200C_200F_206F_206C_202C_206A_202E();
|
|
return result;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public static bool IconButton(FontAwesomeIcon icon, float size)
|
|
{
|
|
ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
Vector2 vector = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E();
|
|
ImU8String imU8String = new ImU8String(2, 1);
|
|
imU8String.AppendLiteral(global::_003CModule_003E._206C_202A_206D_206A_206E_202A_202B_206F_206D_200F_202D_200F_202D_206A_202C_202B_206D_206A_200E_200E_202D_202D_200D_200C_200D_200D_206D_206E_202A_200F_206E_206C_206D_206A_206D_202B_200F_200D_206E_200C_202E<string>(604327994));
|
|
imU8String.AppendFormatted(icon);
|
|
bool result = _206C_200D_206F_206B_202E_202C_200E_202B_202A_206B_200F_200D_206E_202A_206F_202C_202E_206D_200E_202C_200F_200C_206B_206A_206E_206D_206A_200E_200D_206C_202C_202C_202C_206F_202E_206E_202E_202A_206E_206B_202E(imU8String, new Vector2(size, size));
|
|
string text = _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(icon);
|
|
ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true);
|
|
Vector2 vector2;
|
|
try
|
|
{
|
|
vector2 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f);
|
|
}
|
|
finally
|
|
{
|
|
int num = ((fontDisposable == null) ? 1966347384 : 1966347387);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 1966347385;
|
|
int num4 = num2;
|
|
int num5 = num4 + num3;
|
|
int num6 = num4 & num3;
|
|
switch (num5 - (num6 + num6))
|
|
{
|
|
case 0:
|
|
num = 1966347387;
|
|
break;
|
|
case 2:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable);
|
|
num = 1966347384;
|
|
break;
|
|
case 1:
|
|
goto end_IL_0088;
|
|
}
|
|
continue;
|
|
end_IL_0088:
|
|
break;
|
|
}
|
|
}
|
|
uint col = _202B_206B_202C_206F_200F_202C_200C_200E_202B_200E_200D_206F_200C_200B_206E_206C_200D_206B_202E_206E_200F_200C_200D_206F_200D_200F_206D_200C_206E_202C_200E_200F_200C_200D_206D_202C_202A_200C_200D_202B_202E(ImGuiCol.Text);
|
|
float x = vector.X + (size - vector2.X) / 2f;
|
|
float y = vector.Y + (size - vector2.Y) / 2f;
|
|
imDrawListPtr.AddText(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E(), new Vector2(x, y), col, text);
|
|
return result;
|
|
}
|
|
|
|
public static bool IconTextButton(FontAwesomeIcon icon, string text)
|
|
{
|
|
string text2 = _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(icon);
|
|
ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true);
|
|
Vector2 vector;
|
|
try
|
|
{
|
|
vector = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text2, false, -1f);
|
|
}
|
|
finally
|
|
{
|
|
int num = ((fontDisposable == null) ? (-1536648818) : (-1536648819));
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = -1536648817;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = -1536648819;
|
|
break;
|
|
case 2:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable);
|
|
num = -1536648818;
|
|
break;
|
|
case 1:
|
|
goto end_IL_004a;
|
|
}
|
|
continue;
|
|
end_IL_004a:
|
|
break;
|
|
}
|
|
}
|
|
Vector2 vector2 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f);
|
|
float num5 = 6f;
|
|
float width = vector.X + num5 + vector2.X + 2f * _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().FramePadding.X;
|
|
return IconTextButton(icon, text, width);
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public static bool IconTextButton(FontAwesomeIcon icon, string text, float width)
|
|
{
|
|
ImDrawListPtr imDrawListPtr = _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E();
|
|
Vector2 vector = _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E();
|
|
float y = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E();
|
|
ImU8String imU8String = new ImU8String(2, 1);
|
|
imU8String.AppendLiteral(global::_003CModule_003E._202E_206C_200F_206B_206A_202A_202C_206F_200C_206C_202B_206B_206D_206D_206D_202D_206E_202E_206C_206E_206D_202C_206F_200D_202D_202E_206A_206D_202A_206A_202B_200D_200C_206D_202B_200B_200D_200C_206E_206B_202E<string>(1426082020));
|
|
imU8String.AppendFormatted(text);
|
|
bool result = _206C_200D_206F_206B_202E_202C_200E_202B_202A_206B_200F_200D_206E_202A_206F_202C_202E_206D_200E_202C_200F_200C_206B_206A_206E_206D_206A_200E_200D_206C_202C_202C_202C_206F_202E_206E_202E_202A_206E_206B_202E(imU8String, new Vector2(width, y));
|
|
string text2 = _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(icon);
|
|
ImRaii.FontDisposable fontDisposable = _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), true);
|
|
Vector2 vector2;
|
|
try
|
|
{
|
|
vector2 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text2, false, -1f);
|
|
}
|
|
finally
|
|
{
|
|
int num = ((fontDisposable == null) ? 436293026 : 436293025);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 436293027;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 0:
|
|
num = 436293025;
|
|
break;
|
|
case 1:
|
|
goto end_IL_0090;
|
|
case 2:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)fontDisposable);
|
|
num = 436293026;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_0090:
|
|
break;
|
|
}
|
|
}
|
|
Vector2 vector3 = _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E((ImU8String)text, false, -1f);
|
|
float num5 = 6f;
|
|
float num6 = vector2.X + num5 + vector3.X;
|
|
float num7 = vector.X + (width - num6) / 2f;
|
|
float y2 = vector.Y + _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().FramePadding.Y;
|
|
uint col = _202B_206B_202C_206F_200F_202C_200C_200E_202B_200E_200D_206F_200C_200B_206E_206C_200D_206B_202E_206E_200F_200C_200D_206F_200D_200F_206D_200C_206E_202C_200E_200F_200C_200D_206D_202C_202A_200C_200D_202B_202E(ImGuiCol.Text);
|
|
imDrawListPtr.AddText(_206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E(), _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E(), new Vector2(num7, y2), col, text2);
|
|
imDrawListPtr.AddText(new Vector2(num7 + vector2.X + num5, y2), col, text);
|
|
return result;
|
|
}
|
|
|
|
public static bool PillButton(string label, bool selected)
|
|
{
|
|
float num = _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E() * 0.5f;
|
|
Vector2 framePadding = _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E().FramePadding;
|
|
ImRaii.StyleDisposable styleDisposable = _206D_202C_202C_206B_202A_202A_200C_200E_200E_206F_206B_206C_200B_206B_206D_202D_200C_200D_200C_206F_202C_202B_206A_202C_200E_206D_200B_206E_202E_206B_206F_206C_200C_200C_206C_200D_202A_202B_200B_200E_202E(ImGuiStyleVar.FrameRounding, num, true);
|
|
try
|
|
{
|
|
ImRaii.StyleDisposable styleDisposable2 = _206C_200B_200D_200C_206E_202D_206B_202C_206D_200C_206A_200B_206E_206B_200B_206B_206D_206C_206C_206B_206D_202E_202B_206F_202B_206D_206E_202A_200D_206D_206D_200D_202B_202A_206A_206D_206E_202A_202A_202E(ImGuiStyleVar.FramePadding, new Vector2(framePadding.X * 2f, framePadding.Y), true);
|
|
try
|
|
{
|
|
ImRaii.StyleDisposable styleDisposable3 = _206D_202C_202C_206B_202A_202A_200C_200E_200E_206F_206B_206C_200B_206B_206D_202D_200C_200D_200C_206F_202C_202B_206A_202C_200E_206D_200B_206E_202E_206B_206F_206C_200C_200C_206C_200D_202A_202B_200B_200E_202E(ImGuiStyleVar.FrameBorderSize, selected ? 1f : 0f, true);
|
|
try
|
|
{
|
|
ImRaii.ColorDisposable colorDisposable = _202A_200D_206C_206A_206B_202B_202A_202B_206F_206D_206A_206F_206E_200C_202D_206E_202C_202D_206D_200C_202B_200F_202B_206B_206D_206C_206D_200D_200C_206D_202E_200F_206B_200D_202B_200C_206F_202C_202E_200F_202E();
|
|
try
|
|
{
|
|
int num2 = ((!selected) ? 289400424 : 289400427);
|
|
while (true)
|
|
{
|
|
int num3 = num2;
|
|
int num4 = 289400425;
|
|
int num5 = num3;
|
|
int num6 = num5 + num4;
|
|
int num7 = num5 & num4;
|
|
switch (num6 - (num7 + num7))
|
|
{
|
|
case 1:
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.Button, Vector4.Zero, true);
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.ButtonHovered, SubtleHoverColor, true);
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.ButtonActive, SubtlePressColor, true);
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.Text, MutedTextColor, true);
|
|
num2 = 289400426;
|
|
break;
|
|
case 2:
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.Button, new Vector4(0.55f, 0.35f, 0.8f, 0.3f), true);
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.ButtonHovered, new Vector4(0.55f, 0.35f, 0.8f, 0.4f), true);
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.ButtonActive, new Vector4(0.55f, 0.35f, 0.8f, 0.5f), true);
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.Border, CardBorderColor, true);
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.Text, AccentColor, true);
|
|
num2 = 289400426;
|
|
break;
|
|
case 0:
|
|
num2 = 289400427;
|
|
break;
|
|
case 3:
|
|
return _206C_200D_206F_206B_202E_202C_200E_202B_202A_206B_200F_200D_206E_202A_206F_202C_202E_206D_200E_202C_200F_200C_206B_206A_206E_206D_206A_200E_200D_206C_202C_202C_202C_206F_202E_206E_202E_202A_206E_206B_202E((ImU8String)label, default(Vector2));
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
int num2 = ((colorDisposable == null) ? (-1700815628) : (-1700815627));
|
|
while (true)
|
|
{
|
|
int num8 = num2;
|
|
int num4 = -1700815628;
|
|
int num5 = num8;
|
|
switch ((num5 | num4) - (num5 & num4))
|
|
{
|
|
case 2:
|
|
num2 = -1700815627;
|
|
break;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable);
|
|
num2 = -1700815628;
|
|
break;
|
|
case 0:
|
|
goto end_IL_01e8;
|
|
}
|
|
continue;
|
|
end_IL_01e8:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
int num2 = ((styleDisposable3 == null) ? 104724671 : 104724668);
|
|
while (true)
|
|
{
|
|
int num9 = num2;
|
|
int num4 = 104724670;
|
|
int num5 = num9;
|
|
int num10 = num5 + num4;
|
|
int num11 = num5 & num4;
|
|
switch (num10 - (num11 + num11))
|
|
{
|
|
case 0:
|
|
num2 = 104724668;
|
|
break;
|
|
case 1:
|
|
goto end_IL_0253;
|
|
case 2:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)styleDisposable3);
|
|
num2 = 104724671;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_0253:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
int num2 = ((styleDisposable2 == null) ? (-1830419469) : (-1830419470));
|
|
while (true)
|
|
{
|
|
int num12 = num2;
|
|
int num4 = -1830419469;
|
|
int num5 = num12;
|
|
switch ((num5 | num4) - (num5 & num4))
|
|
{
|
|
case 2:
|
|
num2 = -1830419470;
|
|
break;
|
|
case 0:
|
|
goto end_IL_02bf;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)styleDisposable2);
|
|
num2 = -1830419469;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_02bf:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
int num2 = ((styleDisposable == null) ? 1138450126 : 1138450127);
|
|
while (true)
|
|
{
|
|
int num13 = num2;
|
|
int num4 = 1138450126;
|
|
int num5 = num13;
|
|
switch ((num5 | num4) - (num5 & num4))
|
|
{
|
|
case 2:
|
|
num2 = 1138450127;
|
|
break;
|
|
case 0:
|
|
goto end_IL_0328;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)styleDisposable);
|
|
num2 = 1138450126;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_0328:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
[MethodImpl(MethodImplOptions.NoInlining)]
|
|
public static bool DestructiveButton(FontAwesomeIcon icon, string label)
|
|
{
|
|
ImRaii.ColorDisposable colorDisposable = _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol.Button, new Vector4(0.55f, 0.2f, 0.2f, 0.45f), true);
|
|
bool result;
|
|
int num;
|
|
try
|
|
{
|
|
_200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(colorDisposable, ImGuiCol.ButtonHovered, new Vector4(0.7f, 0.25f, 0.25f, 0.65f), true);
|
|
ImRaii.DisabledDisposable disabledDisposable = _202E_206C_206B_206A_202A_206B_202D_202A_200F_206D_206B_200D_200D_206E_202C_200D_200F_206B_202C_202C_206C_200C_206B_200C_206F_206D_206A_200E_200D_202A_206C_206D_202D_200C_202A_206C_200B_206D_200E_202E_202E(!_200B_200B_200D_200F_200D_200B_200D_202E_202C_200E_200C_200B_200F_200D_206F_200F_206D_206A_200F_200F_200D_206C_200E_206B_206D_202E_202E_202D_200E_206C_202C_206F_202E_206D_206D_200F_206E_202C_206F_200D_202E(ImGuiKey.ModCtrl));
|
|
try
|
|
{
|
|
result = IconTextButton(icon, label);
|
|
}
|
|
finally
|
|
{
|
|
num = ((disabledDisposable == null) ? 217085840 : 217085843);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 217085841;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 1:
|
|
goto end_IL_0081;
|
|
case 2:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)disabledDisposable);
|
|
num = 217085840;
|
|
break;
|
|
case 0:
|
|
num = 217085843;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_0081:
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
finally
|
|
{
|
|
num = ((colorDisposable == null) ? 269409889 : 269409890);
|
|
while (true)
|
|
{
|
|
int num5 = num;
|
|
int num3 = 269409891;
|
|
int num4 = num5;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 2:
|
|
goto end_IL_00e5;
|
|
case 1:
|
|
_206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E((IDisposable)colorDisposable);
|
|
num = 269409889;
|
|
break;
|
|
case 0:
|
|
num = 269409890;
|
|
break;
|
|
}
|
|
continue;
|
|
end_IL_00e5:
|
|
break;
|
|
}
|
|
}
|
|
num = ((!_202E_200E_200C_200D_202A_202B_202E_206A_206C_202E_200B_206F_200D_206E_202E_200E_200C_206C_206E_200F_206B_200D_200D_200C_202D_202D_206B_200C_206A_202A_200E_200F_200D_202E_206F_200D_206F_202D_202E_206F_202E(ImGuiHoveredFlags.AllowWhenDisabled)) ? 172403267 : 172403266);
|
|
while (true)
|
|
{
|
|
int num6 = num;
|
|
int num3 = 172403267;
|
|
int num4 = num6;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 2:
|
|
num = 172403266;
|
|
break;
|
|
case 1:
|
|
_206B_202D_206E_202E_200D_206D_202E_206E_206F_200E_202B_206B_202E_206E_202D_200E_200C_206E_202A_202E_202D_200F_202A_200D_202D_206A_200E_202C_206E_202B_206E_200E_206C_206E_206C_206C_202B_206A_206F_200E_202E((ImU8String)global::_003CModule_003E._202A_206B_206D_200C_206B_200E_200E_202A_200B_202E_206A_206F_206A_206B_200E_200D_200F_206D_206E_206A_206F_200C_206C_202C_202A_206E_202C_200B_206E_202A_206E_202B_206B_202E_202E_206A_206D_206D_202C_200F_202E<string>(-136942055));
|
|
num = 172403267;
|
|
break;
|
|
case 0:
|
|
return result;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static string CleanSeString(string text)
|
|
{
|
|
int num = ((!_202B_200F_206E_202D_200E_202B_202B_206C_206E_202B_200C_206B_202C_206A_200E_200F_202D_202C_206C_202B_202B_202E_200B_202D_202C_206A_206E_206A_202B_206D_206B_202A_200E_206A_206B_206E_200D_200E_202D_200E_202E(text)) ? 1734351049 : 1734351052);
|
|
char c = default(char);
|
|
StringBuilder stringBuilder = default(StringBuilder);
|
|
string text2 = default(string);
|
|
int num5 = default(int);
|
|
while (true)
|
|
{
|
|
int num2 = num;
|
|
int num3 = 1734351055;
|
|
int num4 = num2;
|
|
switch ((num4 | num3) - (num4 & num3))
|
|
{
|
|
case 11:
|
|
num = ((c == '\n') ? 1734351045 : 1734351053);
|
|
break;
|
|
case 6:
|
|
stringBuilder = _202E_206A_206F_206B_200D_206B_200E_202B_200D_200E_206C_200B_206A_200D_206F_202A_200E_200B_202A_202A_202E_206A_202B_206B_206A_202C_200E_206F_206F_202A_206C_206C_202A_206D_202C_202A_200E_200D_200B_202B_202E(_206C_202D_206C_200C_202E_206B_206B_202A_206C_206A_200F_206D_202D_202A_202C_200F_202E_202B_206B_202E_206D_206C_206E_206F_206D_202A_206C_200B_202A_200F_206A_200E_202C_200E_206D_202D_206F_200F_206F_206A_202E(text));
|
|
text2 = text;
|
|
num5 = 0;
|
|
num = 1734351051;
|
|
break;
|
|
case 3:
|
|
return text;
|
|
case 1:
|
|
c = _206C_206C_200C_200F_202D_202E_206A_206A_206D_206B_202C_202A_206E_206C_200F_202D_202C_202D_206D_200B_206B_206E_202D_206A_202C_200D_206C_200B_206C_202C_206F_206E_202B_206B_200C_200E_200B_200D_200E_206A_202E(text2, num5);
|
|
num = ((c < '\ue000') ? 1734351048 : 1734351047);
|
|
break;
|
|
case 10:
|
|
_200F_202D_206D_206A_200F_206D_206F_202C_202A_206A_202C_206B_206D_200C_206A_206C_206F_202A_200F_206F_206E_206F_206B_202A_200C_200F_206A_200C_202A_206E_202A_206E_200B_200D_206F_202B_202C_206E_202C_200C_202E(stringBuilder, c);
|
|
num = 1734351046;
|
|
break;
|
|
case 7:
|
|
num = ((c >= ' ') ? 1734351045 : 1734351044);
|
|
break;
|
|
case 8:
|
|
num = ((c <= '\uf8ff') ? 1734351046 : 1734351048);
|
|
break;
|
|
case 4:
|
|
num = ((num5 < _206C_202D_206C_200C_202E_206B_206B_202A_206C_206A_200F_206D_202D_202A_202C_200F_202E_202B_206B_202E_206D_206C_206E_206F_206D_202A_206C_200B_202A_200F_206A_200E_202C_200E_206D_202D_206F_200F_206F_206A_202E(text2)) ? 1734351054 : 1734351050);
|
|
break;
|
|
case 12:
|
|
num = 1734351052;
|
|
break;
|
|
case 5:
|
|
return _206D_200D_202E_200E_202D_202B_206E_200D_200B_202C_202C_206A_202C_200B_200D_202E_206A_202B_202E_206E_200C_202C_200C_202E_202C_202A_206B_202B_202A_202A_206C_206D_202E_200D_200C_200B_200E_200F_200C_202A_202E(_206D_200F_206A_206B_200E_206E_200F_202E_200E_200D_206A_200C_200E_206D_200F_200C_206F_202A_200F_206F_200D_206A_206C_206B_206E_202D_206F_206A_200E_206E_206A_200C_202E_206F_206D_206B_206B_206A_200B_206E_202E((object)stringBuilder));
|
|
case 0:
|
|
num = ((c != '\t') ? 1734351046 : 1734351045);
|
|
break;
|
|
case 9:
|
|
{
|
|
int num6 = num5;
|
|
num3 = 1;
|
|
num4 = num6;
|
|
int num7 = num4 ^ num3;
|
|
int num8 = num4 & num3;
|
|
num5 = num7 + (num8 + num8);
|
|
num = 1734351051;
|
|
break;
|
|
}
|
|
case 2:
|
|
num = ((c == '\r') ? 1734351045 : 1734351055);
|
|
break;
|
|
}
|
|
}
|
|
}
|
|
|
|
static UiThemeUtils()
|
|
{
|
|
Vector4 accentColor = AccentColor;
|
|
accentColor.W = 0.12f;
|
|
AccentDimColor = accentColor;
|
|
accentColor = AccentColor;
|
|
accentColor.W = 0.16f;
|
|
CardBorderColor = accentColor;
|
|
accentColor = AccentColor;
|
|
accentColor.W = 0.35f;
|
|
CardBorderHighColor = accentColor;
|
|
PrimaryTextColor = new Vector4(0.95f, 0.95f, 1f, 1f);
|
|
DimTextColor = new Vector4(0.565f, 0.533f, 0.659f, 1f);
|
|
MutedTextColor = new Vector4(0.361f, 0.33f, 0.471f, 1f);
|
|
PlayButtonColor = new Vector4(0.75f, 0.55f, 0.95f, 1f);
|
|
PlayButtonHover = new Vector4(0.8f, 0.65f, 0.97f, 1f);
|
|
PlayButtonActive = new Vector4(0.85f, 0.7f, 1f, 1f);
|
|
PlayButtonText = new Vector4(0.08f, 0.06f, 0.12f, 1f);
|
|
SubtleHoverColor = new Vector4(1f, 1f, 1f, 0.04f);
|
|
SubtleActiveColor = new Vector4(1f, 1f, 1f, 0.06f);
|
|
SubtlePressColor = new Vector4(1f, 1f, 1f, 0.08f);
|
|
StatusComplete = _202E_206B_202E_200F_206D_206A_202D_206E_200F_200F_200C_206E_200B_200E_200F_206C_200E_200C_206D_206D_200C_200C_206E_200E_202A_206C_206F_200D_200D_206E_206D_202C_202B_206C_206E_206D_206E_202C_200D_200E_202E();
|
|
StatusActive = _200C_206F_200B_200F_206A_206C_202C_200E_206F_200C_200B_200C_206E_200D_202A_200C_206B_206B_206C_206B_206F_206F_202D_200C_202E_202D_200E_200F_200C_206E_202A_202E_202D_202E_200E_202C_200B_200E_202D_206A_202E();
|
|
StatusAvailable = _200C_206F_200B_200F_206A_206C_202C_200E_206F_200C_200B_200C_206E_200D_202A_200C_206B_206B_206C_206B_206F_206F_202D_200C_202E_202D_200E_200F_200C_206E_202A_202E_202D_202E_200E_202C_200B_200E_202D_206A_202E();
|
|
StatusAvailableComplete = _202E_200E_200C_206D_202E_206E_202C_206B_202A_200D_202B_206F_202A_202A_202E_206A_202A_202C_206E_202E_206C_206E_206E_206B_206B_202C_200E_200D_206B_200F_206C_200F_206D_206A_200E_202D_206A_200C_200C_206C_202E();
|
|
StatusLocked = _202C_206D_206B_202B_202C_206E_200D_206D_206E_202D_206E_202D_200F_206C_200E_200B_200C_202B_206E_206C_202A_202E_200F_202A_206C_200C_206E_202A_202B_206A_200B_202B_202D_202E_202E_202C_202B_202C_206B_206D_202E();
|
|
StatusUnobtainable = _200D_206A_200D_206C_206E_200E_206E_202D_206B_206B_206A_200F_206A_200F_206F_206C_202E_200D_206A_206B_202A_200F_206E_206F_202E_200B_200E_206D_206C_202D_206A_200E_202B_206B_206A_200E_206A_206E_202C_202A_202E();
|
|
StatusBlacklisted = _200F_200C_206D_206B_200F_202C_206F_206D_206F_202D_206F_200D_202E_206D_202E_200D_200E_202A_206C_202B_200C_202E_202B_206B_202D_200D_202A_206D_200E_206B_206F_206E_202D_200B_202A_206C_202A_202E_202A_200E_202E();
|
|
Ellipsis = _206F_202C_200E_202E_206A_206F_206A_200E_202A_202E_200C_206A_206E_206B_200F_202B_206C_202E_200B_202E_200F_202B_202B_200D_206B_206E_202E_200E_202A_202B_200D_206C_206C_206D_200F_200D_200F_202A_202D_200D_202E((SeIconChar)57434);
|
|
}
|
|
|
|
static float _202D_200B_200D_202B_202D_206D_200D_206C_206B_200D_200B_206C_206D_200C_202E_206D_206C_200B_202B_202D_200D_200F_200C_202E_200E_202A_206C_206A_206D_202D_200C_202E_206F_206C_206E_202C_200D_206B_206B_200C_202E()
|
|
{
|
|
return ImGui.GetCursorPosX();
|
|
}
|
|
|
|
static Vector2 _206E_200D_200C_206B_200C_206F_200F_200B_200F_206C_206D_200D_206E_202E_200B_202E_200C_206E_206A_202A_202E_200E_206D_206B_200E_202B_202D_206C_200D_202C_202E_202B_202D_200B_200F_202E_200B_202C_200C_206E_202E()
|
|
{
|
|
return ImGui.GetContentRegionAvail();
|
|
}
|
|
|
|
static void _202C_200D_202A_206C_200E_202C_200B_200B_202A_206B_202E_202C_202C_200D_206B_202D_200D_206B_202B_206E_206D_202C_200E_202A_202D_206A_206C_202C_202A_200D_202A_200B_200E_206B_202B_200F_202E_202B_200C_200F_202E(float P_0)
|
|
{
|
|
ImGui.PushTextWrapPos(P_0);
|
|
}
|
|
|
|
static void _200E_202A_206A_200E_206E_206E_206B_206B_206B_206C_206F_202A_200E_206A_200C_200E_202E_202C_206C_200E_206D_202C_200F_200C_206E_200D_200E_202D_206D_206A_200E_200B_202B_206E_206E_206B_200C_202A_206B_200C_202E(ImU8String P_0)
|
|
{
|
|
ImGui.TextUnformatted(P_0);
|
|
}
|
|
|
|
static void _200C_200C_206E_200B_200E_202C_200E_206D_206C_202C_200D_202C_200D_206B_202C_206D_202D_206C_200E_202D_206A_206B_206D_202C_200C_206A_202D_200E_200E_200B_206C_202B_200D_200F_206D_202A_202C_200B_202E_202A_202E()
|
|
{
|
|
ImGui.PopTextWrapPos();
|
|
}
|
|
|
|
static ImRaii.ColorDisposable _200C_200C_200F_200D_206A_200E_202A_206D_200E_202C_206F_206D_200E_200B_206E_200D_206C_202C_202A_202D_200B_202D_206B_202A_202B_206A_200B_206F_206E_200B_206A_206A_202E_202A_200E_200F_200F_206B_202B_200F_202E(ImGuiCol P_0, Vector4 P_1, bool P_2)
|
|
{
|
|
return ImRaii.PushColor(P_0, P_1, P_2);
|
|
}
|
|
|
|
static void _206E_206D_202E_206C_206F_206C_200F_206A_206E_206D_202A_206D_200F_200F_206F_202C_200C_200E_206C_202D_206A_202C_206C_202C_206A_200C_200E_200E_202E_202E_206C_206F_206E_200D_206F_206D_202E_202A_200F_202D_202E(IDisposable P_0)
|
|
{
|
|
P_0.Dispose();
|
|
}
|
|
|
|
static bool _202B_200F_206E_202D_200E_202B_202B_206C_206E_202B_200C_206B_202C_206A_200E_200F_202D_202C_206C_202B_202B_202E_200B_202D_202C_206A_206E_206A_202B_206D_206B_202A_200E_206A_206B_206E_200D_200E_202D_200E_202E(string P_0)
|
|
{
|
|
return string.IsNullOrEmpty(P_0);
|
|
}
|
|
|
|
static Vector2 _200D_206B_202E_202A_202A_200F_202A_200F_202E_206B_200B_202E_202B_206A_206B_200F_206C_206D_200F_200D_206B_202A_200E_206A_202E_206B_200E_200E_202A_200C_206D_206D_200C_206F_202C_202E_206D_206D_200C_206A_202E(ImU8String P_0, bool P_1, float P_2)
|
|
{
|
|
return ImGui.CalcTextSize(P_0, P_1, P_2);
|
|
}
|
|
|
|
static int _206C_202D_206C_200C_202E_206B_206B_202A_206C_206A_200F_206D_202D_202A_202C_200F_202E_202B_206B_202E_206D_206C_206E_206F_206D_202A_206C_200B_202A_200F_206A_200E_202C_200E_206D_202D_206F_200F_206F_206A_202E(string P_0)
|
|
{
|
|
return P_0.Length;
|
|
}
|
|
|
|
static ReadOnlySpan<char> _200D_202A_202C_200D_202E_202D_200E_200D_200C_202A_202A_202C_202E_202D_202A_206E_206F_200E_206C_206D_202A_206D_200F_202E_206E_200D_206A_202B_200D_206D_200F_200E_200F_202C_200E_206C_202A_206D_200F_200D_202E(string P_0, int P_1, int P_2)
|
|
{
|
|
return P_0.AsSpan(P_1, P_2);
|
|
}
|
|
|
|
static ReadOnlySpan<char> _202B_206B_206C_206C_206F_206A_206D_200F_206C_202D_206A_206C_206A_206C_202C_202D_200F_206F_200B_200C_202C_200B_202D_202B_200E_202A_200D_200B_206C_202E_206F_202E_200D_200E_206E_202C_202A_200F_200B_202C_202E(string P_0)
|
|
{
|
|
return P_0.AsSpan();
|
|
}
|
|
|
|
static string _206E_200E_206F_206F_202C_202E_200E_200B_202E_200F_202E_202C_206E_206D_206E_200C_206D_206D_206C_200F_206C_202A_202B_200D_200B_202A_202D_202E_206B_200B_200F_200C_206E_202D_202C_200F_200B_202B_206C_202D_202E(ReadOnlySpan<char> P_0, ReadOnlySpan<char> P_1)
|
|
{
|
|
return string.Concat(P_0, P_1);
|
|
}
|
|
|
|
static Vector2 _202E_200D_200E_206B_206E_206C_200D_200B_200B_206A_206B_200E_202B_206C_206B_200B_206F_206B_202B_206A_206E_206D_200C_200E_200D_200C_202E_206C_202E_206B_200B_200C_200E_200B_206C_200B_206D_200B_202E_200C_202E()
|
|
{
|
|
return ImGui.GetCursorPos();
|
|
}
|
|
|
|
static ImDrawListPtr _206C_206E_202A_202B_202D_206B_206C_200B_200B_200F_202D_206B_202D_206C_200C_200C_206A_200C_206B_200E_206C_200C_206B_200E_206B_206A_200F_202B_206E_202C_206F_202D_200F_202D_202E_200C_206B_202A_202C_200F_202E()
|
|
{
|
|
return ImGui.GetWindowDrawList();
|
|
}
|
|
|
|
static void _202C_206B_206B_206D_202D_200B_202A_206E_206D_206A_206C_206E_202C_202A_206C_206B_200F_200B_206E_200F_206E_206D_206A_206E_202A_206D_202D_202B_200F_200B_206A_200B_200E_206A_202B_200C_206A_206B_202D_206E_202E(float P_0)
|
|
{
|
|
ImGui.Indent(P_0);
|
|
}
|
|
|
|
static void _200C_202C_206A_206D_202C_202C_200F_202A_206F_202A_200B_202D_200C_200B_206F_200F_206E_206E_200B_202D_200D_202A_206F_202B_206E_202A_200C_206A_206E_200E_202E_200B_206E_202A_202E_200D_202C_206F_206F_202D_202E(float P_0)
|
|
{
|
|
ImGui.SetCursorPosY(P_0);
|
|
}
|
|
|
|
static void _206F_206F_200B_200D_202B_200D_206D_202C_200E_202E_200F_202E_200E_200E_202B_206A_200C_206B_206A_200E_202B_202B_202E_202E_206A_202B_202E_200B_206F_206C_202D_206A_200C_200E_202D_206D_200C_202D_202C_202A_202E(float P_0)
|
|
{
|
|
ImGui.PushItemWidth(P_0);
|
|
}
|
|
|
|
static void _206F_206E_202B_206D_202E_200D_200E_206A_202D_202C_202E_206A_200C_202C_206E_200C_202C_200F_206F_206A_200F_200F_202E_202A_202D_200E_202C_206A_202E_206B_202E_200E_206B_206C_202E_206D_206B_206A_200B_206B_202E()
|
|
{
|
|
ImGui.PopItemWidth();
|
|
}
|
|
|
|
static void _206B_206A_206E_202D_206A_202C_206C_206B_206D_206C_206B_202A_206A_206A_202C_206B_202E_202B_206B_202B_200C_206D_202E_202C_206D_202D_206C_200B_200B_200D_200D_202E_200C_202A_206B_200B_200B_202D_200F_202A_202E(float P_0)
|
|
{
|
|
ImGui.Unindent(P_0);
|
|
}
|
|
|
|
static void _202C_206B_206D_206E_200D_206D_202C_206A_206A_206D_206C_202A_200E_206E_206B_202D_206C_200E_200C_202E_200C_200B_206B_200E_206E_200B_206B_202E_202B_200E_200B_206F_206D_206F_202C_200D_200D_200B_206E_200E_202E(Vector2 P_0)
|
|
{
|
|
ImGui.SetCursorPos(P_0);
|
|
}
|
|
|
|
static Vector2 _202D_202E_200C_202E_200C_202D_206E_206C_202A_200C_200C_206D_202D_202E_206C_206E_206F_206F_202A_202D_200D_202D_200B_206C_202E_202D_206C_200D_202E_206D_202C_200D_202B_200D_206B_202E_206A_206B_206A_202C_202E()
|
|
{
|
|
return ImGui.GetCursorScreenPos();
|
|
}
|
|
|
|
static uint _200B_206D_206F_200C_206D_206B_202C_202A_200E_206C_206C_200B_206B_206D_200F_200D_202E_200E_202B_202A_202E_200D_202A_200D_200D_200F_202B_200D_202D_202D_200D_200D_206E_200B_200D_200D_200E_200C_206B_206B_202E(Vector4 P_0)
|
|
{
|
|
return ImGui.ColorConvertFloat4ToU32(P_0);
|
|
}
|
|
|
|
static ImRaii.TableDisposable _200B_200D_202A_206F_200D_206B_202A_202D_200E_202C_206C_206E_202B_202D_200C_200E_202D_206B_206E_200E_200C_202C_206E_202D_202E_206E_200B_202D_200E_200D_206B_200C_200C_206C_202B_206D_202E_206A_206D_202B_202E(ImU8String P_0, int P_1, ImGuiTableFlags P_2)
|
|
{
|
|
return ImRaii.Table(P_0, P_1, P_2);
|
|
}
|
|
|
|
static float _200D_202A_202B_200C_206C_206C_200C_200D_206A_206C_202E_206C_202B_206C_200D_206A_200B_200E_202D_206A_200B_206D_206D_206D_202D_200D_202C_202E_206D_206B_200C_206F_206C_200B_202A_206F_206C_200B_200C_202E()
|
|
{
|
|
return ImGui.GetTextLineHeight();
|
|
}
|
|
|
|
static void _202D_200B_200D_206E_206D_200B_202A_206E_206A_200E_202C_206A_202D_202A_200C_206C_206E_206E_202A_206A_202A_202D_202C_206A_206F_200F_206D_202A_202B_200F_200E_200D_200D_206D_206F_202E_206A_202A_202D_202B_202E(float P_0)
|
|
{
|
|
ImGui.SetCursorPosX(P_0);
|
|
}
|
|
|
|
static void _206A_200F_200E_200B_206D_200D_202D_206C_206F_202E_200B_202E_206F_202D_206C_206F_206A_206A_206C_206E_202D_206D_202D_202C_202C_206B_200D_200B_202E_206B_200C_206F_200F_206C_202E_202A_202C_200B_200B_202E_202E(ref Vector4 P_0, ImU8String P_1)
|
|
{
|
|
ImGui.TextColored(in P_0, P_1);
|
|
}
|
|
|
|
static float _202C_200C_200C_200C_206E_202E_202E_202E_200E_206C_206B_206E_200F_200E_202D_202D_202A_200C_206A_202C_206A_206B_200D_200E_206E_200F_200F_206F_200B_206C_202B_200B_206A_202A_206F_202D_206B_200C_202C_206B_202E()
|
|
{
|
|
return ImGui.GetCursorPosY();
|
|
}
|
|
|
|
static void _200E_202D_200C_206E_200B_206A_200E_206F_200F_200C_200D_202D_200D_200E_200B_206E_206C_206F_202D_202C_206E_200D_206B_206B_206C_206B_202D_202E_206D_202B_202D_202C_206E_206E_200C_200F_206F_206C_202C_206A_202E()
|
|
{
|
|
ImGui.Spacing();
|
|
}
|
|
|
|
static float _200D_202A_206A_206F_202D_206E_206E_206F_206C_206F_200F_200D_200E_200F_202D_202D_202C_202D_206E_202D_202B_206C_202C_206E_206B_200E_202B_206F_202E_202A_206D_202D_200D_206B_200F_202A_202E_206F_206A_202C_202E()
|
|
{
|
|
return ImGui.GetFontSize();
|
|
}
|
|
|
|
static string _200E_200B_202B_206D_202E_200F_202D_200F_206C_206C_202E_202D_202D_200F_200E_200F_200F_200C_206B_200D_200D_200B_206E_206B_206B_200C_200C_202C_206C_200F_206B_202E_202B_202D_206D_206E_200E_202C_202C_200C_202E(FontAwesomeIcon P_0)
|
|
{
|
|
return P_0.ToIconString();
|
|
}
|
|
|
|
static ImFontPtr _206F_206D_206C_200F_200E_206B_202A_200F_202E_206A_206E_200F_206D_206A_206F_206D_206B_200F_200E_202E_200B_206B_200D_200E_206D_200C_206D_206B_202C_202E_206B_202E_206B_202C_202A_200D_202B_200F_202C_200E_202E()
|
|
{
|
|
return UiBuilder.IconFont;
|
|
}
|
|
|
|
static ImRaii.FontDisposable _202A_202E_206A_202E_206D_202A_200B_200B_200F_206D_206E_200E_200C_206B_200C_206A_200F_200E_200E_200D_200F_206B_202D_206C_202A_200D_206A_206D_200C_200D_206A_202C_206C_206C_202A_206A_200E_206C_200F_202E(ImFontPtr P_0, bool P_1)
|
|
{
|
|
return ImRaii.PushFont(P_0, P_1);
|
|
}
|
|
|
|
static float _206D_202B_202D_200F_206A_200D_206E_206C_202C_206B_200E_206B_206B_206C_206B_200E_202C_206C_202A_206F_206E_200E_202A_202A_200B_206F_202C_200C_206E_206D_206F_202E_200F_206B_206D_202E_206E_200C_200C_202C_202E(float P_0, float P_1)
|
|
{
|
|
return MathF.Max(P_0, P_1);
|
|
}
|
|
|
|
static void _206E_202D_200E_206B_202E_202E_206A_206E_200B_202A_202D_206E_202B_206F_202A_202C_202C_206E_200C_200C_202D_200E_202A_200C_200B_202E_200D_206B_206F_200C_206A_200C_206A_206A_200D_200D_202E_202C_200C_206E_202E(Vector2 P_0)
|
|
{
|
|
ImGui.Dummy(P_0);
|
|
}
|
|
|
|
static ImFontPtr _200B_200B_206B_206E_202A_202A_206C_206C_200D_206A_206F_206C_200C_206A_206E_206B_206A_206E_202B_200B_206D_200E_206C_200F_206E_200B_202B_202C_202C_200D_200E_202D_200F_206F_206E_206A_202C_202E_202E_206B_202E()
|
|
{
|
|
return UiBuilder.MonoFont;
|
|
}
|
|
|
|
static void _206D_202E_202C_206C_206B_200C_200D_206C_206E_200C_202E_202E_206D_200C_200F_202C_202B_200E_200C_206A_206E_202D_206F_200B_200E_200D_200E_202B_206F_202D_202B_206D_206B_200C_200E_206A_206F_200D_206F_200F_202E(ImFontPtr P_0)
|
|
{
|
|
ImGui.PushFont(P_0);
|
|
}
|
|
|
|
static void _200E_200D_200C_200E_200D_202E_206B_206A_200F_202E_200F_206D_200E_200B_200B_206E_200E_206A_202C_200B_202B_202B_206A_202B_200D_200D_200D_202C_206C_202E_206B_202B_206D_206A_206F_200B_202D_202B_200F_206F_202E()
|
|
{
|
|
ImGui.PopFont();
|
|
}
|
|
|
|
static void _206F_202A_202E_202B_200E_202E_206A_200C_202C_200D_202A_200B_206F_202A_206F_200B_202D_200C_206C_200C_202E_200E_202E_206C_202B_200D_202C_202D_200D_206A_202A_200E_202B_206D_200F_206E_206E_206A_206F_200E_202E(ImGuiTableBgTarget P_0, uint P_1)
|
|
{
|
|
ImGui.TableSetBgColor(P_0, P_1);
|
|
}
|
|
|
|
static IDisposable _206B_206B_206D_206A_200E_202C_206C_206F_206E_200B_206F_200E_200D_200C_206B_206C_202C_202A_200D_206E_206F_206F_202B_206C_202E_206B_206A_200D_206B_200B_200C_202A_202A_206F_200E_206F_200B_206D_206B_202E_202E(IFontHandle P_0)
|
|
{
|
|
return P_0.Push();
|
|
}
|
|
|
|
static float _200E_202A_206E_200F_202C_200C_200B_200F_206F_206F_206E_202E_200D_200D_202C_200E_200B_206D_206A_200E_200F_202C_206A_202C_200D_206A_202B_200E_206A_202C_206F_200B_202E_206E_202A_206D_202E_206C_206D_206E_202E()
|
|
{
|
|
return ImGui.GetTextLineHeightWithSpacing();
|
|
}
|
|
|
|
static ImRaii.IdDisposable _200D_200F_206C_202D_206B_206F_206E_206E_202D_202C_202E_202B_202D_206E_202B_200E_206C_202B_202D_200E_200B_206F_202B_200E_200B_200C_202A_202A_202C_200C_206A_206F_200E_202C_200F_206F_200D_206E_200C_202D_202E(ImU8String P_0, bool P_1)
|
|
{
|
|
return ImRaii.PushId(P_0, P_1);
|
|
}
|
|
|
|
static float _206B_200B_200D_202B_202D_202E_206F_200E_206A_202D_206C_206E_200F_200F_206A_202B_206D_200D_206B_206E_206D_202C_200E_206E_200E_200F_200E_200B_202A_200B_206B_200C_202E_202A_206C_206F_206F_200D_206C_200D_202E()
|
|
{
|
|
return ImGui.GetFrameHeight();
|
|
}
|
|
|
|
static ImRaii.ColorDisposable _200B_206F_200E_206D_202D_200B_202D_206F_206E_200C_206C_206B_206E_206B_202E_206C_200F_202C_206F_200D_200D_200B_200F_200D_206D_202E_202B_206F_202E_202D_206E_200D_202A_206E_200C_206E_206D_202D_206C_206C_202E(ImRaii.ColorDisposable P_0, ImGuiCol P_1, Vector4 P_2, bool P_3)
|
|
{
|
|
return P_0.Push(P_1, P_2, P_3);
|
|
}
|
|
|
|
static bool _200C_206D_206C_202B_206F_202B_206B_200F_200F_202B_200D_206C_206D_202A_200F_200E_202A_206C_202A_200F_200B_200E_206B_206A_202B_200B_206C_200D_206C_200E_206A_202D_200F_206C_206A_200F_206E_200C_200E_200D_202E(ImU8String P_0, bool P_1, ImGuiSelectableFlags P_2, Vector2 P_3)
|
|
{
|
|
return ImGui.Selectable(P_0, P_1, P_2, P_3);
|
|
}
|
|
|
|
static bool _200B_202A_202D_206F_206A_200F_206A_206C_200F_202A_202B_202D_200D_200E_202A_206A_206D_206E_202A_206C_200E_206D_202A_206E_202B_200E_202A_206F_206B_202C_206D_200F_206F_206A_200C_200E_202A_206A_206C_202E_202E()
|
|
{
|
|
return ImGui.IsItemHovered();
|
|
}
|
|
|
|
static Vector2 _202B_200E_200C_206B_206B_206C_206E_206E_200D_206A_200E_206C_206C_200D_206B_206D_200D_206F_200E_206D_206D_202A_206A_200E_200B_200F_200C_206B_206C_202B_200D_206B_202D_206F_202E_206C_206D_202D_200F_202C_202E()
|
|
{
|
|
return ImGui.GetItemRectMin();
|
|
}
|
|
|
|
static Vector2 _200E_202B_202A_206C_206A_206E_206B_206C_200F_200B_206F_200D_200C_206B_202D_200D_200E_202B_206D_200E_202D_202E_200D_202D_200B_206B_200E_202E_200D_206D_200C_206F_200C_202E_206A_206D_206F_200F_206B_206E_202E()
|
|
{
|
|
return ImGui.GetItemRectMax();
|
|
}
|
|
|
|
static ImGuiStylePtr _200D_200C_206C_206C_200E_202C_202D_200E_206D_206A_206D_202B_200D_202E_202C_200E_206E_200F_206E_200F_200C_206B_200F_206C_206C_200C_206F_202D_200E_206A_202D_200C_200B_202C_202A_202D_206F_202B_206F_200D_202E()
|
|
{
|
|
return ImGui.GetStyle();
|
|
}
|
|
|
|
static float _206F_200C_206A_202A_202B_206C_200C_200E_202A_200F_202C_200C_206D_202C_206D_202A_200D_206A_206F_206A_200B_202B_200C_200E_206B_206F_200B_202A_200E_206B_202E_206B_206F_200E_202B_200B_200C_202E_206F_200C_202E(float P_0)
|
|
{
|
|
return MathF.Truncate(P_0);
|
|
}
|
|
|
|
static bool _206F_202C_206C_200E_206C_206C_206B_200F_206C_200E_206A_206E_200E_202E_206B_206A_206C_202B_206C_202C_200C_202C_206B_200D_200C_206A_206E_200E_206D_206D_200D_202A_206F_206C_200F_206B_206F_200F_200C_206F_202E(ImU8String P_0, ref bool P_1)
|
|
{
|
|
return ImGui.Checkbox(P_0, ref P_1);
|
|
}
|
|
|
|
static void _206D_206A_206D_202E_206E_206F_206F_206B_200F_200F_202A_206E_206C_200F_200D_200B_206D_206F_206E_206A_202C_200F_206A_200D_200C_206D_206A_206C_206A_206A_206C_206D_202E_202B_206F_200F_200D_200E_206E_202A_202E()
|
|
{
|
|
ImGui.SameLine();
|
|
}
|
|
|
|
static void _202E_202B_206B_202E_206E_206A_202E_202A_202B_206C_206E_206D_200C_202A_206D_200C_206A_202E_200D_202C_200F_206B_206C_202E_202A_206F_200E_200B_200C_206C_202C_202E_206A_200C_206E_200D_202E_202A_200F_202C_202E(ImU8String P_0)
|
|
{
|
|
ImGui.Text(P_0);
|
|
}
|
|
|
|
static ImRaii.TooltipDisposable _200D_202A_206C_206B_206E_202D_202E_200D_202A_200C_206F_206B_206D_200B_202D_200F_200D_206D_202A_206A_200D_206A_200D_200B_202C_206F_200C_200C_206C_200C_206A_200C_206E_202C_206D_202B_206E_202B_206C_200F_202E()
|
|
{
|
|
return ImRaii.Tooltip();
|
|
}
|
|
|
|
static void _202A_200B_206D_202A_206E_206E_206A_202E_206E_206A_202B_200E_206E_200E_202D_206B_206B_206B_200B_206E_200D_202E_206D_200D_206E_206F_202C_206B_200F_206E_200C_200F_202D_200C_200B_202E_202C_202B_200D_206B_202E(float P_0)
|
|
{
|
|
ImGui.SameLine(P_0);
|
|
}
|
|
|
|
static void _202E_202A_202C_206B_200E_200F_200E_206F_206C_202C_202A_202C_206D_202C_200B_202E_200E_202A_202D_200C_206B_200C_200B_206B_206E_200F_202E_206A_202C_206E_206C_202C_200B_200E_206F_206A_202C_202C_206C_206E_202E(float P_0)
|
|
{
|
|
ImGui.SetNextItemWidth(P_0);
|
|
}
|
|
|
|
static bool _200D_206B_202B_200D_206F_206E_200B_202B_200F_206E_202D_206A_206D_206F_200F_206F_200C_206A_202E_206E_206E_200F_202C_206A_202A_202B_206A_202D_206C_200F_200C_206D_200F_206E_200C_200B_202A_206F_200F_206A_202E(ImU8String P_0, ImU8String P_1, ref string P_2, int P_3, ImGuiInputTextFlags P_4, ImGui.ImGuiInputTextCallbackDelegate P_5)
|
|
{
|
|
return ImGui.InputTextWithHint(P_0, P_1, ref P_2, P_3, P_4, P_5);
|
|
}
|
|
|
|
static bool _202C_206B_206D_206D_202D_202A_202D_202D_202D_202E_202C_200C_200E_200C_202C_200D_206D_200C_200E_206A_202B_202C_200D_206B_200F_202D_200C_202E_202B_206C_200B_206D_200C_206A_200D_200C_200C_200F_202A_200D_202E(ImU8String P_0, ref int P_1, int P_2, int P_3, ImU8String P_4, ImGuiSliderFlags P_5)
|
|
{
|
|
return ImGui.SliderInt(P_0, ref P_1, P_2, P_3, P_4, P_5);
|
|
}
|
|
|
|
static bool _200D_202C_206A_200D_200C_200E_200D_202A_202E_202E_200C_206D_206E_202A_200C_200F_200E_200C_202C_202B_202D_206C_202E_202B_206B_200B_202E_202E_202D_206A_206A_202B_206F_206E_206B_206E_202D_202E_202A_206E_202E(ImU8String P_0, ref float P_1, float P_2, float P_3, ImU8String P_4, ImGuiSliderFlags P_5)
|
|
{
|
|
return ImGui.SliderFloat(P_0, ref P_1, P_2, P_3, P_4, P_5);
|
|
}
|
|
|
|
static float _202B_202A_202C_200B_200F_206C_206C_206C_202C_206A_200F_206F_206A_200B_206F_200B_202E_206A_200D_200F_202D_202C_200D_206F_206A_206C_202E_200C_206A_206A_202C_202E_206C_202B_206A_206D_202A_202B_206D_200D_202E()
|
|
{
|
|
return ImGui.CalcItemWidth();
|
|
}
|
|
|
|
static bool _206C_206C_200D_202E_200C_206E_200E_206B_206C_200E_200B_200B_206A_202E_206E_202E_206C_206D_200D_202D_200C_206A_202E_206D_206B_206E_200B_202B_200D_202E_202A_206D_206C_200F_200B_200C_200B_202D_206D_202D_202E(ImU8String P_0, ImU8String P_1, ImGuiComboFlags P_2)
|
|
{
|
|
return ImGui.BeginCombo(P_0, P_1, P_2);
|
|
}
|
|
|
|
static void _200E_202D_202E_200E_202E_202A_206F_202A_206E_202D_202A_206A_206A_206F_206D_200C_202B_200F_200C_206E_206F_202A_206B_200B_200C_206A_202E_202E_202B_202C_206B_202C_202C_202B_202C_202C_206A_206D_200F_200F_202E()
|
|
{
|
|
ImGui.SetItemDefaultFocus();
|
|
}
|
|
|
|
static void _202C_206B_202D_206E_202D_206D_206B_200D_200E_206D_200F_200C_202C_200B_200F_202E_206E_206F_202D_206A_202A_202D_200E_200D_206C_202E_202B_202A_206D_200E_202B_200C_200C_200D_206B_202B_202D_202B_206E_206E_202E()
|
|
{
|
|
ImGui.EndCombo();
|
|
}
|
|
|
|
static bool _206E_202B_202D_206F_200C_206D_206D_206C_206F_200F_202A_202C_206B_202B_200C_202C_206D_200B_206F_202E_202B_206E_206E_202B_200D_206F_202C_200C_206D_200E_206B_200F_206E_202E_206E_206F_206E_200E_200F_206F_202E()
|
|
{
|
|
return ImGui.IsWindowAppearing();
|
|
}
|
|
|
|
static void _202D_202A_206E_206F_202D_202A_206C_200C_202E_202C_206C_202E_200F_202B_200C_202A_200D_202D_202D_206A_202E_200C_202C_200E_206A_206E_200B_202E_206E_206C_200C_202D_202C_206F_206E_202B_200E_202B_200D_202D_202E()
|
|
{
|
|
ImGui.SetKeyboardFocusHere();
|
|
}
|
|
|
|
static void _202B_202A_202E_206D_200C_206C_200B_206B_202C_200F_200C_200F_202D_200C_202C_200F_206C_202E_206D_202E_202E_202E_202A_200B_202C_206F_202A_206D_202B_202B_206A_202E_200B_200E_202E_200D_202B_200F_200C_202E()
|
|
{
|
|
ImGui.Separator();
|
|
}
|
|
|
|
static bool _206A_206C_202B_206B_202B_206F_202E_206F_200F_202B_202D_202D_206D_202C_200B_200F_202C_202E_206C_202E_206A_200B_202B_202A_206E_200E_202E_206E_202B_206B_206A_200E_202C_202A_202B_202A_206E_202C_200E_206E_202E(string P_0, string P_1, StringComparison P_2)
|
|
{
|
|
return P_0.Contains(P_1, P_2);
|
|
}
|
|
|
|
static float _206E_200F_200F_200F_200D_200B_202C_200E_202D_202A_200C_202B_202A_206B_200F_206F_202B_206C_200D_200F_202C_200B_202B_200F_200E_206E_206A_202B_200B_200F_206A_202C_206D_206E_202C_206E_206B_202B_206C_202B_202E()
|
|
{
|
|
return ImGuiHelpers.GlobalScale;
|
|
}
|
|
|
|
static int _202C_202E_200B_200E_200D_206F_202D_200C_206B_202E_200C_202E_202D_202A_206C_202A_206C_202A_202A_202B_206F_200B_206F_200F_200B_200C_206D_200C_200D_206C_206C_206C_202E_202B_206B_206D_206C_206D_200F_202D_202E(int P_0, int P_1)
|
|
{
|
|
return Math.Max(P_0, P_1);
|
|
}
|
|
|
|
static int _200F_200C_206F_202A_202B_206C_206C_206D_202D_206B_206C_200B_206B_200C_202E_206F_206F_206F_206E_206C_206E_206B_202E_202B_202B_206C_206C_202A_202A_200F_206A_206E_202B_202E_202E_202A_200F_206E_206B_202E_202E(int P_0, int P_1, int P_2)
|
|
{
|
|
return Math.Clamp(P_0, P_1, P_2);
|
|
}
|
|
|
|
static ImRaii.ChildDisposable _206D_206C_206D_202A_206C_200F_200D_206B_200F_206E_200C_206D_206C_202C_200B_202D_200B_206C_200E_202C_206A_206B_206A_200B_206A_206D_202D_200D_200D_202B_200E_206C_206A_202D_202D_206F_206C_206B_206B_206E_202E(ImU8String P_0, Vector2 P_1)
|
|
{
|
|
return ImRaii.Child(P_0, P_1);
|
|
}
|
|
|
|
static void _206B_206C_200E_202E_202B_206A_206B_200D_202E_206F_206F_202A_206F_206C_202A_202E_202C_202D_206A_202A_202C_202D_202E_206D_206F_202E_200F_206D_202D_202B_206D_202A_206B_202E_200C_200E_202C_200F_206B_200C_202E()
|
|
{
|
|
ImGui.CloseCurrentPopup();
|
|
}
|
|
|
|
static bool _206C_200D_206F_206B_202E_202C_200E_202B_202A_206B_200F_200D_206E_202A_206F_202C_202E_206D_200E_202C_200F_200C_206B_206A_206E_206D_206A_200E_200D_206C_202C_202C_202C_206F_202E_206E_202E_202A_206E_206B_202E(ImU8String P_0, Vector2 P_1)
|
|
{
|
|
return ImGui.Button(P_0, P_1);
|
|
}
|
|
|
|
static uint _202B_206B_202C_206F_200F_202C_200C_200E_202B_200E_200D_206F_200C_200B_206E_206C_200D_206B_202E_206E_200F_200C_200D_206F_200D_200F_206D_200C_206E_202C_200E_200F_200C_200D_206D_202C_202A_200C_200D_202B_202E(ImGuiCol P_0)
|
|
{
|
|
return ImGui.GetColorU32(P_0);
|
|
}
|
|
|
|
static ImRaii.StyleDisposable _206D_202C_202C_206B_202A_202A_200C_200E_200E_206F_206B_206C_200B_206B_206D_202D_200C_200D_200C_206F_202C_202B_206A_202C_200E_206D_200B_206E_202E_206B_206F_206C_200C_200C_206C_200D_202A_202B_200B_200E_202E(ImGuiStyleVar P_0, float P_1, bool P_2)
|
|
{
|
|
return ImRaii.PushStyle(P_0, P_1, P_2);
|
|
}
|
|
|
|
static ImRaii.StyleDisposable _206C_200B_200D_200C_206E_202D_206B_202C_206D_200C_206A_200B_206E_206B_200B_206B_206D_206C_206C_206B_206D_202E_202B_206F_202B_206D_206E_202A_200D_206D_206D_200D_202B_202A_206A_206D_206E_202A_202A_202E(ImGuiStyleVar P_0, Vector2 P_1, bool P_2)
|
|
{
|
|
return ImRaii.PushStyle(P_0, P_1, P_2);
|
|
}
|
|
|
|
static ImRaii.ColorDisposable _202A_200D_206C_206A_206B_202B_202A_202B_206F_206D_206A_206F_206E_200C_202D_206E_202C_202D_206D_200C_202B_200F_202B_206B_206D_206C_206D_200D_200C_206D_202E_200F_206B_200D_202B_200C_206F_202C_202E_200F_202E()
|
|
{
|
|
return new ImRaii.ColorDisposable();
|
|
}
|
|
|
|
static bool _200B_200B_200D_200F_200D_200B_200D_202E_202C_200E_200C_200B_200F_200D_206F_200F_206D_206A_200F_200F_200D_206C_200E_206B_206D_202E_202E_202D_200E_206C_202C_206F_202E_206D_206D_200F_206E_202C_206F_200D_202E(ImGuiKey P_0)
|
|
{
|
|
return ImGui.IsKeyDown(P_0);
|
|
}
|
|
|
|
static ImRaii.DisabledDisposable _202E_206C_206B_206A_202A_206B_202D_202A_200F_206D_206B_200D_200D_206E_202C_200D_200F_206B_202C_202C_206C_200C_206B_200C_206F_206D_206A_200E_200D_202A_206C_206D_202D_200C_202A_206C_200B_206D_200E_202E_202E(bool P_0)
|
|
{
|
|
return ImRaii.Disabled(P_0);
|
|
}
|
|
|
|
static bool _202E_200E_200C_200D_202A_202B_202E_206A_206C_202E_200B_206F_200D_206E_202E_200E_200C_206C_206E_200F_206B_200D_200D_200C_202D_202D_206B_200C_206A_202A_200E_200F_200D_202E_206F_200D_206F_202D_202E_206F_202E(ImGuiHoveredFlags P_0)
|
|
{
|
|
return ImGui.IsItemHovered(P_0);
|
|
}
|
|
|
|
static void _206B_202D_206E_202E_200D_206D_202E_206E_206F_200E_202B_206B_202E_206E_202D_200E_200C_206E_202A_202E_202D_200F_202A_200D_202D_206A_200E_202C_206E_202B_206E_200E_206C_206E_206C_206C_202B_206A_206F_200E_202E(ImU8String P_0)
|
|
{
|
|
ImGui.SetTooltip(P_0);
|
|
}
|
|
|
|
static StringBuilder _202E_206A_206F_206B_200D_206B_200E_202B_200D_200E_206C_200B_206A_200D_206F_202A_200E_200B_202A_202A_202E_206A_202B_206B_206A_202C_200E_206F_206F_202A_206C_206C_202A_206D_202C_202A_200E_200D_200B_202B_202E(int P_0)
|
|
{
|
|
return new StringBuilder(P_0);
|
|
}
|
|
|
|
static char _206C_206C_200C_200F_202D_202E_206A_206A_206D_206B_202C_202A_206E_206C_200F_202D_202C_202D_206D_200B_206B_206E_202D_206A_202C_200D_206C_200B_206C_202C_206F_206E_202B_206B_200C_200E_200B_200D_200E_206A_202E(string P_0, int P_1)
|
|
{
|
|
return P_0[P_1];
|
|
}
|
|
|
|
static StringBuilder _200F_202D_206D_206A_200F_206D_206F_202C_202A_206A_202C_206B_206D_200C_206A_206C_206F_202A_200F_206F_206E_206F_206B_202A_200C_200F_206A_200C_202A_206E_202A_206E_200B_200D_206F_202B_202C_206E_202C_200C_202E(StringBuilder P_0, char P_1)
|
|
{
|
|
return P_0.Append(P_1);
|
|
}
|
|
|
|
static string _206D_200F_206A_206B_200E_206E_200F_202E_200E_200D_206A_200C_200E_206D_200F_200C_206F_202A_200F_206F_200D_206A_206C_206B_206E_202D_206F_206A_200E_206E_206A_200C_202E_206F_206D_206B_206B_206A_200B_206E_202E(object P_0)
|
|
{
|
|
return P_0.ToString();
|
|
}
|
|
|
|
static string _206D_200D_202E_200E_202D_202B_206E_200D_200B_202C_202C_206A_202C_200B_200D_202E_206A_202B_202E_206E_200C_202C_200C_202E_202C_202A_206B_202B_202A_202A_206C_206D_202E_200D_200C_200B_200E_200F_200C_202A_202E(string P_0)
|
|
{
|
|
return P_0.Trim();
|
|
}
|
|
|
|
static Vector4 _202E_206B_202E_200F_206D_206A_202D_206E_200F_200F_200C_206E_200B_200E_200F_206C_200E_200C_206D_206D_200C_200C_206E_200E_202A_206C_206F_200D_200D_206E_206D_202C_202B_206C_206E_206D_206E_202C_200D_200E_202E()
|
|
{
|
|
return ImGuiColors.ParsedGreen;
|
|
}
|
|
|
|
static Vector4 _200C_206F_200B_200F_206A_206C_202C_200E_206F_200C_200B_200C_206E_200D_202A_200C_206B_206B_206C_206B_206F_206F_202D_200C_202E_202D_200E_200F_200C_206E_202A_202E_202D_202E_200E_202C_200B_200E_202D_206A_202E()
|
|
{
|
|
return ImGuiColors.DalamudYellow;
|
|
}
|
|
|
|
static Vector4 _202E_200E_200C_206D_202E_206E_202C_206B_202A_200D_202B_206F_202A_202A_202E_206A_202A_202C_206E_202E_206C_206E_206E_206B_206B_202C_200E_200D_206B_200F_206C_200F_206D_206A_200E_202D_206A_200C_200C_206C_202E()
|
|
{
|
|
return ImGuiColors.ParsedBlue;
|
|
}
|
|
|
|
static Vector4 _202C_206D_206B_202B_202C_206E_200D_206D_206E_202D_206E_202D_200F_206C_200E_200B_200C_202B_206E_206C_202A_202E_200F_202A_206C_200C_206E_202A_202B_206A_200B_202B_202D_202E_202E_202C_202B_202C_206B_206D_202E()
|
|
{
|
|
return ImGuiColors.DalamudRed;
|
|
}
|
|
|
|
static Vector4 _200D_206A_200D_206C_206E_200E_206E_202D_206B_206B_206A_200F_206A_200F_206F_206C_202E_200D_206A_206B_202A_200F_206E_206F_202E_200B_200E_206D_206C_202D_206A_200E_202B_206B_206A_200E_206A_206E_202C_202A_202E()
|
|
{
|
|
return ImGuiColors.DalamudGrey;
|
|
}
|
|
|
|
static Vector4 _200F_200C_206D_206B_200F_202C_206F_206D_206F_202D_206F_200D_202E_206D_202E_200D_200E_202A_206C_202B_200C_202E_202B_206B_202D_200D_202A_206D_200E_206B_206F_206E_202D_200B_202A_206C_202A_202E_202A_200E_202E()
|
|
{
|
|
return ImGuiColors.DalamudGrey3;
|
|
}
|
|
|
|
static string _206F_202C_200E_202E_206A_206F_206A_200E_202A_202E_200C_206A_206E_206B_200F_202B_206C_202E_200B_202E_200F_202B_202B_200D_206B_206E_202E_200E_202A_202B_200D_206C_206C_206D_200F_200D_200F_202A_202D_200D_202E(SeIconChar P_0)
|
|
{
|
|
return P_0.ToIconString();
|
|
}
|
|
}
|