Go to the documentation of this file.
24#ifndef _NETSURF_CSS_H_
25#define _NETSURF_CSS_H_
35#define nscss_color_to_ns(c) \
36 ( ((~c) & 0xff000000) | \
37 ((( c) & 0xff0000 ) >> 16) | \
39 ((( c) & 0xff ) << 16))
50#define ns_color_to_nscss(c) \
51 ( ((~c) & 0xff000000) | \
52 ((( c) & 0xff0000 ) >> 16) | \
54 ((( c) & 0xff ) << 16))
62#define nscss_color_is_transparent(color) \
63 (((color) >> 24) == 0)