aboutsummaryrefslogtreecommitdiffstats
path: root/UefiMonitorTest/Graphics.h
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2022-05-10 01:30:31 +0300
committerJoursoir <chat@joursoir.net>2022-05-10 01:30:31 +0300
commit4234e13c3542ca769c21f6cde9207550bda0d8dd (patch)
treebf0f111cd1674719fd282bc09607c46e741275a4 /UefiMonitorTest/Graphics.h
parent73fb0ea5dade3b2a2377f3b2309b07727c416c8f (diff)
downloadumt-4234e13c3542ca769c21f6cde9207550bda0d8dd.tar.gz
umt-4234e13c3542ca769c21f6cde9207550bda0d8dd.tar.bz2
umt-4234e13c3542ca769c21f6cde9207550bda0d8dd.zip
graphics: store color names
Diffstat (limited to 'UefiMonitorTest/Graphics.h')
-rw-r--r--UefiMonitorTest/Graphics.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/UefiMonitorTest/Graphics.h b/UefiMonitorTest/Graphics.h
index 37484b0..bfa24cd 100644
--- a/UefiMonitorTest/Graphics.h
+++ b/UefiMonitorTest/Graphics.h
@@ -101,7 +101,12 @@ enum UMT_COLORS {
UMT_COLOR_END
};
-extern CONST GRAPHICS_PIXEL_COLOR gUmtColors[];
+typedef struct {
+ EFI_STRING_ID StringId;
+ GRAPHICS_PIXEL_COLOR Color;
+} UMT_COLORS;
+
+extern CONST UMT_COLORS gUmtColors[];
EFI_STATUS
PrepareGraphicsInfo (