summaryrefslogtreecommitdiff
path: root/src/dged/display.h
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2024-05-06 22:44:40 +0200
committerAlbert Cervin <albert@acervin.com>2024-05-06 22:44:40 +0200
commit292b2786a513f4a058889fc088598cb5acf1bcc5 (patch)
treeda0619b8cd98791a42393a333486b6638fabc4b7 /src/dged/display.h
parentad0cd5c036f0080ee8d97db2e67b8d54186d1e33 (diff)
downloaddged-292b2786a513f4a058889fc088598cb5acf1bcc5.tar.gz
dged-292b2786a513f4a058889fc088598cb5acf1bcc5.tar.xz
dged-292b2786a513f4a058889fc088598cb5acf1bcc5.zip
Add inverted colors mode
Also use color constants in some more places.
Diffstat (limited to 'src/dged/display.h')
-rw-r--r--src/dged/display.h7
1 files changed, 7 insertions, 0 deletions
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
@@ -187,6 +187,13 @@ 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.
*
* The following draw commands will have their formatting reset to the default.