![]() |
BSB Developer Docs
|
Color type for application settings. More...
Go to the source code of this file.
Functions | |
| bool | js_app_settings_color_parse (const char *string, Color *value) |
| Parse a color string. | |
| void | js_app_settings_color_format (const Color *value, FuriString *string) |
| Format a color as a string. | |
Color type for application settings.
| void js_app_settings_color_format | ( | const Color * | value, |
| FuriString * | string ) |
Format a color as a string.
| [in] | value | Color. |
| [out] | string | Output, "#RRGGBB" when opaque, "#RRGGBBAA" otherwise. |
| bool js_app_settings_color_parse | ( | const char * | string, |
| Color * | value ) |
Parse a color string.
| [in] | string | "#RRGGBB" or "#RRGGBBAA"; the short form is opaque. |
| [out] | value | Parsed color. |