blob: 950aab4533cefdebe6b767a21305580506708015 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#ifndef SG_SCREEN
#define SG_SCREEN
#include <ostream>
typedef unsigned int mm;
class Screen {
public:
virtual ~Screen();
mm getHeight() const;
mm getWidth() const;
friend std::ostream& operator<<(std::ostream& ostr, const Screen& screen);
protected:
mm width;
mm height;
Screen(mm width, mm height);
};
std::ostream& operator<<(std::ostream& ostr, const Screen& screen);
#endif /* SG_SCREEN */
|