summaryrefslogtreecommitdiff
path: root/src/GipfelWidget.H
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-12-16 16:55:54 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-12-16 16:55:54 +0100
commitd72e0316e07ff23fc4e0c3161eacfad4dd894b68 (patch)
treea7c385804dbcd256c7d4d55839208aecf92b17c9 /src/GipfelWidget.H
parent3b8859b0b59429ba98305972bccd5111f058ff16 (diff)
parent2aaf6d31566df56d30ee492418562e04732c8059 (diff)
merge bilinear
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();
};