before anim rewrite

This commit is contained in:
2026-10-10 13:13:31 +02:00
parent ea1e99f022
commit 601eb47cad
4 changed files with 196 additions and 166 deletions
+4
View File
@@ -1,13 +1,17 @@
#pragma once
#include <dangerzone/engine.h>
#include <stdint.h>
/**
* animate a rectangle's position changing over time
* => x0 -> x1, y0 -> y1, all else stays the same
*
* ONLY DOES ONE FRAME OF THE ANIMATION
*/
void
anim_rect_pos(
framebuffer_e framebuffer,
uint32_t x0,
uint32_t y0,
uint32_t x1,