ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

noui.c
Go to the documentation of this file.
00001 /*
00002  * COPYRIGHT:       See COPYING in the top level directory
00003  * PROJECT:         FreeLoader
00004  * FILE:            freeldr/ui/noui.c
00005  * PURPOSE:         No Text UI interface
00006  * PROGRAMMERS:     Hervé Poussineau
00007  */
00008 #ifndef _M_ARM
00009 #include <freeldr.h>
00010 
00011 BOOLEAN NoUiInitialize(VOID)
00012 {
00013     return TRUE;
00014 }
00015 
00016 VOID NoUiUnInitialize(VOID)
00017 {
00018 }
00019 
00020 VOID NoUiDrawBackdrop(VOID)
00021 {
00022 }
00023 
00024 VOID NoUiFillArea(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, CHAR FillChar, UCHAR Attr)
00025 {
00026 }
00027 
00028 VOID NoUiDrawShadow(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom)
00029 {
00030 }
00031 
00032 VOID NoUiDrawBox(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR VertStyle, UCHAR HorzStyle, BOOLEAN Fill, BOOLEAN Shadow, UCHAR Attr)
00033 {
00034 }
00035 
00036 VOID NoUiDrawText(ULONG X, ULONG Y, PCSTR Text, UCHAR Attr)
00037 {
00038 }
00039 
00040 VOID NoUiDrawCenteredText(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, PCSTR TextString, UCHAR Attr)
00041 {
00042 }
00043 
00044 VOID NoUiDrawStatusText(PCSTR StatusText)
00045 {
00046     printf("%s\n", StatusText);
00047 }
00048 
00049 VOID NoUiUpdateDateTime(VOID)
00050 {
00051 }
00052 
00053 VOID NoUiMessageBox(PCSTR MessageText)
00054 {
00055     // We have not yet displayed the user interface
00056     // We are probably still reading the .ini file
00057     // and have encountered an error. Just use printf()
00058     // and return.
00059     printf("%s\n", MessageText);
00060     printf("Press any key\n");
00061     MachConsGetCh();
00062 }
00063 
00064 VOID NoUiMessageBoxCritical(PCSTR MessageText)
00065 {
00066     // We have not yet displayed the user interface
00067     // We are probably still reading the .ini file
00068     // and have encountered an error. Just use printf()
00069     // and return.
00070     printf("%s\n", MessageText);
00071     printf("Press any key\n");
00072     MachConsGetCh();
00073 }
00074 
00075 VOID NoUiDrawProgressBarCenter(ULONG Position, ULONG Range, PCHAR ProgressText)
00076 {
00077 }
00078 
00079 VOID NoUiDrawProgressBar(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, ULONG Position, ULONG Range, PCHAR ProgressText)
00080 {
00081 }
00082 
00083 BOOLEAN NoUiEditBox(PCSTR MessageText, PCHAR EditTextBuffer, ULONG Length)
00084 {
00085     return FALSE;
00086 }
00087 
00088 UCHAR NoUiTextToColor(PCSTR ColorText)
00089 {
00090     return 0;
00091 }
00092 
00093 UCHAR NoUiTextToFillStyle(PCSTR FillStyleText)
00094 {
00095     return 0;
00096 }
00097 
00098 VOID NoUiFadeInBackdrop(VOID)
00099 {
00100 }
00101 
00102 VOID NoUiFadeOut(VOID)
00103 {
00104 }
00105 
00107 //
00108 // Menu Functions
00109 //
00111 
00112 BOOLEAN NoUiDisplayMenu(PCSTR MenuItemList[], ULONG MenuItemCount, ULONG DefaultMenuItem, LONG MenuTimeOut, ULONG* SelectedMenuItem, BOOLEAN CanEscape, UiMenuKeyPressFilterCallback KeyPressFilter)
00113 {
00114     *SelectedMenuItem = DefaultMenuItem;
00115     return TRUE;
00116 }
00117 
00118 VOID NoUiDrawMenu(PUI_MENU_INFO MenuInfo)
00119 {
00120 }
00121 #endif

Generated on Sat May 26 2012 04:18:04 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.