ReactOS  0.4.12-dev-919-gfc3b8d5
noui.c
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/ui/noui.c
5  * PURPOSE: No Text UI interface
6  * PROGRAMMERS: Hervé Poussineau
7  */
8 #ifndef _M_ARM
9 #include <freeldr.h>
10 
12 {
13  return TRUE;
14 }
15 
17 {
18 }
19 
21 {
22 }
23 
24 VOID NoUiFillArea(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, CHAR FillChar, UCHAR Attr)
25 {
26 }
27 
29 {
30 }
31 
32 VOID NoUiDrawBox(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR VertStyle, UCHAR HorzStyle, BOOLEAN Fill, BOOLEAN Shadow, UCHAR Attr)
33 {
34 }
35 
37 {
38 }
39 
41 {
42 }
43 
44 VOID NoUiDrawCenteredText(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, PCSTR TextString, UCHAR Attr)
45 {
46 }
47 
49 {
50  printf("%s\n", StatusText);
51 }
52 
54 {
55 }
56 
58 {
59  // We have not yet displayed the user interface
60  // We are probably still reading the .ini file
61  // and have encountered an error. Just use printf()
62  // and return.
63  printf("%s\n", MessageText);
64  printf("Press any key\n");
65  MachConsGetCh();
66 }
67 
69 {
70  // We have not yet displayed the user interface
71  // We are probably still reading the .ini file
72  // and have encountered an error. Just use printf()
73  // and return.
74  printf("%s\n", MessageText);
75  printf("Press any key\n");
76  MachConsGetCh();
77 }
78 
80 {
81 }
82 
84 {
85 }
86 
87 BOOLEAN NoUiEditBox(PCSTR MessageText, PCHAR EditTextBuffer, ULONG Length)
88 {
89  return FALSE;
90 }
91 
93 {
94  return 0;
95 }
96 
98 {
99  return 0;
100 }
101 
103 {
104 }
105 
107 {
108 }
109 
111 //
112 // Menu Functions
113 //
115 
116 BOOLEAN NoUiDisplayMenu(PCSTR MenuHeader, PCSTR MenuFooter, BOOLEAN ShowBootOptions, PCSTR MenuItemList[], ULONG MenuItemCount, ULONG DefaultMenuItem, LONG MenuTimeOut, ULONG* SelectedMenuItem, BOOLEAN CanEscape, UiMenuKeyPressFilterCallback KeyPressFilter)
117 {
118  *SelectedMenuItem = DefaultMenuItem;
119  return TRUE;
120 }
121 
123 {
124 }
125 #endif
signed char * PCHAR
Definition: retypes.h:7
#define TRUE
Definition: types.h:120
#define MachConsGetCh()
Definition: machine.h:88
void Fill(HDC hdc, LONG x, LONG y, COLORREF color)
Definition: drawing.cpp:109
BOOLEAN(* UiMenuKeyPressFilterCallback)(ULONG KeyPress)
Definition: ui.h:108
#define Y(I)
static COORD Position
Definition: mouse.c:34
char CHAR
Definition: xmlstorage.h:175
VOID NoUiDrawBackdrop(VOID)
Definition: noui.c:20
VOID NoUiDrawText(ULONG X, ULONG Y, PCSTR Text, UCHAR Attr)
Definition: noui.c:36
BOOLEAN NoUiInitialize(VOID)
Definition: noui.c:11
VOID NoUiFadeOut(VOID)
Definition: noui.c:106
VOID NoUiDrawShadow(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom)
Definition: noui.c:28
VOID NoUiFillArea(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, CHAR FillChar, UCHAR Attr)
Definition: noui.c:24
VOID NoUiDrawBox(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR VertStyle, UCHAR HorzStyle, BOOLEAN Fill, BOOLEAN Shadow, UCHAR Attr)
Definition: noui.c:32
VOID NoUiUnInitialize(VOID)
Definition: noui.c:16
long LONG
Definition: pedump.c:60
UCHAR NoUiTextToFillStyle(PCSTR FillStyleText)
Definition: noui.c:97
unsigned char BOOLEAN
BOOLEAN NoUiDisplayMenu(PCSTR MenuHeader, PCSTR MenuFooter, BOOLEAN ShowBootOptions, PCSTR MenuItemList[], ULONG MenuItemCount, ULONG DefaultMenuItem, LONG MenuTimeOut, ULONG *SelectedMenuItem, BOOLEAN CanEscape, UiMenuKeyPressFilterCallback KeyPressFilter)
Definition: noui.c:116
UCHAR NoUiTextToColor(PCSTR ColorText)
Definition: noui.c:92
_In_ ULONG _In_ ULONG _In_ ULONG Length
Definition: ntddpcm.h:101
unsigned char UCHAR
Definition: xmlstorage.h:181
Definition: range.c:43
menu info structure
Definition: window.h:275
VOID NoUiUpdateDateTime(VOID)
Definition: noui.c:53
VOID NoUiFadeInBackdrop(VOID)
Definition: noui.c:102
static LPHIST_ENTRY Bottom
Definition: history.c:54
VOID NoUiDrawText2(ULONG X, ULONG Y, ULONG MaxNumChars, PCSTR Text, UCHAR Attr)
Definition: noui.c:40
BOOLEAN NoUiEditBox(PCSTR MessageText, PCHAR EditTextBuffer, ULONG Length)
Definition: noui.c:87
VOID NoUiDrawProgressBarCenter(ULONG Position, ULONG Range, PCHAR ProgressText)
Definition: noui.c:79
VOID NoUiDrawMenu(PUI_MENU_INFO MenuInfo)
Definition: noui.c:122
VOID NoUiDrawProgressBar(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, ULONG Position, ULONG Range, PCHAR ProgressText)
Definition: noui.c:83
VOID NoUiMessageBoxCritical(PCSTR MessageText)
Definition: noui.c:68
unsigned int ULONG
Definition: retypes.h:1
const char * PCSTR
Definition: typedefs.h:51
VOID NoUiMessageBox(PCSTR MessageText)
Definition: noui.c:57
static LPHIST_ENTRY Top
Definition: history.c:53
VOID NoUiDrawStatusText(PCSTR StatusText)
Definition: noui.c:48
char * Text
Definition: combotst.c:136
#define printf
Definition: config.h:203
VOID NoUiDrawCenteredText(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, PCSTR TextString, UCHAR Attr)
Definition: noui.c:44