summaryrefslogtreecommitdiffstats
path: root/src/config/colour.h
diff options
context:
space:
mode:
authorMichael Brown2013-12-07 21:53:20 +0100
committerMichael Brown2013-12-09 16:34:07 +0100
commit7025f5c648aedf744690e9e04257d6dddc94919d (patch)
tree7117fefd350b81c92732f8f600ff2d7959c0e0fc /src/config/colour.h
parent[fbcon] Always draw cursor using current foreground and background colours (diff)
downloadipxe-7025f5c648aedf744690e9e04257d6dddc94919d.tar.gz
ipxe-7025f5c648aedf744690e9e04257d6dddc94919d.tar.xz
ipxe-7025f5c648aedf744690e9e04257d6dddc94919d.zip
[console] Add centralised concept of colours and colour pairs
Add a centralised concept of colours and colour pairs (using the default colour pairs as configured via config/colour.h). A colour pair consists of a pair of colour indices. Add the ability to redefine both a colour pair and an individual colour index, with minimal overhead if this feature is not required (e.g. because the relevant shell commands are not present in the build). Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/colour.h')
-rw-r--r--src/config/colour.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/colour.h b/src/config/colour.h
index d32d46dc..c75f65e6 100644
--- a/src/config/colour.h
+++ b/src/config/colour.h
@@ -27,6 +27,9 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define COLOR_URL_FG COLOR_CYAN
#define COLOR_URL_BG COLOR_BLUE
+#define COLOR_PXE_FG COLOR_BLACK
+#define COLOR_PXE_BG COLOR_WHITE
+
#include <config/local/colour.h>
#endif /* CONFIG_COLOUR_H */