ReactOS  0.4.15-dev-4863-gba0d16f
noui.h File Reference
This graph shows which files directly or indirectly include this file:

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 (PCSTR MessageText)
 
VOID NoUiMessageBoxCritical (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 164 of file noui.c.

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

◆ NoUiDrawBackdrop()

VOID NoUiDrawBackdrop ( VOID  )

Definition at line 21 of file noui.c.

22 {
23 }

◆ NoUiDrawBox()

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

Definition at line 33 of file noui.c.

34 {
35 }

◆ NoUiDrawCenteredText()

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

Definition at line 61 of file noui.c.

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

◆ NoUiDrawMenu()

VOID NoUiDrawMenu ( _In_ PUI_MENU_INFO  MenuInfo)

Definition at line 182 of file noui.c.

184 {
185 }

◆ NoUiDrawProgressBar()

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

Definition at line 124 of file noui.c.

130 {
131 }

◆ NoUiDrawProgressBarCenter()

VOID NoUiDrawProgressBarCenter ( _In_ PCSTR  ProgressText)

Definition at line 118 of file noui.c.

120 {
121 }

◆ NoUiDrawShadow()

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

Definition at line 29 of file noui.c.

30 {
31 }

◆ NoUiDrawStatusText()

VOID NoUiDrawStatusText ( PCSTR  StatusText)

Definition at line 72 of file noui.c.

73 {
74  printf("%s\n", StatusText);
75 }
#define printf
Definition: freeldr.h:94

◆ NoUiDrawText()

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

Definition at line 38 of file noui.c.

43 {
44  printf("%s\n", Text);
45 }
#define printf
Definition: freeldr.h:94
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 48 of file noui.c.

54 {
55  if (MaxNumChars == 0)
56  MaxNumChars = (ULONG)strlen(Text);
57  printf("%*s\n", MaxNumChars, Text);
58 }
ACPI_SIZE strlen(const char *String)
Definition: utclib.c:269
#define printf
Definition: freeldr.h:94
unsigned int ULONG
Definition: retypes.h:1
char * Text
Definition: combotst.c:136

◆ NoUiEditBox()

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

Definition at line 134 of file noui.c.

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

◆ NoUiFadeInBackdrop()

VOID NoUiFadeInBackdrop ( VOID  )

Definition at line 149 of file noui.c.

150 {
151 }

◆ NoUiFadeOut()

VOID NoUiFadeOut ( VOID  )

Definition at line 153 of file noui.c.

154 {
155 }

◆ NoUiFillArea()

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

Definition at line 25 of file noui.c.

26 {
27 }

◆ NoUiInitialize()

BOOLEAN NoUiInitialize ( VOID  )

Definition at line 12 of file noui.c.

13 {
14  return TRUE;
15 }
#define TRUE
Definition: types.h:120

◆ NoUiMessageBox()

VOID NoUiMessageBox ( PCSTR  MessageText)

Definition at line 81 of file noui.c.

82 {
83  // We have not yet displayed the user interface
84  // We are probably still reading the .ini file
85  // and have encountered an error. Just use printf()
86  // and return.
87  printf("%s\n", MessageText);
88  printf("Press any key\n");
89  MachConsGetCh();
90 }
#define MachConsGetCh()
Definition: machine.h:90
#define printf
Definition: freeldr.h:94

◆ NoUiMessageBoxCritical()

VOID NoUiMessageBoxCritical ( PCSTR  MessageText)

Definition at line 92 of file noui.c.

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

◆ NoUiSetProgressBarText()

VOID NoUiSetProgressBarText ( _In_ PCSTR  ProgressText)

Definition at line 106 of file noui.c.

108 {
109 }

◆ NoUiTextToColor()

UCHAR NoUiTextToColor ( PCSTR  ColorText)

Definition at line 139 of file noui.c.

140 {
141  return 0;
142 }

◆ NoUiTextToFillStyle()

UCHAR NoUiTextToFillStyle ( PCSTR  FillStyleText)

Definition at line 144 of file noui.c.

145 {
146  return 0;
147 }

◆ NoUiTickProgressBar()

VOID NoUiTickProgressBar ( _In_ ULONG  SubPercentTimes100)

Definition at line 112 of file noui.c.

114 {
115 }

◆ NoUiUnInitialize()

VOID NoUiUnInitialize ( VOID  )

Definition at line 17 of file noui.c.

18 {
19 }

◆ NoUiUpdateDateTime()

VOID NoUiUpdateDateTime ( VOID  )

Definition at line 77 of file noui.c.

78 {
79 }