2014-08-27 14:03:56 +00:00
|
|
|
#ifndef id0ADBCC15BA574485BF3267254090D99B
|
|
|
|
#define id0ADBCC15BA574485BF3267254090D99B
|
|
|
|
|
2014-09-02 14:41:21 +00:00
|
|
|
#include "implem/coords.hpp"
|
2014-08-27 14:03:56 +00:00
|
|
|
|
|
|
|
namespace dk {
|
|
|
|
class Viewport {
|
|
|
|
public:
|
2014-09-02 14:41:21 +00:00
|
|
|
explicit Viewport ( const coords& parSize );
|
|
|
|
Viewport ( const coords& parSize, const coords& parPos );
|
2014-08-27 14:03:56 +00:00
|
|
|
~Viewport ( void ) noexcept = default;
|
|
|
|
|
|
|
|
Viewport& operator= ( const Viewport& ) = default;
|
|
|
|
|
|
|
|
private:
|
2014-09-02 14:41:21 +00:00
|
|
|
coords m_size;
|
|
|
|
coords m_position;
|
2014-08-27 14:03:56 +00:00
|
|
|
};
|
|
|
|
} //namespace dk
|
|
|
|
|
|
|
|
#endif
|