From 799b75d1a6ef41d96b4bee2b92733e0ad1e6f462 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Thu, 28 Apr 2022 00:46:59 +0300 Subject: graphics: add the bordered rectangle drawing routine --- UefiMonitorTest/Graphics.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'UefiMonitorTest/Graphics.h') diff --git a/UefiMonitorTest/Graphics.h b/UefiMonitorTest/Graphics.h index 503a222..6396098 100644 --- a/UefiMonitorTest/Graphics.h +++ b/UefiMonitorTest/Graphics.h @@ -137,6 +137,18 @@ PutRect ( IN CONST GRAPHICS_PIXEL_COLOR *Color ); +VOID +DrawRectWithBorder ( + IN GRAPHICS_CONTEXT *Graphics, + IN UINTN X0, + IN UINTN Y0, + IN UINTN X1, + IN UINTN Y1, + IN UINTN BorderSize, + IN CONST GRAPHICS_PIXEL_COLOR *MainColor, + IN CONST GRAPHICS_PIXEL_COLOR *BorderColor + ); + VOID DrawCircle ( IN GRAPHICS_CONTEXT *Graphics, -- cgit v1.2.3-18-g5258