aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-06-29 14:54:16 +0200
committerThomas White <taw@physics.org>2020-07-29 18:53:44 +0200
commitcbfa9046eac9b34ba217408b6356a3a6268d8227 (patch)
tree2319e72ad8f97126117c1804d88a363a62a13a91 /libcrystfel
parent6dfea8ddd0b7cb717fc120dc68edc42b0e1fbdd8 (diff)
render_scale -> colscale_lookup
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/colscale.c4
-rw-r--r--libcrystfel/src/colscale.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/libcrystfel/src/colscale.c b/libcrystfel/src/colscale.c
index d541b384..34cd36d8 100644
--- a/libcrystfel/src/colscale.c
+++ b/libcrystfel/src/colscale.c
@@ -218,8 +218,8 @@ static void render_invmono(double val, double max,
}
-void render_scale(double val, double max, int scale,
- double *rp, double *gp, double *bp)
+void colscale_lookup(double val, double max, int scale,
+ double *rp, double *gp, double *bp)
{
switch ( scale ) {
diff --git a/libcrystfel/src/colscale.h b/libcrystfel/src/colscale.h
index 41e8c9e8..7fec2154 100644
--- a/libcrystfel/src/colscale.h
+++ b/libcrystfel/src/colscale.h
@@ -51,8 +51,8 @@ extern "C" {
#endif
/* Colour scale lookup */
-extern void render_scale(double val, double max, int scale,
- double *rp, double *gp, double *bp);
+extern void colscale_lookup(double val, double max, int scale,
+ double *rp, double *gp, double *bp);
#ifdef __cplusplus