| 1078 | |
| 1079 | |
| 1080 | VOID AboutRefit(VOID) |
| 1081 | { |
| 1082 | if (AboutMenu.Entries.size() == 0) { |
| 1083 | if (!(ThemeX.HideUIFlags & HIDEUI_FLAG_MENU_TITLE_IMAGE)) { |
| 1084 | AboutMenu.TitleImage = ThemeX.GetIcon(BUILTIN_ICON_FUNC_ABOUT); |
| 1085 | } |
| 1086 | // else { |
| 1087 | // AboutMenu.TitleImage.setEmpty(); //done in the constructor |
| 1088 | // } |
| 1089 | // AboutMenu.AddMenuInfo_f(("Clover Version 5.0")); |
| 1090 | AboutMenu.AddMenuInfo_f("%s", gRevisionStr); |
| 1091 | AboutMenu.AddMenuInfo_f(" Build: %s", gFirmwareBuildDate); |
| 1092 | AboutMenu.AddMenuInfo_f(" "); |
| 1093 | AboutMenu.AddMenuInfo_f("Based on rEFIt (c) 2006-2010 Christoph Pfisterer"); |
| 1094 | AboutMenu.AddMenuInfo_f("Portions Copyright (c) Intel Corporation"); |
| 1095 | AboutMenu.AddMenuInfo_f("Developers:"); |
| 1096 | AboutMenu.AddMenuInfo_f(" Slice, dmazar, apianti, JrCs, pene, usrsse2"); |
| 1097 | AboutMenu.AddMenuInfo_f(" Kabyl, pcj, jadran, Blackosx, STLVNUB, ycr.ru"); |
| 1098 | AboutMenu.AddMenuInfo_f(" FrodoKenny, skoczi, crazybirdy, Oscar09, xsmile"); |
| 1099 | AboutMenu.AddMenuInfo_f(" cparm, rehabman, nms42, Sherlocks, Zenith432"); |
| 1100 | AboutMenu.AddMenuInfo_f(" stinga11, TheRacerMaster, solstice, SoThOr, DF"); |
| 1101 | AboutMenu.AddMenuInfo_f(" cecekpawon, Micky1979, Needy, joevt, ErmaC, vit9696"); |
| 1102 | AboutMenu.AddMenuInfo_f(" ath, savvas, syscl, goodwin_c, clovy, jief_machak"); |
| 1103 | AboutMenu.AddMenuInfo_f("Credits also:"); |
| 1104 | AboutMenu.AddMenuInfo_f(" projectosx.com, applelife.ru, insanelymac.com"); |
| 1105 | AboutMenu.AddMenuInfo_f(" "); |
| 1106 | AboutMenu.AddMenuInfo_f("Running on:"); |
| 1107 | AboutMenu.AddMenuInfo_f(" EFI Revision %d.%02d", |
| 1108 | gST->Hdr.Revision >> 16, gST->Hdr.Revision & ((1 << 16) - 1)); |
| 1109 | #if defined(MDE_CPU_IA32) |
| 1110 | AboutMenu.AddMenuInfo_f(" Platform: i386 (32 bit)"); |
| 1111 | #elif defined(MDE_CPU_X64) |
| 1112 | AboutMenu.AddMenuInfo_f(" Platform: x86_64 (64 bit)"); |
| 1113 | #elif defined(_MSC_VER) |
| 1114 | AboutMenu.AddMenuInfo_f(" Platform: x86_64 (64 bit) VS"); |
| 1115 | #else |
| 1116 | AboutMenu.AddMenuInfo_f(" Platform: unknown"); |
| 1117 | #endif |
| 1118 | AboutMenu.AddMenuInfo_f(" Firmware: %ls rev %d.%04d", gST->FirmwareVendor, gST->FirmwareRevision >> 16, gST->FirmwareRevision & ((1 << 16) - 1)); |
| 1119 | AboutMenu.AddMenuInfo_f(" Screen Output: %s", egScreenDescription().c_str()); |
| 1120 | AboutMenu.GetAnime(); |
| 1121 | AboutMenu.AddMenuEntry(&MenuEntryReturn, false); |
| 1122 | } else if (AboutMenu.Entries.size() >= 2) { |
| 1123 | /* |
| 1124 | EntryCount instead of InfoLineCount. Lastline == return/back. Is necessary recheck screen res here? |
| 1125 | */ |
| 1126 | // FreePool(AboutMenu.Entries[AboutMenu.Entries.size()-2].Title); //what is FreePool(XStringW)? |
| 1127 | |
| 1128 | AboutMenu.Entries[AboutMenu.Entries.size()-2].Title.SWPrintf(" Screen Output: %s", egScreenDescription().c_str()); |
| 1129 | } |
| 1130 | |
| 1131 | AboutMenu.RunMenu(NULL); |
| 1132 | } |
| 1133 | |
| 1134 | VOID HelpRefit(VOID) |
| 1135 | { |
no test coverage detected