mirror of
https://github.com/xcat2/xNBA.git
synced 2026-05-21 08:02:40 +00:00
7025f5c648
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>
36 lines
699 B
C
36 lines
699 B
C
#ifndef CONFIG_COLOUR_H
|
|
#define CONFIG_COLOUR_H
|
|
|
|
/** @file
|
|
*
|
|
* Display colour configuration
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER );
|
|
|
|
#define COLOR_NORMAL_FG COLOR_WHITE
|
|
#define COLOR_NORMAL_BG COLOR_BLUE
|
|
|
|
#define COLOR_SELECT_FG COLOR_WHITE
|
|
#define COLOR_SELECT_BG COLOR_RED
|
|
|
|
#define COLOR_SEPARATOR_FG COLOR_CYAN
|
|
#define COLOR_SEPARATOR_BG COLOR_BLUE
|
|
|
|
#define COLOR_EDIT_FG COLOR_BLACK
|
|
#define COLOR_EDIT_BG COLOR_CYAN
|
|
|
|
#define COLOR_ALERT_FG COLOR_WHITE
|
|
#define COLOR_ALERT_BG COLOR_RED
|
|
|
|
#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 */
|