summaryrefslogtreecommitdiff
path: root/src/DataImage.H
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-06-25 09:51:23 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-06-25 09:51:23 +0200
commit8717d1dd411e7859a29e097e893956521bd1cd70 (patch)
tree68f4443562115d17073bcd6b4f93ce09070ba1d2 /src/DataImage.H
parentc58cf1232ea3134671d632dcba651fbf11eb0155 (diff)
import image data grabbing from
http://seriss.com/people/erco/fltk/#Fl_Image
Diffstat (limited to 'src/DataImage.H')
-rw-r--r--src/DataImage.H3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/DataImage.H b/src/DataImage.H
index abeb4f5..99910e5 100644
--- a/src/DataImage.H
+++ b/src/DataImage.H
@@ -32,6 +32,9 @@ class DataImage : Fl_Widget {
~DataImage();
int set_pixel(nt x, int y, char r, char g, char b);
+
+ static int get_pixel(Fl_RGB_Image *img, int x, int y,
+ char *r, char *g, char *b);
};
#endif