![]() |
CS488 PA6
|
#include <GraphicsWindow.h>
Public Member Functions | |
| GraphicsWindow (int width, int height) | |
| ~GraphicsWindow () | |
| FrameBuffer * | getFrameBuffer () |
Private Attributes | |
| FrameBuffer * | frameBuffer |
| int | height |
| int | width |
| SDL_Window * | window |
An encapsulation of a window that contains a FrameBuffer that can be used for graphics.
| GraphicsWindow::GraphicsWindow | ( | int | width, |
| int | height | ||
| ) |
Explicit Value Constructor.
| width | The width of the usable area of the GraphicsWindow |
| height | The height of the usable area of the GraphicsWindow |
| GraphicsWindow::~GraphicsWindow | ( | ) |
Destructor.
| FrameBuffer * GraphicsWindow::getFrameBuffer | ( | ) |
Get a pointer to the FrameBuffer that is associated with this GraphicsWindow.
|
private |
The FrameBuffer associated with this GraphicsWindow.
|
private |
The height of this GraphicsWindow (in pixels).
|
private |
The width of this GraphicsWindow (in pixels).
|
private |
The SDL window associated with this GraphicsWindow.
1.8.13