From f5bdd4b10962659259423e8efa2ddf80b9805053 Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Thu, 3 Oct 2013 21:11:54 +0100 Subject: Move BITMAP_SAVE_FULL_ALPHA out of core to RISC OS front end, where it belongs. --- image/bitmap.h | 2 -- riscos/bitmap.h | 2 ++ riscos/save.c | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/image/bitmap.h b/image/bitmap.h index 256e977ab..193249259 100644 --- a/image/bitmap.h +++ b/image/bitmap.h @@ -61,8 +61,6 @@ #define BITMAP_MODIFIED (1 << 1) /** buffer has been modified */ #define BITMAP_CLEAR_MEMORY (1 << 2) /** memory should be wiped */ -#define BITMAP_SAVE_FULL_ALPHA (1 << 0) /** save with full alpha channel (if not opaque) */ - struct content; /** An opaque image. */ diff --git a/riscos/bitmap.h b/riscos/bitmap.h index 01d4171d1..1b7d1b9a9 100644 --- a/riscos/bitmap.h +++ b/riscos/bitmap.h @@ -23,6 +23,8 @@ #include "oslib/osspriteop.h" #include "image/bitmap.h" +#define BITMAP_SAVE_FULL_ALPHA (1 << 0) /** save with full alpha channel (if not opaque) */ + struct osspriteop_area; struct bitmap { diff --git a/riscos/save.c b/riscos/save.c index 511af91f5..4d1740397 100644 --- a/riscos/save.c +++ b/riscos/save.c @@ -45,6 +45,7 @@ #include "desktop/thumbnail.h" #include "image/bitmap.h" #include "render/form.h" +#include "riscos/bitmap.h" #include "riscos/dialog.h" #include "riscos/gui.h" #include "riscos/menus.h" -- cgit v1.2.3