summaryrefslogtreecommitdiff
path: root/src/stylesheet.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2011-01-29 14:45:05 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2011-01-29 14:45:05 +0000
commit9838246d69a3d48a8d0d286ecbfcd1faa199ae91 (patch)
treeae1fcbdbd02cfe4ed95702a517133ceb9e249f50 /src/stylesheet.h
parent9a026637586cc90ce3418e945210c90313434306 (diff)
downloadlibcss-9838246d69a3d48a8d0d286ecbfcd1faa199ae91.tar.gz
libcss-9838246d69a3d48a8d0d286ecbfcd1faa199ae91.tar.bz2
Provide hook for system colour name -> RGB conversion
svn path=/trunk/libcss/; revision=11522
Diffstat (limited to 'src/stylesheet.h')
-rw-r--r--src/stylesheet.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stylesheet.h b/src/stylesheet.h
index 827d8d6..6296f9a 100644
--- a/src/stylesheet.h
+++ b/src/stylesheet.h
@@ -177,6 +177,9 @@ struct css_stylesheet {
css_url_resolution_fn resolve; /**< URL resolution function */
void *resolve_pw; /**< Private word */
+ css_color_resolution_fn color; /**< Colour resolution function */
+ void *color_pw; /**< Private word */
+
css_allocator_fn alloc; /**< Allocation function */
void *pw; /**< Private word */