summaryrefslogtreecommitdiff
path: root/include/libnsfb.h
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-09-27 13:46:10 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-09-27 13:46:10 +0100
commit46f3c9ea3793d146337c81bf8858d99238c05e86 (patch)
tree7fd5c6aaeed21e01f8ea5565d9b65016f34657ec /include/libnsfb.h
parent1983c37933d2a753c4c913527c94392682bf7b98 (diff)
downloadlibnsfb-46f3c9ea3793d146337c81bf8858d99238c05e86.tar.gz
libnsfb-46f3c9ea3793d146337c81bf8858d99238c05e86.tar.bz2
Add palette object. Optimise matching colour in case where we chose the palette. In other cases, we still have to seach all the colours, but that doesn't ever seem to be used.
Diffstat (limited to 'include/libnsfb.h')
-rw-r--r--include/libnsfb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libnsfb.h b/include/libnsfb.h
index 739617e..da8e5f6 100644
--- a/include/libnsfb.h
+++ b/include/libnsfb.h
@@ -13,6 +13,7 @@
#include <stdint.h>
+typedef struct nsfb_palette_s nsfb_palette_t;
typedef struct nsfb_cursor_s nsfb_cursor_t;
typedef struct nsfb_s nsfb_t;
typedef struct nsfb_event_s nsfb_event_t;