Changeset 99404 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Library/DisplayUpdateProgressLibText/DisplayUpdateProgressLibText.c
- Timestamp:
- Apr 14, 2023 3:17:44 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156854
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776,129194-145445 /vendor/edk2/current 103735-103757,103769-103776,129194-156846
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Library/DisplayUpdateProgressLibText/DisplayUpdateProgressLibText.c
r80721 r99404 87 87 mProgressBarForegroundColor |= EFI_BLUE; 88 88 } 89 89 90 if (Color->Pixel.Green >= 0x40) { 90 91 mProgressBarForegroundColor |= EFI_GREEN; 91 92 } 93 92 94 if (Color->Pixel.Red >= 0x40) { 93 95 mProgressBarForegroundColor |= EFI_RED; 94 96 } 95 if (Color->Pixel.Blue >= 0xC0 || Color->Pixel.Green >= 0xC0 || Color->Pixel.Red >= 0xC0) { 97 98 if ((Color->Pixel.Blue >= 0xC0) || (Color->Pixel.Green >= 0xC0) || (Color->Pixel.Red >= 0xC0)) { 96 99 mProgressBarForegroundColor |= EFI_BRIGHT; 97 100 } 101 98 102 if (mProgressBarForegroundColor == EFI_BLACK) { 99 103 mProgressBarForegroundColor = EFI_WHITE; … … 148 152 // Print remaining portion of progress bar 149 153 // 150 for ( ; Index < 50; Index++) {154 for ( ; Index < 50; Index++) { 151 155 Print (L"%c", BLOCKELEMENT_LIGHT_SHADE); 152 156 }
Note:
See TracChangeset
for help on using the changeset viewer.