aboutsummaryrefslogtreecommitdiffstats
path: root/UefiMonitorTest/Graphics.c
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2022-04-25 15:38:47 +0300
committerJoursoir <chat@joursoir.net>2022-04-25 15:38:47 +0300
commitfb21722ed2dde51ca04d95e86f44d159673fff2d (patch)
tree2b34847972c4ca28121cb6f8ff67d120ebf423a4 /UefiMonitorTest/Graphics.c
parent6270073d0f155ba0d570ef597a8efb6bc9853f75 (diff)
downloadumt-fb21722ed2dde51ca04d95e86f44d159673fff2d.tar.gz
umt-fb21722ed2dde51ca04d95e86f44d159673fff2d.tar.bz2
umt-fb21722ed2dde51ca04d95e86f44d159673fff2d.zip
replace local color constants with global ones
Diffstat (limited to 'UefiMonitorTest/Graphics.c')
-rw-r--r--UefiMonitorTest/Graphics.c19
1 files changed, 19 insertions, 0 deletions
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 (