ReactOS  0.4.15-dev-1049-g1062a29
noui.h
Go to the documentation of this file.
1 /*
2  * COPYRIGHT: See COPYING in the top level directory
3  * PROJECT: FreeLoader
4  * FILE: boot/freeldr/freeldr/include/ui/noui.h
5  * PURPOSE: No UI interface header
6  * PROGRAMMERS: Hervé Poussineau
7  */
8 
9 #pragma once
10 
12 //
13 // No User Interface Functions
14 //
16 
19 
21 VOID NoUiFillArea(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, CHAR FillChar, UCHAR Attr);
23 VOID NoUiDrawBox(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR VertStyle, UCHAR HorzStyle, BOOLEAN Fill, BOOLEAN Shadow, UCHAR Attr);
25 VOID NoUiDrawText2(ULONG X, ULONG Y, ULONG MaxNumChars, PCSTR Text, UCHAR Attr);
26 VOID NoUiDrawCenteredText(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, PCSTR TextString, UCHAR Attr);
27 VOID NoUiDrawStatusText(PCSTR StatusText);
29 VOID NoUiMessageBox(PCSTR MessageText);
30 VOID NoUiMessageBoxCritical(PCSTR MessageText);
33 BOOLEAN NoUiEditBox(PCSTR MessageText, PCHAR EditTextBuffer, ULONG Length);
34 UCHAR NoUiTextToColor(PCSTR ColorText);
35 UCHAR NoUiTextToFillStyle(PCSTR FillStyleText);
38 
40 //
41 // Menu Functions
42 //
44 
45 BOOLEAN
47  IN PCSTR MenuHeader,
48  IN PCSTR MenuFooter OPTIONAL,
49  IN BOOLEAN ShowBootOptions,
50  IN PCSTR MenuItemList[],
51  IN ULONG MenuItemCount,
52  IN ULONG DefaultMenuItem,
53  IN LONG MenuTimeOut,
54  OUT PULONG SelectedMenuItem,
55  IN BOOLEAN CanEscape,
58 
signed char * PCHAR
Definition: retypes.h:7
#define IN
Definition: typedefs.h:39
UCHAR NoUiTextToColor(PCSTR ColorText)
Definition: noui.c:92
VOID NoUiFadeOut(VOID)
Definition: noui.c:106
VOID NoUiDrawText(ULONG X, ULONG Y, PCSTR Text, UCHAR Attr)
Definition: noui.c:36
void Fill(HDC hdc, LONG x, LONG y, COLORREF color)
Definition: drawing.cpp:109
BOOLEAN NoUiInitialize(VOID)
Definition: noui.c:11
BOOLEAN NoUiDisplayMenu(IN PCSTR MenuHeader, IN PCSTR MenuFooter OPTIONAL, IN BOOLEAN ShowBootOptions, IN PCSTR MenuItemList[], IN ULONG MenuItemCount, IN ULONG DefaultMenuItem, IN LONG MenuTimeOut, OUT PULONG SelectedMenuItem, IN BOOLEAN CanEscape, IN UiMenuKeyPressFilterCallback KeyPressFilter OPTIONAL, IN PVOID Context OPTIONAL)
Definition: noui.c:117
#define Y(I)
static COORD Position
Definition: mouse.c:34
char CHAR
Definition: xmlstorage.h:175
VOID NoUiDrawStatusText(PCSTR StatusText)
Definition: noui.c:48
VOID NoUiDrawBox(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR VertStyle, UCHAR HorzStyle, BOOLEAN Fill, BOOLEAN Shadow, UCHAR Attr)
Definition: noui.c:32
BOOLEAN NoUiEditBox(PCSTR MessageText, PCHAR EditTextBuffer, ULONG Length)
Definition: noui.c:87
VOID NoUiDrawShadow(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom)
Definition: noui.c:28
VOID NoUiUpdateDateTime(VOID)
Definition: noui.c:53
UCHAR NoUiTextToFillStyle(PCSTR FillStyleText)
Definition: noui.c:97
VOID NoUiFillArea(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, CHAR FillChar, UCHAR Attr)
Definition: noui.c:24
long LONG
Definition: pedump.c:60
unsigned char BOOLEAN
VOID NoUiMessageBox(PCSTR MessageText)
Definition: noui.c:57
VOID NoUiUnInitialize(VOID)
Definition: noui.c:16
VOID NoUiDrawCenteredText(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, PCSTR TextString, UCHAR Attr)
Definition: noui.c:44
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
unsigned char UCHAR
Definition: xmlstorage.h:181
BOOLEAN(* UiMenuKeyPressFilterCallback)(IN ULONG KeyPress, IN ULONG SelectedMenuItem, IN PVOID Context OPTIONAL)
Definition: ui.h:121
Definition: range.c:39
VOID NoUiDrawMenu(PUI_MENU_INFO MenuInfo)
Definition: noui.c:134
menu info structure
Definition: window.h:275
VOID NoUiFadeInBackdrop(VOID)
Definition: noui.c:102
VOID NoUiDrawProgressBarCenter(ULONG Position, ULONG Range, PCHAR ProgressText)
Definition: noui.c:79
static LPHIST_ENTRY Bottom
Definition: history.c:54
VOID NoUiDrawBackdrop(VOID)
Definition: noui.c:20
VOID NoUiMessageBoxCritical(PCSTR MessageText)
Definition: noui.c:68
unsigned int * PULONG
Definition: retypes.h:1
#define OUT
Definition: typedefs.h:40
unsigned int ULONG
Definition: retypes.h:1
const char * PCSTR
Definition: typedefs.h:52
static LPHIST_ENTRY Top
Definition: history.c:53
VOID NoUiDrawProgressBar(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, ULONG Position, ULONG Range, PCHAR ProgressText)
Definition: noui.c:83
char * Text
Definition: combotst.c:136
VOID NoUiDrawText2(ULONG X, ULONG Y, ULONG MaxNumChars, PCSTR Text, UCHAR Attr)
Definition: noui.c:40
PULONG MinorVersion OPTIONAL
Definition: CrossNt.h:68