hydrangea/include/window.h

32 lines
512 B
C++

#include <SDL2/SDL.h>
#include <SDL2/SDL_gpu.h>
#include <iostream>
#include <strings.h>
#ifndef WINDOW_H
#define WINDOW_H
class Window
{
private:
public:
Window(int heightIn, int widthIn, std::string titleIn);
~Window();
bool Init();
void Close();
static SDL_Window *window;
static GPU_Target *window_target;
static int window_id;
static bool is_running;
int window_height = 480;
int window_width = 640;
std::string window_title = "Window";
};
#endif