blob: 3ff3183e9bebe19a1b0144d26ebd08dc5f1ba302 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "Screen.h"
Screen::Screen(mm width, mm height) : width(width), height(height) { }
Screen::~Screen() { }
mm Screen::getHeight() const {
return this->height;
}
mm Screen::getWidth() const {
return this->width;
}
std::ostream& operator<<(std::ostream& ostr, const Screen& screen) {
return ostr << "Screen: " << screen.width << "x" << screen.height;
}
|