CS488 PA6
GraphicsWindow.h
1 #ifndef edu_jmu_cs_GraphicsWindow_h
2 #define edu_jmu_cs_GraphicsWindow_h
3 
4 #include "FrameBuffer.h"
5 #include "SDL2/SDL.h"
6 #include <stdexcept>
7 
13  public:
20  GraphicsWindow(int width, int height);
21 
26 
34 
35  private:
40 
44  int height;
45 
49  int width;
50 
54  SDL_Window* window;
55 };
56 
57 #endif
Definition: FrameBuffer.h:13
GraphicsWindow(int width, int height)
Definition: GraphicsWindow.cpp:4
Definition: GraphicsWindow.h:12
int width
Definition: GraphicsWindow.h:49
SDL_Window * window
Definition: GraphicsWindow.h:54
FrameBuffer * frameBuffer
Definition: GraphicsWindow.h:39
int height
Definition: GraphicsWindow.h:44
FrameBuffer * getFrameBuffer()
Definition: GraphicsWindow.cpp:32
~GraphicsWindow()
Definition: GraphicsWindow.cpp:26