bx-lib : the Basic X11 Library tuned for C beginners  1.0
Functions
Predefined primary RGB colors
Color (the main attribute of the pen)

Primary RGB colors are the three colors whose (r,g,b) triplets have one saturated channel and twos zeroed channels, that is, red, green and blue. More...

Functions

bx_color bx_red (void)
 another name for bx_rgb_to_color (0xFF,0x00,0x00);
bx_color bx_green (void)
 another name for bx_rgb_to_color (0x00,0xFF,0x00);
bx_color bx_blue (void)
 another name for bx_rgb_to_color (0x00,0x00,0xFF);
bx_color bx_pale_red (void)
 another name for bx_rgb_to_color (0xFF,0x80,0x80); which is bx_mean_color (bx_red (), bx_white ());
bx_color bx_pale_green (void)
 another name for bx_rgb_to_color (0x80,0xFF,0x80); which is bx_mean_color (bx_green (), bx_white ());
bx_color bx_pale_blue (void)
 another name for bx_rgb_to_color (0x80,0x80,0xFF); which is bx_mean_color (bx_blue (), bx_white ());
bx_color bx_dark_red (void)
 another name for bx_rgb_to_color (0x80,0x00,0x00); which is bx_mean_color (bx_red (), bx_black ());
bx_color bx_dark_green (void)
 another name for bx_rgb_to_color (0x00,0x80,0x00); which is bx_mean_color (bx_green (), bx_black ());
bx_color bx_dark_blue (void)
 another name for bx_rgb_to_color (0x00,0x00,0x80); which is bx_mean_color (bx_blue (), bx_black ());

Detailed Description

Primary RGB colors are the three colors whose (r,g,b) triplets have one saturated channel and twos zeroed channels, that is, red, green and blue.

Function Documentation

bx_color bx_red ( void  )

another name for bx_rgb_to_color (0xFF,0x00,0x00);

bx_color bx_green ( void  )

another name for bx_rgb_to_color (0x00,0xFF,0x00);

bx_color bx_blue ( void  )

another name for bx_rgb_to_color (0x00,0x00,0xFF);

bx_color bx_pale_red ( void  )

another name for bx_rgb_to_color (0xFF,0x80,0x80); which is bx_mean_color (bx_red (), bx_white ());

bx_color bx_pale_green ( void  )

another name for bx_rgb_to_color (0x80,0xFF,0x80); which is bx_mean_color (bx_green (), bx_white ());

bx_color bx_pale_blue ( void  )

another name for bx_rgb_to_color (0x80,0x80,0xFF); which is bx_mean_color (bx_blue (), bx_white ());

bx_color bx_dark_red ( void  )

another name for bx_rgb_to_color (0x80,0x00,0x00); which is bx_mean_color (bx_red (), bx_black ());

bx_color bx_dark_green ( void  )

another name for bx_rgb_to_color (0x00,0x80,0x00); which is bx_mean_color (bx_green (), bx_black ());

bx_color bx_dark_blue ( void  )

another name for bx_rgb_to_color (0x00,0x00,0x80); which is bx_mean_color (bx_blue (), bx_black ());