summaryrefslogtreecommitdiff
path: root/riscos
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2013-10-03 21:11:54 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2013-10-03 21:11:54 +0100
commitf5bdd4b10962659259423e8efa2ddf80b9805053 (patch)
tree51339cc2c13e28f254a4025fd5cf9a4ab6620cfd /riscos
parentff480312fee43925e692c8798daad5ef2f722800 (diff)
downloadnetsurf-f5bdd4b10962659259423e8efa2ddf80b9805053.tar.gz
netsurf-f5bdd4b10962659259423e8efa2ddf80b9805053.tar.bz2
Move BITMAP_SAVE_FULL_ALPHA out of core to RISC OS front end, where it belongs.
Diffstat (limited to 'riscos')
-rw-r--r--riscos/bitmap.h2
-rw-r--r--riscos/save.c1
2 files changed, 3 insertions, 0 deletions
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"