#ifndef _ENGINE_VIEWSYSTEMIMPL_HPP_ #define _ENGINE_VIEWSYSTEMIMPL_HPP_ #ifndef _ENGINE_VIEWSYSTEM_HPP_ #include #endif class ViewSystemImpl : public ViewSystem { public: ViewSystemImpl(); ViewSystemImpl(unsigned short width,unsigned short height); virtual ~ViewSystemImpl(); void viewPortWidth(unsigned short viewPortWidth); void viewPortHeight(unsigned short viewPortHeight); virtual WORD viewPortHeight(void)const; virtual WORD viewPortWidth(void)const; private: unsigned short mViewPortWidth; unsigned short mViewPortHeight; }; inline ViewSystemImpl::ViewSystemImpl() : mViewPortWidth(0), mViewPortHeight(0) { } inline ViewSystemImpl::ViewSystemImpl(unsigned short width,unsigned short height) : mViewPortWidth(width), mViewPortHeight(height) { } inline ViewSystemImpl::~ViewSystemImpl() { } inline void ViewSystemImpl::viewPortWidth(unsigned short viewPortWidth) { mViewPortWidth=viewPortWidth; } inline void ViewSystemImpl::viewPortHeight(unsigned short viewPortHeight) { mViewPortHeight=viewPortHeight; } inline WORD ViewSystemImpl::viewPortHeight(void)const { return mViewPortHeight; } inline WORD ViewSystemImpl::viewPortWidth(void)const { return mViewPortWidth; } #endif