diff options
author | Michael Drake <tlsa@netsurf-browser.org> | 2022-03-02 11:56:21 +0000 |
---|---|---|
committer | Michael Drake <tlsa@netsurf-browser.org> | 2022-03-02 11:56:21 +0000 |
commit | 79b272cb58ea3b114f6f3cf3594ced2721b9f8dd (patch) | |
tree | 9aa5aac5f206a85087730ae1fe4ae28c7db1b02b /include | |
parent | 848debfe6c3a000ab547d185b57b47ac5560ba8e (diff) | |
download | libnsgif-79b272cb58ea3b114f6f3cf3594ced2721b9f8dd.tar.gz libnsgif-79b272cb58ea3b114f6f3cf3594ced2721b9f8dd.tar.bz2 |
API: Expose background colour in nsgif info.
Diffstat (limited to 'include')
-rw-r--r-- | include/nsgif.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/nsgif.h b/include/nsgif.h index 6bf2dd6..6029135 100644 --- a/include/nsgif.h +++ b/include/nsgif.h @@ -290,6 +290,8 @@ typedef struct nsgif_info { int loop_max; /** number of animation loops so far */ int loop_count; + /** background colour in same pixel format as \ref nsgif_bitmap_t. */ + uint8_t background[4]; } nsgif_info_t; /** |