summaryrefslogtreecommitdiff
path: root/plugingui/image.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-03-18 20:57:32 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-03-18 20:57:32 +0100
commit1bd5a04b4ea0e6b5736e844948ce744d5dd0618a (patch)
tree1f1cfa9f75e683faae5d40107b7eb2e54a81833b /plugingui/image.h
parent4a8746a7bc518acd54e738a735da87739cb86c34 (diff)
Make Image class use resource.
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 c509159..f931d43 100644
--- a/plugingui/image.h
+++ b/plugingui/image.h
@@ -31,6 +31,7 @@
#include <string>
#include "colour.h"
+#include "resource.h"
namespace GUI {
@@ -49,6 +50,8 @@ public:
unsigned int order;
private:
+ void load(const char* data, size_t size);
+
size_t w, h;
png_byte color_type;
png_byte bit_depth;