From 8717d1dd411e7859a29e097e893956521bd1cd70 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 25 Jun 2006 09:51:23 +0200 Subject: import image data grabbing from http://seriss.com/people/erco/fltk/#Fl_Image --- src/DataImage.H | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/DataImage.H') 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 -- cgit v1.2.3