/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* E.P. Scene Graph
* Developed by:
*       - Eduardo Ribeiro (eribeiro @ tecgraf . puc-rio . br)
*       - Peter Dam (peter @ tecgraf . puc-rio . br)
* File: Viewport.h
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef _EPSG_VIEWPORT_
#define _EPSG_VIEWPORT_

#include "EPSG/Prototypes.h"

namespace EPSG
{
	class Viewport
	{
	public:
		/* [CONSTRUCTOR] */	Viewport();
		/* [CONSTRUCTOR] */	Viewport( int width, int height );
		/* [CONSTRUCTOR] */	Viewport( int x, int y, int width, int height );

		static Viewport*	getActiveViewport();

		int					x;
		int					y;
		int					width;
		int					height;

	private:
		static Viewport*	s_activeViewport;
	};
}

#endif //_EPSG_VIEWPORT_