diff options
feat: Implement freeform LED video wall
1 files changed, 20 insertions, 0 deletions
| -rw-r--r-- | src/LEDVideoWall.h | 20 |
diff --git a/src/LEDVideoWall.h b/src/LEDVideoWall.h new file mode 100644 index 0000000..043aaed --- /dev/null +++ b/src/LEDVideoWall.h @@ -0,0 +1,20 @@ +#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* fromCommandLine(); + +private: + LEDVideoWall(mm width, mm height); +}; + +#endif /* SG_LEDVIDEOWALL */ |