Go to the source code of this file.
◆ MiniTuiDrawBackdrop()
Definition at line 56 of file minitui.c.
57{
58
62
63
65}
VOID VideoCopyOffScreenBufferToVRAM(VOID)
#define ATTR(cFore, cBack)
UCHAR UiBackdropFillStyle
VOID TuiFillArea(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, CHAR FillChar, UCHAR Attr)
◆ MiniTuiDrawMenu()
Definition at line 183 of file minitui.c.
185{
187
188
190
191
193 {
198 }
199
200
202
203
205 {
207 }
208
209
212 "Use \x18 and \x19 to move the highlight to your choice.",
216 "Press ENTER to choose.",
218
219
221 {
226 }
227
228
230 {
232 }
233
235}
VOID DisplayBootTimeOptions(VOID)
VOID UiDrawBackdrop(VOID)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
VOID(* DrawText)(ULONG X, ULONG Y, PCSTR Text, UCHAR Attr)
VOID TuiDrawMenuItem(_In_ PUI_MENU_INFO MenuInfo, _In_ ULONG MenuItemNumber)
VOID TuiDrawMenuBox(_In_ PUI_MENU_INFO MenuInfo)
◆ MiniTuiDrawProgressBar()
Definition at line 172 of file minitui.c.
178{
180}
static LPHIST_ENTRY Bottom
VOID UiInitProgressBar(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Right, _In_ ULONG Bottom, _In_ PCSTR ProgressText)
Referenced by MiniTuiDrawProgressBarCenter().
◆ MiniTuiDrawProgressBarCenter()
Definition at line 147 of file minitui.c.
149{
151
152
153#ifdef NTLDR_PROGRESSBAR
156 Left = 0;
158#else
161 Left = 2;
163#endif
164 Right = Left +
Width - 1;
166
167
169}
VOID MiniTuiDrawProgressBar(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Right, _In_ ULONG Bottom, _In_ PCSTR ProgressText)
_In_ HFONT _Out_ PUINT _Out_ PUINT Width
_In_ HFONT _Out_ PUINT Height
◆ MiniTuiDrawStatusText()
VOID MiniTuiDrawStatusText |
( |
PCSTR |
StatusText | ) |
|
◆ MiniTuiSetProgressBarText()
Definition at line 73 of file minitui.c.
75{
76 ULONG ProgressBarWidth;
77 CHAR ProgressString[256];
78
79
81
82
84
85
88
89
92#ifdef NTLDR_PROGRESSBAR
94#else
96#endif
98
99
102#ifdef NTLDR_PROGRESSBAR
104#else
106#endif
108}
UI_PROGRESS_BAR UiProgressBar
NTSTRSAFEAPI RtlStringCbCopyA(_Out_writes_bytes_(cbDest) _Always_(_Post_z_) NTSTRSAFE_PSTR pszDest, _In_ size_t cbDest, _In_ NTSTRSAFE_PCSTR pszSrc)
VOID TuiDrawCenteredText(_In_ ULONG Left, _In_ ULONG Top, _In_ ULONG Right, _In_ ULONG Bottom, _In_ PCSTR TextString, _In_ UCHAR Attr)
VOID TuiTruncateStringEllipsis(_Inout_z_ PSTR StringText, _In_ ULONG MaxChars)
◆ MiniTuiTickProgressBar()
Definition at line 111 of file minitui.c.
113{
114 ULONG ProgressBarWidth;
116
117
119
120 ASSERT(SubPercentTimes100 <= (100 * 100));
121
122
124
125
126
127 FillCount = ProgressBarWidth * SubPercentTimes100 / (100 * 100);
128
129
130
131 if (FillCount > 0)
132 {
136 }
137
141
144}
VOID TuiUpdateDateTime(VOID)
◆ MiniTuiVtbl