Elementa "timed" widgets


made some timed widgets for elementa that only “execute” after beeing hovered for x amount of time, think gestural interfaces like leap motion. They also have an option to scale button size according to display text.

Since Elementa seems to update values on notifications (Mouse, Keyboard) the values of the widgets only update when the mouse moves (since there is no MouseUp) - shouldn’t be a problem with something like leap motion which always has a slight “jitter”.

There are only three of them: TimedBang, TimedToggle and TimedPress.
All in all the implementation is rather hacky and specific to my usecase but maybe some parts of it can be usefull.

VL.Elementa.Extensions.vl (660.3 KB)