diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2013-10-03 21:11:54 +0100 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2013-10-03 21:11:54 +0100 |
commit | f5bdd4b10962659259423e8efa2ddf80b9805053 (patch) | |
tree | 51339cc2c13e28f254a4025fd5cf9a4ab6620cfd | |
parent | ff480312fee43925e692c8798daad5ef2f722800 (diff) | |
download | netsurf-f5bdd4b10962659259423e8efa2ddf80b9805053.tar.gz netsurf-f5bdd4b10962659259423e8efa2ddf80b9805053.tar.bz2 |
Move BITMAP_SAVE_FULL_ALPHA out of core to RISC OS front end, where it belongs.
-rw-r--r-- | image/bitmap.h | 2 | ||||
-rw-r--r-- | riscos/bitmap.h | 2 | ||||
-rw-r--r-- | 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" |