Skip to content

Commit

Permalink
Filter window placeholder
Browse files Browse the repository at this point in the history
  • Loading branch information
kaczy93 committed Nov 9, 2023
1 parent c5e040b commit 5d364f9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions CentrED/UI/Windows/FilterWindow.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
using ImGuiNET;

namespace CentrED.UI.Windows;

public class FilterWindow : Window{
public override string Name => "Filter";

private int minZ = -127;
private int maxZ = 127;

public int MinZ => minZ;
public int MaxZ => maxZ;

public override void Draw() {
if (!Show) return;
ImGui.Begin(Name, ref _show);
ImGui.SliderInt("Min Z render", ref minZ, -127, 127);
ImGui.SliderInt("Max Z render", ref maxZ, -127, 127);
ImGui.End();
}
}

0 comments on commit 5d364f9

Please sign in to comment.