-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CentrED release * Recursive checkout * Filter window placeholder * Application icon * Fix connect window
- Loading branch information
Showing
5 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); | ||
} | ||
} |
Binary file not shown.