※ Reporting bugs or issues will help me improve the plugin and help others.
CustomUI
● This .cs for plugin UI component library for developer.
● This is licensed under CC-BY, so you are free to incorporate it into your own code and use it as you wish.
● This library doesn't aim to offer something novel, but rather simplifies and standardizes components that are commonly implemented by developers.
● This library consists of two files (CustomUI.cs/CustomUIInterface.cs) and can be freely modified or used.
● You can refer to CustomUIExamples for detailed examples of usage.
- CustomUIExample1.cs (Spacer, SpacerAuto, Separator, Label)
- CustomUIExample2.cs (InfoText, InputText, InputTextWithLabel, InputTextScrollBox)
- CustomUIExample3.cs (Button, ButtonWithLabel, ButtonToggle, ButtonThreeState, SliderToggle, RadioToggle)
- CustomUIExample4.cs (Spinner, SliderSimple, Slider, SliderPie, SliderTiny, SliderWithWheel, TransformUI)
- CustomUIExample5.cs (ChooserSimple, Chooser)
- CustomUIExample6.cs (ColorPickerRGBA, ColorPicker)
- CustomUIExample7.cs (ConfirmUI)
● All configurable functions of the UI component are implemented using the Builder-Pattern.
----------------------------------------
CustomUI
● This .cs for plugin UI component library for developer.
● This is licensed under CC-BY, so you are free to incorporate it into your own code and use it as you wish.
● This library doesn't aim to offer something novel, but rather simplifies and standardizes components that are commonly implemented by developers.
● This library consists of two files (CustomUI.cs/CustomUIInterface.cs) and can be freely modified or used.
● You can refer to CustomUIExamples for detailed examples of usage.
- CustomUIExample1.cs (Spacer, SpacerAuto, Separator, Label)
- CustomUIExample2.cs (InfoText, InputText, InputTextWithLabel, InputTextScrollBox)
- CustomUIExample3.cs (Button, ButtonWithLabel, ButtonToggle, ButtonThreeState, SliderToggle, RadioToggle)
- CustomUIExample4.cs (Spinner, SliderSimple, Slider, SliderPie, SliderTiny, SliderWithWheel, TransformUI)
- CustomUIExample5.cs (ChooserSimple, Chooser)
- CustomUIExample6.cs (ColorPickerRGBA, ColorPicker)
- CustomUIExample7.cs (ConfirmUI)
● All configurable functions of the UI component are implemented using the Builder-Pattern.
● add : Implementation of RadioToggleButton
● add : Developing TinySlider with vertical and horizontal orientation support
● add : Developing TinySlider with vertical and horizontal orientation support
● add : Implementation of ConfirmBoxUI
● add : implemented the setDisplayChoices feature in BaseChooserUI and BaseChooserSimpleUI (request by @hazmhox )
● fix : UIUtil Coroutine bug in CustomUI.cs (report by @hazmhox )
As with most plugins, when saving or loading settings or files, overwriting often occurs without any warning,
and I’ve lost my work more than once because of it. My plugins are also developed in this rather unfriendly way.
For this purpose, I developed a customizable confirm box feature.
● add : implemented the setDisplayChoices feature in BaseChooserUI and BaseChooserSimpleUI (request by @hazmhox )
● fix : UIUtil Coroutine bug in CustomUI.cs (report by @hazmhox )
As with most plugins, when saving or loading settings or files, overwriting often occurs without any warning,
and I’ve lost my work more than once because of it. My plugins are also developed in this rather unfriendly way.
For this purpose, I developed a customizable confirm box feature.
C#:
var confirm = initConfirmUI(this, containingAtom, CreateUIElement, result =>
{
if (false) {}
else if (result == $"Save")
{
// do something
}
else if (result == $"Cancel")
{
// do something
}
});
confirm.showPopup(true);
● add : Implementation mouse wheel scrolling functionality for sliderUI elements (BaseSliderUI, BaseSliderSimpleUI, BaseSliderPieUI) using ui.setWheelSupport(true).
● fix : some minor bug fixed, missing close() implementation
● fix : some minor bug fixed, missing close() implementation
● fix : Embedding the Chooser inside CustomLayoutUI causes its popup to be visually obstructed by other UIDynamic/CustomUI components.
● fix : SliderToggleUI and DonutSliderUI are overflowing beyond the scrollable area of the plugin window.
● fix : SliderToggleUI and DonutSliderUI are overflowing beyond the scrollable area of the plugin window.
● fix : some minor bug fix, and refactor BaseSpinnerUI, BaseSliderSimpleUI
● add : implementation of slider-style toggle UI component
● add : implementation of slider-style toggle UI component
● fix : minor bug fixes related to ButtonToggleUI, ButtonThreeStateUI
● add : implementation of pie-style slider UI component
● add : implementation of pie-style slider UI component
● fix : some minor bug fix
● fix : callbacks issue through the alpha channel of ColorPickerRGBA.
● add : implementation of InputTextScrollBoxUI functionality, it is both scrollable and selectable.
● add : demo UI, CustomUIExample4.cs
● fix : callbacks issue through the alpha channel of ColorPickerRGBA.
● add : implementation of InputTextScrollBoxUI functionality, it is both scrollable and selectable.
● add : demo UI, CustomUIExample4.cs
● fix resizing issue of ButtonToggle
● fix resizing issue of ThreeStateButton
● fix resizing issue of ThreeStateButton
● fix : drag selection issue in textfield and refactor close method