using System.Numerics; using ImGuiNET; using Raylib_cs; using rlImGui_cs; namespace SzGui; public class SzApp { public void Init() { Raylib.SetConfigFlags(ConfigFlags.Msaa4xHint | ConfigFlags.VSyncHint | ConfigFlags.ResizableWindow); Raylib.InitWindow(1280, 800, "SessionZero"); rlImGui.Setup(true, true); ImGui.GetIO().ConfigWindowsMoveFromTitleBarOnly = true; while (!Raylib.WindowShouldClose()) { Raylib.BeginDrawing(); Raylib.ClearBackground(new Color(0, 20, 50)); rlImGui.Begin(); ImGui.DockSpaceOverViewport(0); // ImGui.ShowDemoWindow(); ImGui.ShowStyleEditor(); DrawImGui(); rlImGui.End(); Raylib.EndDrawing(); } rlImGui.Shutdown(); Raylib.CloseWindow(); } private void DrawImGui() { if(ImGui.Begin("SessionZero")) { ImGui.TextUnformatted("Test: " + IconFonts.FontAwesome6.House); } ImGui.End(); } }