combine with desktop project

Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
2025-04-10 23:20:19 +02:00
parent b6fb4eb65c
commit b3bf03999b
72 changed files with 65538 additions and 132 deletions

17
include/model/Window.h Normal file
View File

@@ -0,0 +1,17 @@
#pragma once
#include "SDL3/SDL.h"
class Window {
public:
explicit Window(SDL_Window* window)
: m_window(window) {
}
[[nodiscard]] auto window() const -> SDL_Window*;
[[nodiscard]] auto renderer() const -> SDL_Renderer *;
private:
SDL_Window* m_window = nullptr;
};