CurveProperty holds the easing curves in the order Animation.getCurve takes them, replacing three copies of the list in zoom, freelook and the animation config; it's saved the same way. Its dropdown opens a CurveOptions popup: a CurvePreview graph beside the list, with a dot running along the hovered curve, or the current one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
13 lines
380 B
Java
13 lines
380 B
Java
package org.saturnclient.config.property;
|
|
|
|
/**
|
|
* An animation's easing curve. The options are in the order
|
|
* {@code Animation.getCurve} takes them, and it's saved like any select.
|
|
*/
|
|
public class CurveProperty extends SelectProperty {
|
|
|
|
public CurveProperty(int defaultValue) {
|
|
super(defaultValue, "Ease In Out Cubic", "Ease Out Cubic", "Ease In Out Back");
|
|
}
|
|
}
|