See desc for more.

- Add WAV playback back with 10 MiB as max limit.

- Some more Screenshot Menu checks.
This commit is contained in:
StackZ
2020-12-03 07:19:02 +01:00
parent 78d0dad604
commit 64977911e6
22 changed files with 457 additions and 168 deletions
+6 -11
View File
@@ -67,16 +67,10 @@ public:
void drawThread();
void captureThread();
void handler(std::vector<u8>& out);
void handler(std::string &result);
bool done() const { return this->finished; };
bool cancelled() const { return this->cancel; };
bool Mode() const { return this->mode; };
void Info(bool v) { this->displayInfo = v; };
int selectedStore = 0, sPos = 0;
std::vector<StoreList> stores = { };
bool FromList = false;
uint8_t timeout = 30;
void List(bool v) { this->displayList = v; };
private:
void buffToImage();
void finish();
@@ -90,9 +84,10 @@ private:
std::atomic<bool> finished = false;
bool capturing = false;
bool cancel = false;
bool mode = true; // True -> Camera, False -> URL.
bool displayInfo = false;
bool displayList = false;
int selectedStore = 0, sPos = 0;
std::vector<StoreList> stores = { };
std::vector<u8> out;
};
/*