Emmanouil Papadeas
ed76cc05e9
Echo support for the ValueSlider arrows
...
If you press and hold an arrow button, the value will keep changing until you release. Replicates SpinBox's behavior. We should be able to replace any SpinBox now without losing any functionality.
2022-10-14 17:22:05 +03:00
Emmanouil Papadeas
c3d07312aa
Add arrow buttons to the value slider
...
Their visibility is toggleable. They also currently do not support echo events, since for some reason Godot only supports them for InputEventKey(s). I suppose this feature could be replicated with a Timer. Once this is done, we can replace all SpinBox nodes.
2022-10-14 02:51:55 +03:00
Emmanouil Papadeas
8abbe0a1cb
Use a ValueSlider in the window opacity dialog
...
More ValueSlider replacements coming next.
2022-10-03 14:43:08 +03:00
Emmanouil Papadeas
f6de836fc7
Add setters for ValueSlider's prefix and suffix
...
This way we ensure the display is reset if the prefix or suffix changes.
2022-10-01 02:03:30 +03:00
Emmanouil Papadeas
9adf74392a
Use notifications for theme and translation changes to update ValueSlider
2022-10-01 01:51:01 +03:00
Emmanouil Papadeas
52b3eae418
Allow for mouse wheel scrolling in ValueSlider
2022-10-01 00:14:54 +03:00
Emmanouil Papadeas
5664271b27
Allow disabling ValueSlider
...
Maybe we should make theme changes as well when it's disabled, but it's fine for now.
2022-09-30 12:08:44 +03:00
Emmanouil Papadeas
59bc9f022d
Replace opacity sliders with the new ValueSlider
2022-09-30 01:03:38 +03:00
Emmanouil Papadeas
963f9d05a0
Make ValueSlider a tool so it can be previewed on editor
2022-09-30 00:54:44 +03:00
Emmanouil Papadeas
8148d03c1f
Add a custom ValueSlider node made by @mrtripie
...
And bump version to v0.11-dev
2022-09-30 00:07:56 +03:00
Emmanouil Papadeas
56748da971
Update GradientEdit hint tooltip string
2022-09-17 00:25:43 +03:00
Emmanouil Papadeas
c2f2473d77
Add a "Divide into equal parts" button in GradientEdit
...
This is meant for easy gradient bisecting, which is helpful for converting Linear/Cubic interpolated gradients into Constant.
2022-09-17 00:19:08 +03:00
Emmanouil Papadeas
c66cac2fd8
Add an interpolation OptionButton to GradientEdit
2022-08-09 02:02:46 +03:00
Emmanouil Papadeas
7165f352b0
Make GradientEdit's color picker popup not get in the way of the preview
2022-08-04 17:14:43 +03:00
Emmanouil Papadeas
c9f0301c79
Add a Gradient Map image effect, implements the second half of #595
...
The gradient edit code was taken and modified from Material Maker, MIT license.
2022-06-11 16:16:37 +03:00