summaryrefslogtreecommitdiff
path: root/utils/nscolour.h
diff options
context:
space:
mode:
authorMichael Drake <michael.drake@codethink.co.uk>2020-04-07 21:14:11 +0100
committerMichael Drake <michael.drake@codethink.co.uk>2020-04-07 21:32:27 +0100
commit9fa6ac7113a7e6bf8949c09aec2e060518a91c53 (patch)
tree20013d29122a09e6c11e20ab323bc6537a29450e /utils/nscolour.h
parent562f4f765cd628aef65636f2ab09ed1f0606457e (diff)
downloadnetsurf-9fa6ac7113a7e6bf8949c09aec2e060518a91c53.tar.gz
netsurf-9fa6ac7113a7e6bf8949c09aec2e060518a91c53.tar.bz2
nscolour: Add function to get nscolour stylesheet.
Diffstat (limited to 'utils/nscolour.h')
-rw-r--r--utils/nscolour.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/nscolour.h b/utils/nscolour.h
index 6857009bd..910d7f7a5 100644
--- a/utils/nscolour.h
+++ b/utils/nscolour.h
@@ -68,4 +68,11 @@ extern colour nscolours[];
*/
nserror nscolour_update(void);
+/**
+ * Get a pointer to a stylesheet for nscolours.
+ *
+ * \return NSERROR_OK on success, or appropriate error otherwise.
+ */
+nserror nscolour_get_stylesheet(const char **stylesheet_out);
+
#endif