diff options
Diffstat (limited to 'src/render.h')
-rw-r--r-- | src/render.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/render.h b/src/render.h index 902ec278..ae9fb637 100644 --- a/src/render.h +++ b/src/render.h @@ -20,7 +20,7 @@ #include <stddef.h> -#include "displaywindow.h" + #include "image.h" enum { @@ -32,18 +32,21 @@ enum { extern void render_scale(float val, float max, int scale, float *rp, float *gp, float *bp); + #ifdef HAVE_GTK #include <gdk-pixbuf/gdk-pixbuf.h> +#include "displaywindow.h" extern GdkPixbuf *render_get_image(DisplayWindow *dw); extern GdkPixbuf *render_get_colour_scale(size_t w, size_t h, int scale); -#endif /* HAVE_GTK */ - extern int render_png(DisplayWindow *dw, const char *filename); extern int render_tiff_fp(DisplayWindow *dw, const char *filename); extern int render_tiff_int16(DisplayWindow *dw, const char *filename); +#endif /* HAVE_GTK */ + + #endif /* RENDER_H */ |