push wtv
This commit is contained in:
+14
-3
@@ -25,8 +25,9 @@ public class Program
|
||||
ImGui.SetNextWindowPos(viewport.WorkPos);
|
||||
ImGui.SetNextWindowSize(viewport.WorkSize);
|
||||
ImGui.SetNextWindowViewport(viewport.ID);
|
||||
ImGui.Begin("MainWindow", ImGuiWindowFlags.NoBackground | ImGuiWindowFlags.MenuBar | ImGuiWindowFlags.NoDocking | ImGuiWindowFlags.NoTitleBar | ImGuiWindowFlags.NoResize | ImGuiWindowFlags.NoMove | ImGuiWindowFlags.NoCollapse | ImGuiWindowFlags.NoBringToFrontOnFocus);
|
||||
|
||||
if (ImGui.Begin("MainWindow", ImGuiWindowFlags.NoBackground | ImGuiWindowFlags.MenuBar | ImGuiWindowFlags.NoDocking | ImGuiWindowFlags.NoTitleBar | ImGuiWindowFlags.NoResize | ImGuiWindowFlags.NoMove | ImGuiWindowFlags.NoCollapse | ImGuiWindowFlags.NoBringToFrontOnFocus))
|
||||
{
|
||||
if (ImGui.BeginMenuBar())
|
||||
{
|
||||
if (ImGui.BeginMenu("Stuff"))
|
||||
@@ -49,6 +50,7 @@ public class Program
|
||||
}
|
||||
|
||||
ImGui.End();
|
||||
}
|
||||
|
||||
if (_fontStuff)
|
||||
{
|
||||
@@ -123,7 +125,8 @@ public class Program
|
||||
}
|
||||
}
|
||||
|
||||
ImGui.Begin("Thing");
|
||||
if (ImGui.Begin("Thing"))
|
||||
{
|
||||
float time = (float)ImGui.GetTime() * 5;
|
||||
if (ImPlot.BeginPlot("Moving Rainbow Sine Wave"))
|
||||
{
|
||||
@@ -162,7 +165,15 @@ public class Program
|
||||
ImPlot.EndPlot();
|
||||
}
|
||||
ImGui.SliderFloat("Sine", ref size, 1f, 120f);
|
||||
|
||||
ImGui.End();
|
||||
}
|
||||
|
||||
if (ImGui.Begin("ImageThing"))
|
||||
{
|
||||
|
||||
ImGui.End();
|
||||
}
|
||||
|
||||
if (_demoWindowVisible)
|
||||
{
|
||||
@@ -170,7 +181,7 @@ public class Program
|
||||
}
|
||||
if (_imPlotDemoVisible)
|
||||
{
|
||||
ImPlot.ShowDemoWindow(ref _demoWindowVisible);
|
||||
ImPlot.ShowDemoWindow(ref _imPlotDemoVisible);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user