xref: /reactos/boot/freeldr/freeldr/ui/gui.c (revision 40462c92)
1 /*
2  *  FreeLoader
3  *  Copyright (C) 1998-2003  Brian Palmer  <brianp@sginet.com>
4  *
5  *  This program is free software; you can redistribute it and/or modify
6  *  it under the terms of the GNU General Public License as published by
7  *  the Free Software Foundation; either version 2 of the License, or
8  *  (at your option) any later version.
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License along
16  *  with this program; if not, write to the Free Software Foundation, Inc.,
17  *  51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  */
19 
20 #ifndef _M_ARM
21 #include <freeldr.h>
22 
23 VOID GuiDrawBackdrop(VOID)
24 {
25 }
26 
27 VOID GuiFillArea(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR FillChar, UCHAR Attr /* Color Attributes */)
28 {
29 }
30 
31 VOID GuiDrawShadow(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom)
32 {
33 }
34 
35 VOID GuiDrawBox(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR VertStyle, UCHAR HorzStyle, BOOLEAN Fill, BOOLEAN Shadow, UCHAR Attr)
36 {
37 }
38 
39 VOID GuiDrawText(ULONG X, ULONG Y, PUCHAR Text, UCHAR Attr)
40 {
41 }
42 
43 VOID GuiDrawText2(ULONG X, ULONG Y, ULONG MaxNumChars, PUCHAR Text, UCHAR Attr)
44 {
45 }
46 
47 VOID GuiDrawStatusText(PCSTR StatusText)
48 {
49 }
50 
51 VOID GuiUpdateDateTime(VOID)
52 {
53 }
54 
55 VOID GuiSaveScreen(PUCHAR Buffer)
56 {
57 }
58 
59 VOID GuiRestoreScreen(PUCHAR Buffer)
60 {
61 }
62 
63 VOID GuiMessageBox(PCSTR MessageText)
64 {
65 }
66 
67 VOID GuiMessageBoxCritical(PCSTR MessageText)
68 {
69 }
70 
71 VOID GuiDrawProgressBar(ULONG Position, ULONG Range)
72 {
73 }
74 
75 UCHAR GuiTextToColor(PCSTR ColorText)
76 {
77     return 0;
78 }
79 
80 UCHAR GuiTextToFillStyle(PCSTR FillStyleText)
81 {
82     return 0;
83 }
84 
85 const UIVTBL GuiVtbl =
86 {
87     /*
88     GuiInitialize,
89     GuiUnInitialize,
90     GuiDrawBackdrop,
91     GuiFillArea,
92     GuiDrawShadow,
93     GuiDrawBox,
94     GuiDrawText,
95     GuiDrawText2,
96     GuiDrawCenteredText,
97     GuiDrawStatusText,
98     GuiUpdateDateTime,
99     GuiMessageBox,
100     GuiMessageBoxCritical,
101     GuiDrawProgressBarCenter,
102     GuiDrawProgressBar,
103     GuiEditBox,
104     GuiTextToColor,
105     GuiTextToFillStyle,
106     GuiFadeInBackdrop,
107     GuiFadeOut,
108     GuiDisplayMenu,
109     GuiDrawMenu,
110     */
111     NULL, NULL, NULL, NULL, NULL, NULL, NULL,
112     NULL, NULL, NULL, NULL, NULL, NULL, NULL,
113     NULL, NULL, NULL, NULL, NULL, NULL, NULL,
114     NULL
115 };
116 #endif
117