1
0
Fork 0
mirror of https://github.com/yshui/picom.git synced 2025-02-24 16:06:42 -05:00
Commit graph

3 commits

Author SHA1 Message Date
Yuxuan Shui
756589d4ce
tools/animgen: support more sophisticated preset parameters
Support multiple choice parameters in additional to plain old numbers.

With this we are now able to change the direction of sliding, yippee!

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-08-06 01:18:33 +01:00
Yuxuan Shui
d04f8254f8
transition/presets: add slide-in/out, fly-in/out
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-08-06 01:15:49 +01:00
Yuxuan Shui
f3b2db1090
tools: add animgen
Add a tool to generate C function from a compiled animation script.
The generated function will reproduce the animation script when called.

The goal is to implement animation presets. Instead of creating strings
and then compile them into scripts, by using these generated function,
we can skip the parsing step and create compiled scripts directly.

Placeholders are supported in the preset script, so some configurability
still exists even when using presets.

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
2024-08-06 01:15:44 +01:00