summaryrefslogtreecommitdiff
path: root/content/handlers/image/image_cache.h
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2020-05-13 19:03:14 +0100
committerVincent Sanders <vince@kyllikki.org>2020-05-13 19:03:14 +0100
commit3a7fc30a5f1c0945c021abf185274e88f72e7080 (patch)
tree2bb5252d22b799cc01ef1ee1858fdcb5473095bf /content/handlers/image/image_cache.h
parent95e0a24fac2abc4cddaa91bf44304ebc3d776b17 (diff)
downloadnetsurf-3a7fc30a5f1c0945c021abf185274e88f72e7080.tar.gz
netsurf-3a7fc30a5f1c0945c021abf185274e88f72e7080.tar.bz2
implement content opacity check through the function table
Diffstat (limited to 'content/handlers/image/image_cache.h')
-rw-r--r--content/handlers/image/image_cache.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/content/handlers/image/image_cache.h b/content/handlers/image/image_cache.h
index d57a3a956..955306e1b 100644
--- a/content/handlers/image/image_cache.h
+++ b/content/handlers/image/image_cache.h
@@ -170,7 +170,8 @@ int image_cache_snsummaryf(char *string, size_t size, const char *fmt);
/********* Image content handler generic cache callbacks ************/
-/** Generic content redraw callback
+/**
+ * Generic content redraw callback
*
* May be used by image content handlers as their redraw
* callback. Performs all neccissary cache lookups and conversions and
@@ -185,6 +186,8 @@ void image_cache_destroy(struct content *c);
void *image_cache_get_internal(const struct content *c, void *context);
+bool image_cache_is_opaque(struct content *c);
+
content_type image_cache_content_type(void);
#endif