From 292b2786a513f4a058889fc088598cb5acf1bcc5 Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Mon, 6 May 2024 22:44:40 +0200 Subject: Add inverted colors mode Also use color constants in some more places. --- src/dged/display.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/dged/display.h') diff --git a/src/dged/display.h b/src/dged/display.h index aae2614..7e3d62c 100644 --- a/src/dged/display.h +++ b/src/dged/display.h @@ -186,6 +186,13 @@ void command_list_set_index_color_fg(struct command_list *list, void command_list_set_color_fg(struct command_list *list, uint8_t red, uint8_t green, uint8_t blue); +/** + * Set colors to be inverted. + * + * Sets background as foreground and vice versa. + */ +void command_list_set_inverted_colors(struct command_list *list); + /** * Reset the color and styling information. * -- cgit v1.2.3