Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ui] Allow colours to be configured via config/colour.h
Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
- Loading branch information
Showing
4 changed files
with
45 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#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 | ||
|
||
#include <config/local/colour.h> | ||
|
||
#endif /* CONFIG_COLOUR_H */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters