Readded SDL safe area calculations to GUI

This commit is contained in:
Yousef Khadadeh 2026-04-25 20:29:51 +03:00
parent 6312fc264e
commit 3061c604c5
7 changed files with 35 additions and 10 deletions

View file

@ -45,6 +45,9 @@ class MainProgram {
struct Window {
std::chrono::steady_clock::duration lastFrameTime = std::chrono::milliseconds(16);
SCollision::AABB<float> safeArea;
Vector2i size = {-1, -1};
Vector2i pos = {-1, -1};
Vector2i writtenSize = {-1, -1};