added windowFlag to WindowData so client can specify the first window's flags when application is created

This commit is contained in:
2026-04-15 10:35:22 +02:00
parent fb9e93d9cf
commit 99d508c5ed

View File

@@ -9,6 +9,7 @@
namespace SakuraVNE {
struct WindowData {
std::span<const SDL_WindowFlags> windowFlags;
std::string title = "Window Title";
int width = 1280;
int height = 720;
@@ -30,9 +31,7 @@ public:
void Destroy();
void Update();
// TODO: implement
void AddFlags(std::span<const SDL_WindowFlags> flags = {});
// TODO: implement
void RemoveFlags(std::span<const SDL_WindowFlags> flags = {});
void Resize();
void ProcessEvent(const SDL_Event &event);