Initial release: HSUI v1.0.0.0 - HUD replacement with configurable hotbars
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
using HSUI.Config;
|
||||
using HSUI.Config.Attributes;
|
||||
|
||||
namespace HSUI.Interface.GeneralElements
|
||||
{
|
||||
[Exportable(false)]
|
||||
[Section("Misc")]
|
||||
[SubSection("Grid", 0)]
|
||||
public class GridConfig : PluginConfigObject
|
||||
{
|
||||
public new static GridConfig DefaultConfig()
|
||||
{
|
||||
var config = new GridConfig();
|
||||
config.Enabled = false;
|
||||
|
||||
return config;
|
||||
}
|
||||
|
||||
[DragFloat("Background Alpha", min = 0, max = 1, velocity = .05f)]
|
||||
[Order(10)]
|
||||
public float BackgroundAlpha = 0.3f;
|
||||
|
||||
[Checkbox("Show Center Lines")]
|
||||
[Order(15)]
|
||||
public bool ShowCenterLines = true;
|
||||
[Checkbox("Show Anchor Points")]
|
||||
[Order(20)]
|
||||
|
||||
public bool ShowAnchorPoints = true;
|
||||
[Checkbox("Grid Divisions", spacing = true)]
|
||||
[Order(25)]
|
||||
public bool ShowGrid = true;
|
||||
|
||||
[DragInt("Divisions Distance", min = 50, max = 500)]
|
||||
[Order(30, collapseWith = nameof(ShowGrid))]
|
||||
public int GridDivisionsDistance = 50;
|
||||
|
||||
[DragInt("Subdivision Count", min = 1, max = 10)]
|
||||
[Order(35, collapseWith = nameof(ShowGrid))]
|
||||
public int GridSubdivisionCount = 4;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user