17 lines
212 B
C++
17 lines
212 B
C++
![]() |
#pragma once
|
||
|
|
||
|
struct SDL_Window;
|
||
|
struct SDL_Renderer;
|
||
|
|
||
|
class RenderWindow
|
||
|
{
|
||
|
public:
|
||
|
RenderWindow(int width, int height);
|
||
|
~RenderWindow();
|
||
|
|
||
|
void Run();
|
||
|
|
||
|
private:
|
||
|
SDL_Window* window;
|
||
|
SDL_Renderer* renderer;
|
||
|
};
|