calculate help overlay width from text instead of hardcoding it

This commit is contained in:
2023-11-18 03:29:00 +02:00
parent 40f5ccabbe
commit d6cc129bed
3 changed files with 21 additions and 11 deletions
+1
View File
@@ -5,3 +5,4 @@ typedef struct {
} Matrix4x4;
Matrix4x4 orthographic_projection_2d(float left, float right, float bottom, float top);
int max(int a, int b);