Save window position

This commit is contained in:
shweet committed 2026-11-12 21:53:01 -05:00
1 parent 1cf4d1ea85
commit 167f1a5ddd
4 files changed
+10

No files matched your search

+3
View File
@@ -1,6 +1,7 @@
#pragma once
#include "common.h"
#include <SDL3/SDL_video.h>
#include <string>
#include <vector>
@@ -18,6 +19,8 @@ struct Settings
int height = 900;
int volume = 50;
int width = 1600;
int x = SDL_WINDOWPOS_CENTERED;
int y = SDL_WINDOWPOS_CENTERED;
Measurement measurement = MEASUREMENT_METRIC;
bool isCharacterColor = true;
bool isConsole = false;