ReactOS 0.4.15-dev-8235-gcd88a97
noui.c File Reference
#include <freeldr.h>
Include dependency graph for noui.c:

Go to the source code of this file.

Functions

BOOLEAN NoUiInitialize (VOID)
 
VOID NoUiUnInitialize (VOID)
 
VOID NoUiDrawBackdrop (VOID)
 
VOID NoUiFillArea (ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, CHAR FillChar, UCHAR Attr)
 
VOID NoUiDrawShadow (ULONG Left, ULONG Top, ULONG Right, ULONG Bottom)
 
VOID NoUiDrawBox (ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR VertStyle, UCHAR HorzStyle, BOOLEAN Fill, BOOLEAN Shadow, UCHAR Attr)
 
VOID NoUiDrawText (_In_ ULONG X, _In_ ULONG Y, _In_ PCSTR Text, _In_ UCHAR Attr)
 
VOID NoUiDrawText2 (_In_ ULONG X, _In_ ULONG Y, _In_opt_ ULONG MaxNumChars, _In_reads_or_z_(MaxNumChars) PCSTR Text, _In_ UCHAR Attr)
 
VOID NoUiDrawCenteredText (_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Right, _In_ ULONG Bottom, _In_ PCSTR TextString, _In_ UCHAR Attr)
 
VOID NoUiDrawStatusText (PCSTR StatusText)
 
VOID NoUiUpdateDateTime (VOID)
 
VOID NoUiMessageBox (_In_ PCSTR MessageText)
 
VOID NoUiMessageBoxCritical (_In_ PCSTR MessageText)
 
VOID NoUiSetProgressBarText (_In_ PCSTR ProgressText)
 
VOID NoUiTickProgressBar (_In_ ULONG SubPercentTimes100)
 
VOID NoUiDrawProgressBarCenter (_In_ PCSTR ProgressText)
 
VOID NoUiDrawProgressBar (_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Right, _In_ ULONG Bottom, _In_ PCSTR ProgressText)
 
BOOLEAN NoUiEditBox (PCSTR MessageText, PCHAR EditTextBuffer, ULONG Length)
 
UCHAR NoUiTextToColor (PCSTR ColorText)
 
UCHAR NoUiTextToFillStyle (PCSTR FillStyleText)
 
VOID NoUiFadeInBackdrop (VOID)
 
VOID NoUiFadeOut (VOID)
 
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)
 
VOID NoUiDrawMenu (_In_ PUI_MENU_INFO MenuInfo)
 

Function Documentation

◆ NoUiDisplayMenu()

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 at line 163 of file noui.c.

175{
176 *SelectedMenuItem = DefaultMenuItem;
177 return TRUE;
178}
#define TRUE
Definition: types.h:120

◆ NoUiDrawBackdrop()

VOID NoUiDrawBackdrop ( VOID  )

Definition at line 20 of file noui.c.

21{
22}

◆ NoUiDrawBox()

VOID NoUiDrawBox ( ULONG  Left,
ULONG  Top,
ULONG  Right,
ULONG  Bottom,
UCHAR  VertStyle,
UCHAR  HorzStyle,
BOOLEAN  Fill,
BOOLEAN  Shadow,
UCHAR  Attr 
)

Definition at line 32 of file noui.c.

33{
34}

◆ NoUiDrawCenteredText()

VOID NoUiDrawCenteredText ( _In_ ULONG  Left,
_In_ ULONG  Top,
_In_ ULONG  Right,
_In_ ULONG  Bottom,
_In_ PCSTR  TextString,
_In_ UCHAR  Attr 
)

Definition at line 60 of file noui.c.

67{
68 printf("%s\n", TextString);
69}
#define printf
Definition: freeldr.h:97

◆ NoUiDrawMenu()

VOID NoUiDrawMenu ( _In_ PUI_MENU_INFO  MenuInfo)

Definition at line 181 of file noui.c.

183{
184}

◆ NoUiDrawProgressBar()

VOID NoUiDrawProgressBar ( _In_ ULONG  Left,
_In_ ULONG  Top,
_In_ ULONG  Right,
_In_ ULONG  Bottom,
_In_ PCSTR  ProgressText 
)

Definition at line 123 of file noui.c.

129{
130}

◆ NoUiDrawProgressBarCenter()

VOID NoUiDrawProgressBarCenter ( _In_ PCSTR  ProgressText)

Definition at line 117 of file noui.c.

119{
120}

◆ NoUiDrawShadow()

VOID NoUiDrawShadow ( ULONG  Left,
ULONG  Top,
ULONG  Right,
ULONG  Bottom 
)

Definition at line 28 of file noui.c.

29{
30}

◆ NoUiDrawStatusText()

VOID NoUiDrawStatusText ( PCSTR  StatusText)

Definition at line 71 of file noui.c.

72{
73 printf("%s\n", StatusText);
74}

◆ NoUiDrawText()

VOID NoUiDrawText ( _In_ ULONG  X,
_In_ ULONG  Y,
_In_ PCSTR  Text,
_In_ UCHAR  Attr 
)

Definition at line 37 of file noui.c.

42{
43 printf("%s\n", Text);
44}
char * Text
Definition: combotst.c:136

◆ NoUiDrawText2()

VOID NoUiDrawText2 ( _In_ ULONG  X,
_In_ ULONG  Y,
_In_opt_ ULONG  MaxNumChars,
_In_reads_or_z_(MaxNumChars) PCSTR  Text,
_In_ UCHAR  Attr 
)

Definition at line 47 of file noui.c.

53{
54 if (MaxNumChars == 0)
55 MaxNumChars = (ULONG)strlen(Text);
56 printf("%*s\n", MaxNumChars, Text);
57}
ACPI_SIZE strlen(const char *String)
Definition: utclib.c:269
uint32_t ULONG
Definition: typedefs.h:59

◆ NoUiEditBox()

BOOLEAN NoUiEditBox ( PCSTR  MessageText,
PCHAR  EditTextBuffer,
ULONG  Length 
)

Definition at line 133 of file noui.c.

134{
135 return FALSE;
136}
#define FALSE
Definition: types.h:117

◆ NoUiFadeInBackdrop()

VOID NoUiFadeInBackdrop ( VOID  )

Definition at line 148 of file noui.c.

149{
150}

◆ NoUiFadeOut()

VOID NoUiFadeOut ( VOID  )

Definition at line 152 of file noui.c.

153{
154}

◆ NoUiFillArea()

VOID NoUiFillArea ( ULONG  Left,
ULONG  Top,
ULONG  Right,
ULONG  Bottom,
CHAR  FillChar,
UCHAR  Attr 
)

Definition at line 24 of file noui.c.

25{
26}

◆ NoUiInitialize()

BOOLEAN NoUiInitialize ( VOID  )

Definition at line 11 of file noui.c.

12{
13 return TRUE;
14}

◆ NoUiMessageBox()

VOID NoUiMessageBox ( _In_ PCSTR  MessageText)

Definition at line 81 of file noui.c.

83{
84 NoUiMessageBoxCritical(MessageText);
85}
VOID NoUiMessageBoxCritical(_In_ PCSTR MessageText)
Definition: noui.c:88

◆ NoUiMessageBoxCritical()

VOID NoUiMessageBoxCritical ( _In_ PCSTR  MessageText)

Definition at line 88 of file noui.c.

90{
91 /*
92 * We have not yet displayed the user interface
93 * We are probably still reading the .ini file
94 * and have encountered an error. Just use printf()
95 * and return.
96 */
97 printf("%s\n", MessageText);
98 printf("Press any key\n");
100}
#define MachConsGetCh()
Definition: machine.h:90

Referenced by NoUiMessageBox().

◆ NoUiSetProgressBarText()

VOID NoUiSetProgressBarText ( _In_ PCSTR  ProgressText)

Definition at line 105 of file noui.c.

107{
108}

◆ NoUiTextToColor()

UCHAR NoUiTextToColor ( PCSTR  ColorText)

Definition at line 138 of file noui.c.

139{
140 return 0;
141}

◆ NoUiTextToFillStyle()

UCHAR NoUiTextToFillStyle ( PCSTR  FillStyleText)

Definition at line 143 of file noui.c.

144{
145 return 0;
146}

◆ NoUiTickProgressBar()

VOID NoUiTickProgressBar ( _In_ ULONG  SubPercentTimes100)

Definition at line 111 of file noui.c.

113{
114}

◆ NoUiUnInitialize()

VOID NoUiUnInitialize ( VOID  )

Definition at line 16 of file noui.c.

17{
18}

◆ NoUiUpdateDateTime()

VOID NoUiUpdateDateTime ( VOID  )

Definition at line 76 of file noui.c.

77{
78}