Screenshot tool and a build flag for conditional screenshot functionality:

- Adds the possibility to capture the device screen and save it as a PNG
  image
- Wrap the code behind ENABLE_SCREENSHOT build flag, as per instructions
  in README
This commit is contained in:
vanous
2026-05-27 22:08:28 +02:00
parent 5b40e91df3
commit 7fc8b4b5a5
11 changed files with 612 additions and 0 deletions
+5
View File
@@ -58,4 +58,9 @@ public:
void translateUTF8ToBlocks(char* dest, const char* src, size_t dest_size) override;
void setBrightness(uint8_t level) override;
void endFrame() override;
#ifdef ENABLE_SCREENSHOT
// Screenshot support
uint8_t* getBuffer() { return display.getBuffer(); }
#endif
};