OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
FontTester.c File Reference
#include <Uefi.h>
#include <Library/OcDebugLogLib.h>
#include <Library/OcMiscLib.h>
#include <Library/UefiLib.h>
#include <Library/UefiBootServicesTableLib.h>

Go to the source code of this file.

Macros

#define APP_TITLE   L" <<<Font Tester>>> "
 
#define NROWS   (8)
 
#define NCOLUMNS   (16)
 
#define GAP   (8)
 

Functions

STATIC VOID PauseSeconds (UINTN Seconds)
 
STATIC VOID PrintFontPage (UINT8 PageNumber, UINTN CursorColumn, UINTN CursorRow)
 
UINTN CentrePos (UINTN Width)
 
VOID Centre (CHAR16 *String)
 
EFI_STATUS EFIAPI UefiMain (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Detailed Description

Test implemented font pages.

Copyright (c) 2023, Mike Beaton. All rights reserved.
SPDX-License-Identifier: BSD-3-Clause

Definition in file FontTester.c.

Macro Definition Documentation

◆ APP_TITLE

#define APP_TITLE   L" <<<Font Tester>>> "

Definition at line 14 of file FontTester.c.

◆ GAP

#define GAP   (8)

Definition at line 18 of file FontTester.c.

◆ NCOLUMNS

#define NCOLUMNS   (16)

Definition at line 17 of file FontTester.c.

◆ NROWS

#define NROWS   (8)

Definition at line 16 of file FontTester.c.

Function Documentation

◆ Centre()

VOID Centre ( CHAR16 * String)

Definition at line 96 of file FontTester.c.

◆ CentrePos()

UINTN CentrePos ( UINTN Width)

Definition at line 70 of file FontTester.c.

◆ PauseSeconds()

STATIC VOID PauseSeconds ( UINTN Seconds)

Definition at line 22 of file FontTester.c.

◆ PrintFontPage()

STATIC VOID PrintFontPage ( UINT8 PageNumber,
UINTN CursorColumn,
UINTN CursorRow )

Definition at line 38 of file FontTester.c.

◆ UefiMain()

EFI_STATUS EFIAPI UefiMain ( IN EFI_HANDLE ImageHandle,
IN EFI_SYSTEM_TABLE * SystemTable )

Definition at line 114 of file FontTester.c.