Add context menu to filebrowser

This commit is contained in:
jpirnay
2026-05-16 09:21:49 +02:00
parent 1395676674
commit 9bcc7b5e4f
32 changed files with 470 additions and 56 deletions
+5
View File
@@ -41,4 +41,9 @@ class BmpViewerActivity final : public Activity {
#endif
void renderError(const char* message);
void setAsSleepScreen();
public:
// Sets a BMP file as the sleep screen without needing an open viewer instance.
// Returns true on success. Only works for .bmp files; for JPG/PNG open BmpViewerActivity.
static bool setBmpFileAsSleepScreen(const std::string& filePath);
};