mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:13:05 +00:00

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.
44 lines
1 KiB
C
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;
|