diff options
author | pommicket <pommicket@gmail.com> | 2023-01-07 11:39:29 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-07 11:39:29 -0500 |
commit | da5a197ea3d6ac8333cb020080205cfd1af530c1 (patch) | |
tree | b2e22543d91803f4a217e1506dd4f0e042b1da79 /ted.h | |
parent | a654b666c20aa4bb42116689f90f83d55484786f (diff) |
clean up phantom code
Diffstat (limited to 'ted.h')
-rw-r--r-- | ted.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -966,6 +966,10 @@ Status color_from_str(const char *str, u32 *color); // which color setting should be used for the given symbol kind. // this is the color used in the autocomplete selector, for example. ColorSetting color_for_symbol_kind(SymbolKind kind); +// perform SRC_ALPHA, ONE_MINUS_SRC_ALPHA blending with `bg` and `fg`. +u32 color_blend(u32 bg, u32 fg); +// multiply color's alpha value by `opacity`. +u32 color_apply_opacity(u32 color, float opacity); // === command.c === void command_init(void); |