summaryrefslogtreecommitdiff
path: root/ted.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-07 11:39:29 -0500
committerpommicket <pommicket@gmail.com>2023-01-07 11:39:29 -0500
commitda5a197ea3d6ac8333cb020080205cfd1af530c1 (patch)
treeb2e22543d91803f4a217e1506dd4f0e042b1da79 /ted.h
parenta654b666c20aa4bb42116689f90f83d55484786f (diff)
clean up phantom code
Diffstat (limited to 'ted.h')
-rw-r--r--ted.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ted.h b/ted.h
index bc99123..a17fb23 100644
--- a/ted.h
+++ b/ted.h
@@ -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);