26 lines
443 B
C++
26 lines
443 B
C++
|
|
#pragma once
|
|
|
|
#include "SDL3/SDL.h"
|
|
#include "SDL3/SDL_Vulkan.h"
|
|
|
|
// reference: https://wiki.libsdl.org/SDL3/SDL_CreateWindow
|
|
|
|
class Window {
|
|
|
|
public:
|
|
|
|
Window();
|
|
~Window();
|
|
|
|
private:
|
|
|
|
// launches window
|
|
int init();
|
|
|
|
// this window class will eventually hold mouse, keyboard, audio, etc. interfaces, like an SDL3 hub
|
|
// app will be able to attach callbacks for mouse and keyboard events
|
|
|
|
SDL_Window* sdlWindow_;
|
|
|
|
}; |