Skip to content

1.0.2

Choose a tag to compare

@github-actions github-actions released this 07 Nov 21:53
· 1061 commits to master since this release

Changelog

Release (1.24) Highlights

This is a very small feature update mostly consisting of community PRs.

Custom Controls for Mod Configurations

@jroweboy added the ability additional controls developers can use in their mods image;

The 3 new custom controls are:

Slider: Horizontal Slider with an optional textbox to display the value
FilePicker: Textbox with a button to open a `OpenFileDialog`.
FolderPicker: Textbox with a button to open a custom `FolderSelectDialog`.

Example usage:

[DisplayName("Int Slider")]
[Description("This is a int that uses a slider control similar to a volume control slider.")]
[DefaultValue(100)]
[SliderControlParams(/* Settings here */)]
public int IntSlider { get; set; } = 100;

[DisplayName("Double Slider")]
[Description("This is a double that uses a slider control without any frills.")]
[DefaultValue(0.5)]
[SliderControlParams(minimum: 0.0, maximum: 1.0)]
public double DoubleSlider { get; set; } = 0.5;

[DisplayName("File Picker")]
[Description("This is a sample file picker.")]
[DefaultValue("")]
[FilePickerParams(title:"Choose a File to load from")]
public string File { get; set; } = "";

[DisplayName("Folder Picker")]
[Description("Opens a file picker but locked to only allow folder selections.")]
[DefaultValue("")]
[FolderPickerParams(/* Settings here */)]
public string Folder { get; set; } = "";

1.0.2 - 2023-11-07

Commits

====