summaryrefslogtreecommitdiff
path: root/desktop/plot_style.h
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-07-23 23:05:34 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-07-23 23:05:34 +0000
commitddeadd1c02880367ad786b113d352a519f45ec73 (patch)
tree00b8b46ee1a3fc84e5492c2183dfaa8192d261f9 /desktop/plot_style.h
parentb20949a35025b23da1bf0ac6003f4575eb94281d (diff)
downloadnetsurf-ddeadd1c02880367ad786b113d352a519f45ec73.tar.gz
netsurf-ddeadd1c02880367ad786b113d352a519f45ec73.tar.bz2
Merge LibCSS port to trunk.
svn path=/trunk/netsurf/; revision=8752
Diffstat (limited to 'desktop/plot_style.h')
-rw-r--r--desktop/plot_style.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/desktop/plot_style.h b/desktop/plot_style.h
index 088f0d275..a3b3f0103 100644
--- a/desktop/plot_style.h
+++ b/desktop/plot_style.h
@@ -23,6 +23,8 @@
#ifndef _NETSURF_DESKTOP_PLOT_STYLE_H_
#define _NETSURF_DESKTOP_PLOT_STYLE_H_
+#include <stdint.h>
+
/* html widget colours */
#define WIDGET_BASEC 0xd9d9d9
#define WIDGET_BLOBC 0x000000
@@ -63,6 +65,15 @@
((((c0 & 0xff) + (c1 & 0xff)) >> 1) << 0)
/**
+ * Colour type: XBGR
+ */
+typedef uint32_t colour;
+/**
+ * Magical transparent value
+ */
+#define NS_TRANSPARENT 0x01000000
+
+/**
* Type of plot operation
*/
typedef enum {