X-Git-Url: https://code.delx.au/refind/blobdiff_plain/4bb04fb4ee646fbfa209762ea238e531721b6b5e..463d49c9646ad30a500cc9a6305676b790871945:/refind/screen.h diff --git a/refind/screen.h b/refind/screen.h index b03f6e1..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);