reactos/boot/freeldr/freeldr/include/ui/minitui.h
Timo Kreuzer 9a093ecbe9 [FREELDR] Fix menu display on VMware
When drawing the menu, the boot options should not be overwritten, but when clearing the screen, everything needs to be drawn, otherwise there will be uninitialized characters at the bottom. See CORE-20014.
2025-03-18 00:36:40 +02:00

44 lines
1 KiB
C

/*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: FreeLoader
* FILE: boot/freeldr/freeldr/include/ui/minitui.h
* PURPOSE: Mini Text UI interface header
* PROGRAMMERS: Hervé Poussineau
*/
#pragma once
/* Textual User Interface Functions ******************************************/
VOID MiniTuiDrawBackdrop(ULONG DrawHeight);
VOID MiniTuiDrawStatusText(PCSTR StatusText);
VOID
MiniTuiSetProgressBarText(
_In_ PCSTR ProgressText);
VOID
MiniTuiTickProgressBar(
_In_ ULONG SubPercentTimes100);
/* Draws the progress bar showing nPos percent filled */
VOID
MiniTuiDrawProgressBarCenter(
_In_ PCSTR ProgressText);
/* Draws the progress bar showing nPos percent filled */
VOID
MiniTuiDrawProgressBar(
_In_ ULONG Left,
_In_ ULONG Top,
_In_ ULONG Right,
_In_ ULONG Bottom,
_In_ PCSTR ProgressText);
/* Menu Functions ************************************************************/
VOID
MiniTuiDrawMenu(
_In_ PUI_MENU_INFO MenuInfo);
extern const UIVTBL MiniTuiVtbl;