From 4234e13c3542ca769c21f6cde9207550bda0d8dd Mon Sep 17 00:00:00 2001 From: Joursoir Date: Tue, 10 May 2022 01:30:31 +0300 Subject: graphics: store color names --- UefiMonitorTest/Graphics.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'UefiMonitorTest/Graphics.h') 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 ( -- cgit v1.2.3-18-g5258