WavySlider
Customizable:
- Left color (progress), Right color and Thumb.
- Wave length and Height.
- Speed.
InitializeSlider
Initializes the slider within an HVArrangement.
SetSliderRange
Sets the range (min, max) and increment step of the slider.
Increment values can be integers or floats.
min: 0
max: 100
Increments can be any int number, if it's 3
, it will jump like this:
0, 3, 6, 9, 12
...
Same with float values, if it's 0.4
:
0, 0.4, 0.8, 1.2
...
SetSliderColors
Sets the colors of the slider, only AI2 and RGB colors.
SetWaveProperties
Sets the amplitude (wave height) and wavelength of the progress, values in integers.
SetWaveSpeed
Sets the speed of the wave, values in integers.
GetSliderMinValue
Gets the minimum value.
GetSliderMaxValue
Gets the maximum value.
SetSliderThumbPosition
GetThumbPosition
Get the current thumb position.
SliderStopTracking
Fired when the slider stops being tracked.
SliderMaxValue
Fired when the slider reaches its maximum value.
Update v1.0.2 Mar 08, 2025.
- Added a new parameter:
fromUser
to theSliderValueChanged
event.
SliderValueChanged
Fired when the slider value changes.
Now the SliderValueChanged
event detects whether the slider is manipulated manually or by code.
For example:
If it is being manipulated by the user (with the thumb) the parameter fromUser
will return true
or programmatically (by a timer) it will return false
.
aia project:
WavySlider.aia (17.1 KB)
Extension v1.0.2.
joejsanz.joedevwavyslider.aix (13.5 KB)
minSdk: 21
maxSdk: 34
JDK: 11
Built using: FAST-CLI v2.6.0