summaryrefslogtreecommitdiff
path: root/src/GipfelWidget.H
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-03-16 18:35:35 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2007-03-16 18:35:35 +0100
commitd09316016e4e0b782d784785641fec91de7d58a6 (patch)
tree3921013b0762e1c564d5e8cdba93154fd677fb9c /src/GipfelWidget.H
parent79dc410663f418ab36acd61fe53aeba8d5942705 (diff)
switch to 16 bit color depth internally
Diffstat (limited to 'src/GipfelWidget.H')
-rw-r--r--src/GipfelWidget.H8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GipfelWidget.H b/src/GipfelWidget.H
index f5254e7..8cb6d3f 100644
--- a/src/GipfelWidget.H
+++ b/src/GipfelWidget.H
@@ -39,13 +39,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,
- uchar *r, uchar *g, uchar *b);
+ int *r, int *g, int *b);
static int get_pixel_bilinear(Fl_Image *img, double x, double y,
- uchar *r, uchar *g, uchar *b);
+ int *r, int *g, int *b);
static int get_pixel(Fl_Image *img, int x, int y,
- uchar *r, uchar *g, uchar *b);
+ int *r, int *g, int *b);
public:
typedef enum {
@@ -124,7 +124,7 @@ class GipfelWidget : public Fl_Widget {
int comp_params();
int get_pixel(GipfelWidget::sample_mode_t,
- double a_alph, double a_nick, uchar *r, uchar *g, uchar *b);
+ double a_alph, double a_nick, int *r, int *g, int *b);
double get_angle_off(double view, double nick);