mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Made entity hierarchy more compact
This commit is contained in:
@@ -78,6 +78,8 @@ namespace ImGui
|
||||
return IsItemActive();
|
||||
}*/
|
||||
|
||||
public static void PushStyleVar(StyleVar styleVar, float2 value) => PushStyleVar(styleVar, (Vec2)value);
|
||||
|
||||
// TODO: Color-functions
|
||||
public static bool ColorEdit3(char* label, ref ColorRGB col, ColorEditFlags flags = (ColorEditFlags) 0) => ColorEdit3Impl(label, *(float[3]*)&col, flags);
|
||||
public static bool ColorEdit3(char* label, ref ColorRGBA col, ColorEditFlags flags = (ColorEditFlags) 0) => ColorEdit3Impl(label, *(float[3]*)&col, flags);
|
||||
|
||||
@@ -126,9 +126,12 @@ namespace GlitchyEngine.ImGui
|
||||
style.FrameRounding = 4;
|
||||
style.TabRounding = 8;
|
||||
style.ScrollbarSize = 20;
|
||||
style.ScrollbarRounding = 3;
|
||||
|
||||
style.WindowMinSize = ImGui.Vec2(100, 100);
|
||||
|
||||
style.SeparatorTextAlign = ImGui.Vec2(0.5f, 0.5f);
|
||||
|
||||
colors[(.)ImGui.Col.WindowBg] = ImGui.Vec4(0.118f, 0.118f, 0.118f, 1.00f);
|
||||
colors[(.)ImGui.Col.FrameBg] = ImGui.Vec4(0.289f, 0.387f, 0.533f, 1.00f);
|
||||
colors[(.)ImGui.Col.MenuBarBg] = ImGui.Vec4(0.21f, 0.21f, 0.21f, 1.00f);
|
||||
|
||||
Reference in New Issue
Block a user