X-Git-Url: https://code.delx.au/refind/blobdiff_plain/2a9f0905f01f51c3f831af471ddfb2cab416e386..add96ff8057d0c03026395992d9ecde081c8dca7:/refind/screen.h diff --git a/refind/screen.h b/refind/screen.h index b89fe8f..25bdbb9 100644 --- a/refind/screen.h +++ b/refind/screen.h @@ -50,6 +50,8 @@ // screen module // +#define DONT_CHANGE_TEXT_MODE 1024 /* textmode # that's a code to not change the text mode */ + #define ATTR_BASIC (EFI_LIGHTGRAY | EFI_BACKGROUND_BLACK) #define ATTR_ERROR (EFI_YELLOW | EFI_BACKGROUND_BLACK) #define ATTR_BANNER (EFI_WHITE | EFI_BACKGROUND_BLUE) @@ -58,13 +60,11 @@ #define ATTR_SCROLLARROW (EFI_LIGHTGREEN | EFI_BACKGROUND_BLACK) //#define LAYOUT_TEXT_WIDTH (512) -#define LAYOUT_TEXT_WIDTH (425) -#define LAYOUT_TOTAL_HEIGHT (368) -#define LAYOUT_BANNER_HEIGHT (32) -#define LAYOUT_BANNER_YOFFSET (LAYOUT_BANNER_HEIGHT + 32) +//#define LAYOUT_TEXT_WIDTH (425) +#define LAYOUT_BANNER_YGAP 32 -#define FONT_CELL_WIDTH (7) -#define FONT_CELL_HEIGHT (12) +//#define FONT_CELL_WIDTH (7) +//#define FONT_CELL_HEIGHT (12) extern UINTN ConWidth; extern UINTN ConHeight; @@ -90,6 +90,7 @@ VOID DebugPause(VOID); #define DebugPause() #endif VOID EndlessIdleLoop(VOID); +BOOLEAN ReadAllKeyStrokes(VOID); VOID PauseForKey(VOID); BOOLEAN CheckFatalError(IN EFI_STATUS Status, IN CHAR16 *where); @@ -105,6 +106,6 @@ VOID BltImageAlpha(IN EG_IMAGE *Image, IN UINTN XPos, IN UINTN YPos, IN EG_PIXEL //VOID BltImageComposite(IN EG_IMAGE *BaseImage, IN EG_IMAGE *TopImage, IN UINTN XPos, IN UINTN YPos); VOID BltImageCompositeBadge(IN EG_IMAGE *BaseImage, IN EG_IMAGE *TopImage, IN EG_IMAGE *BadgeImage, IN UINTN XPos, IN UINTN YPos); -BOOLEAN line_edit(CHAR16 *line_in, CHAR16 **line_out, UINTN x_max, UINTN y_pos); +BOOLEAN line_edit(CHAR16 *line_in, CHAR16 **line_out, UINTN x_max); #endif