summaryrefslogtreecommitdiff
path: root/plugingui/image.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-05-02 15:14:25 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-05-02 15:14:25 +0200
commit2b055b728ac0c58eb571413e7aba31dd3b90f685 (patch)
tree52a2fa8e98c0506b54ded7fa8c67a6462f937e74 /plugingui/image.h
parentfcd0aec1f98ba4d77630a4b8ed1037a2efb390d0 (diff)
Remove libpng dependency. Replace it with compiled-in lodepng.
Diffstat (limited to 'plugingui/image.h')
-rw-r--r--plugingui/image.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugingui/image.h b/plugingui/image.h
index acfe964..cec1518 100644
--- a/plugingui/image.h
+++ b/plugingui/image.h
@@ -27,7 +27,6 @@
#ifndef __DRUMGIZMO_IMAGE_H__
#define __DRUMGIZMO_IMAGE_H__
-#include <png.h>
#include <string>
#include "colour.h"
@@ -52,8 +51,7 @@ private:
void load(const char* data, size_t size);
size_t w, h;
- int number_of_passes;
- png_bytep *row_pointers;
+ unsigned char *image_data;
};
};