diff options
| author | board707 <50185434+board707@users.noreply.github.com> | 2024-04-20 22:26:16 +0300 |
|---|---|---|
| committer | board707 <50185434+board707@users.noreply.github.com> | 2024-04-20 22:26:16 +0300 |
| commit | 625fe45e7b4722cfc66c7ef791df6dc028e870d4 (patch) | |
| tree | 14c79e00769d7afe406ab570100a75cffdb5a0ec /src | |
| parent | 1e4b46e9399c774b0d0603381ea894a42bfb77ac (diff) | |
Make VirtualMatrixPanel::getCoords() public.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ESP32-VirtualMatrixPanel-I2S-DMA.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ESP32-VirtualMatrixPanel-I2S-DMA.h b/src/ESP32-VirtualMatrixPanel-I2S-DMA.h index 02a6886..d73fa7c 100644 --- a/src/ESP32-VirtualMatrixPanel-I2S-DMA.h +++ b/src/ESP32-VirtualMatrixPanel-I2S-DMA.h @@ -145,15 +145,17 @@ public: void setPhysicalPanelScanRate(PANEL_SCAN_RATE rate); void setZoomFactor(int scale); + virtual VirtualCoords getCoords(int16_t x, int16_t y); + VirtualCoords coords; + int16_t panelResX; + int16_t panelResY; + private: MatrixPanel_I2S_DMA *display; PANEL_CHAIN_TYPE panel_chain_type; PANEL_SCAN_RATE panel_scan_rate = NORMAL_TWO_SCAN; - virtual VirtualCoords getCoords(int16_t x, int16_t y); - VirtualCoords coords; - int16_t virtualResX; ///< Display width as combination of panels int16_t virtualResY; ///< Display height as combination of panels @@ -164,9 +166,6 @@ private: int16_t vmodule_rows; int16_t vmodule_cols; - int16_t panelResX; - int16_t panelResY; - int16_t dmaResX; // The width of the chain in pixels (as the DMA engine sees it) int _rotate = 0; |
