summaryrefslogtreecommitdiff
path: root/plugingui/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugingui/image.h')
-rw-r--r--plugingui/image.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugingui/image.h b/plugingui/image.h
index e70215e..dd7f347 100644
--- a/plugingui/image.h
+++ b/plugingui/image.h
@@ -51,8 +51,11 @@ public:
const Colour& getPixel(size_t x, size_t y) const override;
+ bool isValid() const;
+
private:
void setError();
+ bool valid{false};
void load(const char* data, size_t size);