本文整理汇总了C++中UIVTBL类的典型用法代码示例。如果您正苦于以下问题:C++ UIVTBL类的具体用法?C++ UIVTBL怎么用?C++ UIVTBL使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了UIVTBL类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: UiUnInitialize
VOID UiUnInitialize(PCSTR BootText)
{
UiDrawBackdrop();
UiDrawStatusText("Booting...");
UiInfoBox(BootText);
UiVtbl.UnInitialize();
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:8,代码来源:ui.c
示例2: UiMessageBox
VOID UiMessageBox(PCSTR Format, ...)
{
CHAR Buffer[256];
va_list ap;
va_start(ap, Format);
vsnprintf(Buffer, sizeof(Buffer) - sizeof(CHAR), Format, ap);
UiVtbl.MessageBox(Buffer);
va_end(ap);
}
开发者ID:GYGit,项目名称:reactos,代码行数:10,代码来源:ui.c
示例3: SetupUiInitialize
BOOLEAN SetupUiInitialize(VOID)
{
CHAR DisplayModeText[260];
ULONG Depth, Length;
DisplayModeText[0] = '\0';
MachVideoSetDisplayMode(DisplayModeText, TRUE);
MachVideoGetDisplaySize(&UiScreenWidth, &UiScreenHeight, &Depth);
UiVtbl = SetupUiVtbl;
UiVtbl.Initialize();
// Draw the backdrop and fade it in if special effects are enabled
UiVtbl.FillArea(0,
0,
UiScreenWidth - 1,
UiScreenHeight - 2,
0,
ATTR(UiBackdropFgColor, UiBackdropBgColor));
UiDrawTime = FALSE;
UiStatusBarBgColor = 7;
Length = strlen("Odyssey " KERNEL_VERSION_STR " Setup");
memset(DisplayModeText, 0xcd, Length + 2);
DisplayModeText[Length + 2] = '\0';
UiVtbl.DrawText(4, 1, "Odyssey " KERNEL_VERSION_STR " Setup", ATTR(COLOR_GRAY, UiBackdropBgColor));
UiVtbl.DrawText(3, 2, DisplayModeText, ATTR(COLOR_GRAY, UiBackdropBgColor));
TRACE("UiInitialize() returning TRUE.\n");
return TRUE;
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:36,代码来源:ui.c
示例4: UiTextToColor
UCHAR UiTextToColor(PCSTR ColorText)
{
return UiVtbl.TextToColor(ColorText);
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例5: UiMessageBoxCritical
VOID UiMessageBoxCritical(PCSTR MessageText)
{
UiVtbl.MessageBoxCritical(MessageText);
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例6: UiMessageBox
VOID UiMessageBox(PCSTR MessageText)
{
UiVtbl.MessageBox(MessageText);
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例7: UiEditBox
BOOLEAN UiEditBox(PCSTR MessageText, PCHAR EditTextBuffer, ULONG Length)
{
return UiVtbl.EditBox(MessageText, EditTextBuffer, Length);
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例8: UiFadeInBackdrop
VOID UiFadeInBackdrop(VOID)
{
UiVtbl.FadeInBackdrop();
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例9: UiDrawProgressBar
VOID UiDrawProgressBar(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, ULONG Position, ULONG Range, PCHAR ProgressText)
{
UiVtbl.DrawProgressBar(Left, Top, Right, Bottom, Position, Range, ProgressText);
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例10: UiDrawBox
VOID UiDrawBox(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, UCHAR VertStyle, UCHAR HorzStyle, BOOLEAN Fill, BOOLEAN Shadow, UCHAR Attr)
{
UiVtbl.DrawBox(Left, Top, Right, Bottom, VertStyle, HorzStyle, Fill, Shadow, Attr);
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例11: UiDrawShadow
VOID UiDrawShadow(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom)
{
UiVtbl.DrawShadow(Left, Top, Right, Bottom);
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例12: UiFillArea
VOID UiFillArea(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, CHAR FillChar, UCHAR Attr /* Color Attributes */)
{
UiVtbl.FillArea(Left, Top, Right, Bottom, FillChar, Attr);
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例13: UiDrawBackdrop
VOID UiDrawBackdrop(VOID)
{
UiVtbl.DrawBackdrop();
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例14: UiTextToFillStyle
UCHAR UiTextToFillStyle(PCSTR FillStyleText)
{
return UiVtbl.TextToFillStyle(FillStyleText);
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例15: UiDrawText
VOID UiDrawText(ULONG X, ULONG Y, PCSTR Text, UCHAR Attr)
{
UiVtbl.DrawText(X, Y, Text, Attr);
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例16: UiDrawProgressBarCenter
VOID UiDrawProgressBarCenter(ULONG Position, ULONG Range, PCHAR ProgressText)
{
UiVtbl.DrawProgressBarCenter(Position, Range, ProgressText);
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例17: UiDrawCenteredText
VOID UiDrawCenteredText(ULONG Left, ULONG Top, ULONG Right, ULONG Bottom, PCSTR TextString, UCHAR Attr)
{
UiVtbl.DrawCenteredText(Left, Top, Right, Bottom, TextString, Attr);
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例18: UiDisplayMenu
BOOLEAN UiDisplayMenu(PCSTR MenuItemList[], ULONG MenuItemCount, ULONG DefaultMenuItem, LONG MenuTimeOut, ULONG* SelectedMenuItem, BOOLEAN CanEscape, UiMenuKeyPressFilterCallback KeyPressFilter)
{
return UiVtbl.DisplayMenu(MenuItemList, MenuItemCount, DefaultMenuItem, MenuTimeOut, SelectedMenuItem, CanEscape, KeyPressFilter);
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例19: UiDrawStatusText
VOID UiDrawStatusText(PCSTR StatusText)
{
UiVtbl.DrawStatusText(StatusText);
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
示例20: UiFadeOut
VOID UiFadeOut(VOID)
{
UiVtbl.FadeOut();
}
开发者ID:HBelusca,项目名称:NasuTek-Odyssey,代码行数:4,代码来源:ui.c
注:本文中的UIVTBL类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论