From fb21722ed2dde51ca04d95e86f44d159673fff2d Mon Sep 17 00:00:00 2001 From: Joursoir Date: Mon, 25 Apr 2022 15:38:47 +0300 Subject: replace local color constants with global ones --- UefiMonitorTest/Graphics.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'UefiMonitorTest/Graphics.c') diff --git a/UefiMonitorTest/Graphics.c b/UefiMonitorTest/Graphics.c index ce0b757..0570dd8 100644 --- a/UefiMonitorTest/Graphics.c +++ b/UefiMonitorTest/Graphics.c @@ -33,6 +33,25 @@ CONST EFI_PIXEL_BITMASK mBgrPixelMasks = { 0x00ff0000, 0x0000ff00, 0x000000ff, 0xff000000 }; +CONST GRAPHICS_PIXEL_COLOR gUmtColors[UMT_COLOR_END] = { + { 0x00, 0x00, 0x00, 0x00 }, + { 0xFF, 0xFF, 0xFF, 0x00 }, + { 0x00, 0x00, 0xFF, 0x00 }, + { 0x00, 0xFF, 0x00, 0x00 }, + { 0xFF, 0x00, 0x00, 0x00 }, + { 0x00, 0xFF, 0xFF, 0x00 }, + { 0xFF, 0xFF, 0x00, 0x00 }, + { 0xFF, 0x00, 0xFF, 0x00 }, + { 0xC0, 0xC0, 0xC0, 0x00 }, + { 0x80, 0x80, 0x80, 0x00 }, + { 0x00, 0x00, 0x80, 0x00 }, + { 0x00, 0x80, 0x80, 0x00 }, + { 0x00, 0x80, 0x00, 0x00 }, + { 0x80, 0x00, 0x80, 0x00 }, + { 0x80, 0x80, 0x00, 0x00 }, + { 0x80, 0x00, 0x00, 0x00 } +}; + STATIC VOID ParseGraphicsPixelFormat ( -- cgit v1.2.3-18-g5258