Simon Hausmann
1e683de64d
Simplify Rust Timer API
...
Don't require the caller to Box the closure. With the assumption that
the majority of callers *want* the closure to be boxed (i.e. it's not
already boxed), the API becomes easier to use.
2020-12-04 10:57:19 +01:00
Simon Hausmann
2cc86d3753
Add support for standalone singleshot timers
...
This allows registering an FcOnce callback for single timer use.
2020-12-03 18:54:16 +01:00
Olivier Goffart
807dbb3c00
Puzzle: Kick animation
...
Also support timer that can be cancelled from the timer event
2020-11-23 13:38:44 +01:00
Olivier Goffart
0672f4b3cd
Expose Timer API to rust API
...
And use it in the puzzle demo to implement the auto play mode
2020-11-16 12:17:02 +01:00
Simon Hausmann
0d751e6627
Render a text cursor for TextInput items
...
It doesn't look quite perfect yet, but it's a start.
2020-09-18 17:58:14 +02:00