Skip to content

Commit 4eeb2dd

Browse files
committed
Remove ImPlot code from sample program.
1 parent ecc2d53 commit 4eeb2dd

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/ImGui.NET.SampleProgram/Program.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ class Program
2424
private static int _dragInt = 0;
2525
private static Vector3 _clearColor = new Vector3(0.45f, 0.55f, 0.6f);
2626
private static bool _showImGuiDemoWindow = true;
27-
private static bool _showImPlotDemoWindow = false;
2827
private static bool _showAnotherWindow = false;
2928
private static bool _showMemoryEditor = false;
3029
private static byte[] _memoryEditorData;
@@ -92,7 +91,6 @@ private static unsafe void SubmitUI()
9291
ImGui.Text($"Mouse position: {ImGui.GetMousePos()}");
9392

9493
ImGui.Checkbox("ImGui Demo Window", ref _showImGuiDemoWindow); // Edit bools storing our windows open/close state
95-
ImGui.Checkbox("ImPlot Demo Window", ref _showImPlotDemoWindow); // Edit bools storing our windows open/close state
9694
ImGui.Checkbox("Another Window", ref _showAnotherWindow);
9795
ImGui.Checkbox("Memory Editor", ref _showMemoryEditor);
9896
if (ImGui.Button("Button")) // Buttons return true when clicked (NB: most widgets return true when edited/activated)
@@ -125,11 +123,6 @@ private static unsafe void SubmitUI()
125123
ImGui.ShowDemoWindow(ref _showImGuiDemoWindow);
126124
}
127125

128-
if (_showImPlotDemoWindow)
129-
{
130-
ImPlot.ShowDemoWindow(ref _showImPlotDemoWindow);
131-
}
132-
133126
if (ImGui.TreeNode("Tabs"))
134127
{
135128
if (ImGui.TreeNode("Basic"))

0 commit comments

Comments
 (0)