More minor changes.
Header and graphics had some one-liners.
This commit is contained in:
parent
80154dbb51
commit
f524eee6ff
|
@ -27,7 +27,8 @@
|
||||||
#include <efierr.h>
|
#include <efierr.h>
|
||||||
|
|
||||||
/* ==================== Custom Headers ==================== */
|
/* ==================== Custom Headers ==================== */
|
||||||
//#include "AVX.h"
|
#include <bitmapfont.h>
|
||||||
|
|
||||||
|
|
||||||
/* ==================== EFI structs and constants ==================== */
|
/* ==================== EFI structs and constants ==================== */
|
||||||
|
|
||||||
|
@ -341,7 +342,7 @@ typedef struct {
|
||||||
uint32_t charBGColor; // BackGround Color
|
uint32_t charBGColor; // BackGround Color
|
||||||
uint32_t screenMinX; // Far left side of the screen
|
uint32_t screenMinX; // Far left side of the screen
|
||||||
uint32_t screenMinY; // Top of the screen
|
uint32_t screenMinY; // Top of the screen
|
||||||
uint32_t ScreenScale;
|
uint32_t charScale;
|
||||||
uint32_t cursorPos;
|
uint32_t cursorPos;
|
||||||
uint32_t scrollMode; // Move screen up, or wraparound
|
uint32_t scrollMode; // Move screen up, or wraparound
|
||||||
} PRINT_INFO;
|
} PRINT_INFO;
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
// Get it? Default Font
|
// Get it? Default Font
|
||||||
// Defaunt
|
// Defaunt
|
||||||
// Defont
|
// Defont
|
||||||
#define DEFONT font88
|
#define DEFONT bitfont_latin
|
||||||
|
|
||||||
|
|
||||||
void SetupPrinting(EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE GPU) {
|
void SetupPrinting(EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE GPU) {
|
||||||
|
@ -33,7 +33,7 @@ void SetupPrinting(EFI_GRAPHICS_OUTPUT_PROTOCOL_MODE GPU) {
|
||||||
Print_Info.screenMinX = 0;
|
Print_Info.screenMinX = 0;
|
||||||
Print_Info.screenMinY = 0;
|
Print_Info.screenMinY = 0;
|
||||||
|
|
||||||
Print_Info.ScreenScale = 1;
|
Print_Info.charScale = 1;
|
||||||
Print_Info.cursorPos = 0;
|
Print_Info.cursorPos = 0;
|
||||||
|
|
||||||
Print_Info.scrollMode = 0;
|
Print_Info.scrollMode = 0;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user