docs: documented color palette

This commit is contained in:
antifallobst 2023-02-22 23:39:23 +01:00
parent 8b1e807bfc
commit cce1400b74
1 changed files with 17 additions and 0 deletions

View File

@ -284,6 +284,19 @@ More information can be found on the limine project's [GitHub](https://github.co
## drivers ## drivers
### graphics/color.h ### graphics/color.h
#### `color_palette_E` - enum
Indexes for `g_color_palette`
- **Grey Dark**
- **Pink**
- **Signal Green**
- **Orange**
- **Blue**
- **Purple**
- **Green**
- **Grey Light**
- **Red**
#### `color_argb_T` - struct #### `color_argb_T` - struct
| Name | Type | Description | | Name | Type | Description |
|-------|---------|---------------------------------| |-------|---------|---------------------------------|
@ -295,6 +308,10 @@ More information can be found on the limine project's [GitHub](https://github.co
#### `color_argb_blend_alpha(background, foreground)` - function (color_argb_T) #### `color_argb_blend_alpha(background, foreground)` - function (color_argb_T)
Blends **_background_** and **_foreground_** with the _alpha_ value of **_foreground_**. Blends **_background_** and **_foreground_** with the _alpha_ value of **_foreground_**.
#### `g_color_palette` - global variable
An array of standard colors.
This array is indexed using `color_palette_E`.
### graphics/font.h ### graphics/font.h
#### `font_T` - struct #### `font_T` - struct