/********************************************************************
 * File: Display.cpp
 * Author: Keith Schwarz (htiek@cs.stanford.edu)
 *
 * Implementation of the common attributes of the Display class.
 * Platform-specific features should not be in this file.
 */
#include "Display.h"

/* Constructor stores the appropriate fields. */
Copper3D::Display::Display(size_t width, size_t height) {
	mWidth  = width;
	mHeight = height;
}

/* Destructor does nothing.  Virtual dtor needed to ensure cleanup works in
 * derived classes.
 */
Copper3D::Display::~Display() {
}

/* width and height just return the requisite fields. */
size_t Copper3D::Display::width() const {
	return mWidth;
}
size_t Copper3D::Display::height() const {
	return mHeight;
}
