Summary Files Commits Branches @commit @diff @stats
path: root / src / Screen.cpp
blob: 236aa695035a4e5481566721481c3c7ba183e951 (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 << "mm x " << screen.height << "mm" << screen.extraOutput();
}