23 lines
371 B
C++
23 lines
371 B
C++
#pragma once
|
|
#include "LuaVM.h"
|
|
#include "SDL2/include/SDL.h"
|
|
#include <memory>
|
|
|
|
|
|
class Window
|
|
{
|
|
public:
|
|
std::shared_ptr<SDL_Window> wnd;
|
|
|
|
Window(int w, int h, const char* title);
|
|
|
|
static int getWindowID(lua_State* L);
|
|
|
|
static int showWindow(lua_State* L);
|
|
|
|
static int hideWindow(lua_State* L);
|
|
|
|
static int close(lua_State* L);
|
|
static int create(lua_State* L);
|
|
};
|