Summary Files Commits Branches @commit @diff @stats
path: root / src / LEDVideoWall.h
blob: 100724986f253bfbf657cf925caa4b560407782b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef SG_LEDVIDEOWALL
#define SG_LEDVIDEOWALL

#include "Screen.h"

class LEDVideoWall : public Screen {
public:
	virtual ~LEDVideoWall();

	// Named constructor idiom https://isocpp.org/wiki/faq/ctors#named-ctor-idiom

	static LEDVideoWall* Freeform(mm panel_width, mm panel_height, mm wall_max_width, mm wall_max_height);
	static LEDVideoWall* Aspect(mm panel_width, mm panel_height, unsigned int aspect_width, unsigned int aspect_height);

	static LEDVideoWall* fromCommandLine();

protected:
	LEDVideoWall(mm width, mm height);
	virtual std::string extraOutput() const;
};

#endif /* SG_LEDVIDEOWALL */