xref: /reactos/boot/freeldr/freeldr/ui/gui.c (revision 7d5e1591)
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 #include <freeldr.h>
21 
22 VOID GuiDrawBackdrop(VOID)
23 {
24 }
25 
26 VOID GuiFillArea(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR FillChar, UCHAR Attr /* Color Attributes */)
27 {
28 }
29 
30 VOID GuiDrawShadow(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom)
31 {
32 }
33 
34 VOID GuiDrawBox(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR VertStyle, UCHAR HorzStyle, BOOLEAN Fill, BOOLEAN Shadow, UCHAR Attr)
35 {
36 }
37 
38 VOID GuiDrawText(ULONG X, ULONG Y, PUCHAR Text, UCHAR Attr)
39 {
40 }
41 
42 VOID GuiDrawText2(ULONG X, ULONG Y, ULONG MaxNumChars, PUCHAR Text, UCHAR Attr)
43 {
44 }
45 
46 VOID GuiDrawStatusText(PCSTR StatusText)
47 {
48 }
49 
50 VOID GuiUpdateDateTime(VOID)
51 {
52 }
53 
54 VOID GuiSaveScreen(PUCHAR Buffer)
55 {
56 }
57 
58 VOID GuiRestoreScreen(PUCHAR Buffer)
59 {
60 }
61 
62 VOID GuiMessageBox(PCSTR MessageText)
63 {
64 }
65 
66 VOID GuiMessageBoxCritical(PCSTR MessageText)
67 {
68 }
69 
70 VOID GuiDrawProgressBar(ULONG Position, ULONG Range)
71 {
72 }
73 
74 UCHAR GuiTextToColor(PCSTR ColorText)
75 {
76     return 0;
77 }
78 
79 UCHAR GuiTextToFillStyle(PCSTR FillStyleText)
80 {
81     return 0;
82 }
83 
84 const UIVTBL GuiVtbl =
85 {
86     /*
87     GuiInitialize,
88     GuiUnInitialize,
89     GuiDrawBackdrop,
90     GuiFillArea,
91     GuiDrawShadow,
92     GuiDrawBox,
93     GuiDrawText,
94     GuiDrawText2,
95     GuiDrawCenteredText,
96     GuiDrawStatusText,
97     GuiUpdateDateTime,
98     GuiMessageBox,
99     GuiMessageBoxCritical,
100     GuiDrawProgressBarCenter,
101     GuiDrawProgressBar,
102     GuiEditBox,
103     GuiTextToColor,
104     GuiTextToFillStyle,
105     GuiFadeInBackdrop,
106     GuiFadeOut,
107     GuiDisplayMenu,
108     GuiDrawMenu,
109     */
110     NULL, NULL, NULL, NULL, NULL, NULL, NULL,
111     NULL, NULL, NULL, NULL, NULL, NULL, NULL,
112     NULL, NULL, NULL, NULL, NULL, NULL, NULL,
113     NULL
114 };
115