Summary Files Commits Branches @commit @diff @stats
path: root / src / LEDVideoWall.h
blob: fe8b9ea39db26d6d6295b3affe1ace5c336ee38a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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();

private:
	LEDVideoWall(mm width, mm height);
};

#endif /* SG_LEDVIDEOWALL */