summaryrefslogtreecommitdiff
path: root/src/GipfelWidget.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/GipfelWidget.H')
-rw-r--r--src/GipfelWidget.H9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/GipfelWidget.H b/src/GipfelWidget.H
index e1708f2..cba4513 100644
--- a/src/GipfelWidget.H
+++ b/src/GipfelWidget.H
@@ -37,10 +37,13 @@ class GipfelWidget : public Fl_Widget {
int get_rel_track_width(Hill *m);
static int get_pixel_nearest(Fl_Image *img, double x, double y,
- char *r, char *g, char *b);
+ uchar *r, uchar *g, uchar *b);
+
+ static int get_pixel_bilinear(Fl_Image *img, double x, double y,
+ uchar *r, uchar *g, uchar *b);
static int get_pixel(Fl_Image *img, int x, int y,
- char *r, char *g, char *b);
+ uchar *r, uchar *g, uchar *b);
public:
GipfelWidget(int X,int Y,int W, int H);
@@ -114,7 +117,7 @@ class GipfelWidget : public Fl_Widget {
int update();
int get_pixel(double a_view, double a_nick,
- char *r, char *g, char *b);
+ uchar *r, uchar *g, uchar *b);
void draw();
};