forked from aly/qstbak
muffin v7.5.11
This commit is contained in:
parent
addf2d530f
commit
3102923ce2
522 changed files with 41082 additions and 211592 deletions
|
|
@ -13,57 +13,19 @@ internal abstract class ThemedWindow : LWindow
|
|||
|
||||
public void Dispose()
|
||||
{
|
||||
int num = ((!_disposed) ? (-1959803182) : (-1959803178));
|
||||
while (true)
|
||||
if (!_disposed)
|
||||
{
|
||||
int num2 = num;
|
||||
int num3 = -1959803180;
|
||||
int num4 = num2;
|
||||
int num5 = num4 + num3;
|
||||
int num6 = num4 & num3;
|
||||
switch (num5 - (num6 + num6))
|
||||
_disposed = true;
|
||||
if (styles > 0)
|
||||
{
|
||||
case 4:
|
||||
num = -1959803178;
|
||||
break;
|
||||
case 2:
|
||||
return;
|
||||
case 1:
|
||||
_206A_206C_202B_200C_206C_200C_202B_200F_202D_200E_202C_200B_206C_202D_200D_202D_202C_202E_202E_206E_202D_206C_200F_202E_206D_202D_206B_200C_202B_200D_206E_200E_202E_202D_200E_202E_200F_202A_202D_202B_202E(styles);
|
||||
num = -1959803180;
|
||||
break;
|
||||
case 5:
|
||||
_202C_202E_206B_206D_202A_202C_200F_206E_206C_206A_202E_202E_202A_206B_202D_202E_200D_202C_206C_200D_206D_202A_200B_200D_202D_206E_202B_200B_206E_202B_202E_206B_206F_202D_202D_202B_206B_202E_200C_206A_202E(colors);
|
||||
num = -1959803177;
|
||||
break;
|
||||
case 0:
|
||||
num = ((colors <= 0) ? (-1959803177) : (-1959803183));
|
||||
break;
|
||||
case 3:
|
||||
return;
|
||||
case 6:
|
||||
_disposed = true;
|
||||
num = ((styles <= 0) ? (-1959803180) : (-1959803179));
|
||||
break;
|
||||
ImGui.PopStyleVar(styles);
|
||||
}
|
||||
if (colors > 0)
|
||||
{
|
||||
ImGui.PopStyleColor(colors);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void IDisposable.Dispose()
|
||||
{
|
||||
//ILSpy generated this explicit interface implementation from .override directive in Dispose
|
||||
this.Dispose();
|
||||
}
|
||||
|
||||
static void _206A_206C_202B_200C_206C_200C_202B_200F_202D_200E_202C_200B_206C_202D_200D_202D_202C_202E_202E_206E_202D_206C_200F_202E_206D_202D_206B_200C_202B_200D_206E_200E_202E_202D_200E_202E_200F_202A_202D_202B_202E(int P_0)
|
||||
{
|
||||
ImGui.PopStyleVar(P_0);
|
||||
}
|
||||
|
||||
static void _202C_202E_206B_206D_202A_202C_200F_206E_206C_206A_202E_202E_202A_206B_202D_202E_200D_202C_206C_200D_206D_202A_200B_200D_202D_206E_202B_200B_206E_202B_202E_206B_206F_202D_202D_202B_206B_202E_200C_206A_202E(int P_0)
|
||||
{
|
||||
ImGui.PopStyleColor(P_0);
|
||||
}
|
||||
}
|
||||
|
||||
private IDisposable? _theme;
|
||||
|
|
@ -75,19 +37,15 @@ internal abstract class ThemedWindow : LWindow
|
|||
|
||||
public override void PreDraw()
|
||||
{
|
||||
_206D_200B_206C_206B_200B_206B_206B_202E_200B_206B_202C_202D_206D_202D_206C_206F_206F_206D_200E_206E_200E_200C_202A_202B_206F_206B_200F_202B_206E_200E_206C_206D_200F_206D_202A_206C_206A_200D_200F_200C_202E();
|
||||
base.PreDraw();
|
||||
_theme = PushTheme();
|
||||
}
|
||||
|
||||
public override void PostDraw()
|
||||
{
|
||||
IDisposable? theme = _theme;
|
||||
if (theme != null)
|
||||
{
|
||||
_200F_206E_206B_206C_206C_206D_206A_200D_206D_200C_206A_206A_200C_202E_202D_202C_200B_202D_200B_206D_200D_206E_206E_206C_202D_202B_206C_200F_206C_200B_206D_202B_206B_200C_206B_202E_202D_206C_206D_206B_202E(theme);
|
||||
}
|
||||
_theme?.Dispose();
|
||||
_theme = null;
|
||||
_206D_202B_202D_202E_206A_206F_200B_206F_206B_200C_206A_206A_200F_200B_202D_200E_202C_200F_200E_200C_202B_200E_202D_206C_206C_206D_206E_200F_206A_202E_206E_206C_200E_200F_206E_200C_206F_206D_206D_200E_202E();
|
||||
base.PostDraw();
|
||||
}
|
||||
|
||||
public static IDisposable PushTheme()
|
||||
|
|
@ -146,46 +104,13 @@ internal abstract class ThemedWindow : LWindow
|
|||
return new ThemeScope(colors, styles);
|
||||
void C(ImGuiCol col, Vector4 color)
|
||||
{
|
||||
_202E_200D_200C_200E_202B_206C_206C_206A_206A_206D_200C_206B_200C_206B_200D_206B_200B_202B_206B_200D_206D_202B_206D_206C_200C_202E_202B_206F_200D_206F_202A_200C_206F_206B_206C_202B_202E_200F_206E_206E_202E(col, color);
|
||||
int num = colors;
|
||||
int num2 = 1;
|
||||
int num3 = num;
|
||||
colors = (num3 | num2) + (num3 & num2);
|
||||
ImGui.PushStyleColor(col, color);
|
||||
colors++;
|
||||
}
|
||||
void S(ImGuiStyleVar var, float val)
|
||||
{
|
||||
_206B_206A_202D_206B_206E_206B_200C_200C_202E_200D_202A_206C_200B_202B_206D_206C_206F_200B_206A_202B_206C_206B_202A_200F_200D_202B_200C_206E_200D_200F_206D_202D_202E_200B_200D_206B_202B_206A_206E_206A_202E(var, val);
|
||||
int num = styles;
|
||||
int num2 = 1;
|
||||
int num3 = num;
|
||||
int num4 = num3 ^ num2;
|
||||
int num5 = num3 & num2;
|
||||
styles = num4 + (num5 + num5);
|
||||
ImGui.PushStyleVar(var, val);
|
||||
styles++;
|
||||
}
|
||||
}
|
||||
|
||||
void _206D_200B_206C_206B_200B_206B_206B_202E_200B_206B_202C_202D_206D_202D_206C_206F_206F_206D_200E_206E_200E_200C_202A_202B_206F_206B_200F_202B_206E_200E_206C_206D_200F_206D_202A_206C_206A_200D_200F_200C_202E()
|
||||
{
|
||||
base.PreDraw();
|
||||
}
|
||||
|
||||
static void _200F_206E_206B_206C_206C_206D_206A_200D_206D_200C_206A_206A_200C_202E_202D_202C_200B_202D_200B_206D_200D_206E_206E_206C_202D_202B_206C_200F_206C_200B_206D_202B_206B_200C_206B_202E_202D_206C_206D_206B_202E(IDisposable P_0)
|
||||
{
|
||||
P_0.Dispose();
|
||||
}
|
||||
|
||||
void _206D_202B_202D_202E_206A_206F_200B_206F_206B_200C_206A_206A_200F_200B_202D_200E_202C_200F_200E_200C_202B_200E_202D_206C_206C_206D_206E_200F_206A_202E_206E_206C_200E_200F_206E_200C_206F_206D_206D_200E_202E()
|
||||
{
|
||||
base.PostDraw();
|
||||
}
|
||||
|
||||
static void _202E_200D_200C_200E_202B_206C_206C_206A_206A_206D_200C_206B_200C_206B_200D_206B_200B_202B_206B_200D_206D_202B_206D_206C_200C_202E_202B_206F_200D_206F_202A_200C_206F_206B_206C_202B_202E_200F_206E_206E_202E(ImGuiCol P_0, Vector4 P_1)
|
||||
{
|
||||
ImGui.PushStyleColor(P_0, P_1);
|
||||
}
|
||||
|
||||
static void _206B_206A_202D_206B_206E_206B_200C_200C_202E_200D_202A_206C_200B_202B_206D_206C_206F_200B_206A_202B_206C_206B_202A_200F_200D_202B_200C_206E_200D_200F_206D_202D_202E_200B_200D_206B_202B_206A_206E_206A_202E(ImGuiStyleVar P_0, float P_1)
|
||||
{
|
||||
ImGui.PushStyleVar(P_0, P_1);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue