diff options
Diffstat (limited to 'desktop/plot_style.h')
-rw-r--r-- | desktop/plot_style.h | 11 |
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 { |