From 3cb54ae0a20f45b7681a23c7984592bd3a5aa863 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 23 Jul 2025 13:48:48 +0300 Subject: feat: Implement freeform LED video wall --- src/LEDVideoWall.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/LEDVideoWall.h (limited to 'src/LEDVideoWall.h') 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 */ -- cgit v1.3.1-26-gb76a