Graphics-related functions and variables used by the Interface Kit. More...
Classes | |
| struct | pattern |
| A pattern to use when drawing. More... | |
| struct | rgb_color |
| Structure representing a 32 bit RGBA color. More... | |
Patterns | |
| const pattern | B_MIXED_COLORS |
| const pattern | B_SOLID_HIGH |
| const pattern | B_SOLID_LOW |
| bool | operator!= (const pattern &a, const pattern &b) |
| Comparison operator for two patterns. | |
| bool | operator== (const pattern &a, const pattern &b) |
| Comparison operator for two patterns. | |
RGB Colors | |
| const rgb_color | B_TRANSPARENT_32_BIT |
| Transparent color. | |
| const uint8 | B_TRANSPARENT_8_BIT |
| Transparent color. | |
| const rgb_color | B_TRANSPARENT_COLOR |
| A transparent color. | |
| const uint8 | B_TRANSPARENT_MAGIC_CMAP8 |
| Transparent color. | |
| const uint16 | B_TRANSPARENT_MAGIC_RGBA15 |
| Transparent color. | |
| const uint16 | B_TRANSPARENT_MAGIC_RGBA15_BIG |
| Transparent color. | |
| const uint32 | B_TRANSPARENT_MAGIC_RGBA32 |
| Transparent color. | |
| const uint32 | B_TRANSPARENT_MAGIC_RGBA32_BIG |
| Transparent color. | |
| rgb_color | blend_color (rgb_color color1, rgb_color color2, uint8 amount) |
| Mix two colors, respecting their alpha values. | |
| rgb_color | disable_color (rgb_color color, rgb_color background) |
| Calculate a color for a disabled look. | |
| rgb_color | make_color (uint8 red, uint8 green, uint8 blue, uint8 alpha=255) |
| Create a rgb_color from RGBA values. | |
| rgb_color | mix_color (rgb_color color1, rgb_color color2, uint8 amount) |
| Mix two colors without respect for their alpha values. | |
Graphics-related functions and variables used by the Interface Kit.
| enum alpha_function |
| enum source_alpha |
Mix two colors, respecting their alpha values.
| color1 | First color. |
| color2 | Second color. |
| amount | The relative weight of color1 to mix in. |
Calculate a color for a disabled look.
| color | The color that it would be if the use of your color is not disabled. |
| background | The background on which will be drawn. |
Mix two colors without respect for their alpha values.
| color1 | First color. |
| color2 | Second color. |
| amount | The relative weight of color1 to mix in. |
Comparison operator for two patterns.
| true | The patterns do not match |
| false | The patterns match |
Comparison operator for two patterns.
| true | The patterns match |
| false | The patterns do not match |
|
extern |
Draw a pattern of the view's high and low colors.
|
extern |
Draw using the view's high color.
|
extern |
Draw using the view's low color.
|
extern |
Transparent color.
|
extern |
Transparent color.
|
extern |
A transparent color.
|
extern |
Transparent color.
|
extern |
Transparent color.
|
extern |
Transparent color.
|
extern |
Transparent color.
|
extern |
Transparent color.