mirror of
https://github.com/IllusionMan1212/C2048.git
synced 2026-10-24 02:12:31 +00:00
animate tile spawning
This commit is contained in:
@@ -347,6 +347,7 @@ void draw_texture(UIConstraints *constraints, const TextureId texture_id, const
|
||||
|
||||
bool draw_button(UIConstraints *constraints, const Color color, const char *text, f32 radius, Alignment align, ButtonState state) {
|
||||
Color text_color = COLOR_BLACK;
|
||||
text_color.a = color.a;
|
||||
Rect rect = {0};
|
||||
|
||||
apply_constraints(constraints, &rect.pos, &rect.size);
|
||||
|
||||
Reference in New Issue
Block a user