mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-12-24 16:27:42 +01:00
cosmetic changes to xcode project and debug-log
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
f312117030
commit
c96d9d57b9
@ -6,8 +6,8 @@
|
||||
#, fuzzy
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Clover r5122\n"
|
||||
"POT-Creation-Date: 2020-10-03 15:30+0300\n"
|
||||
"Project-Id-Version: Clover r5123\n"
|
||||
"POT-Creation-Date: 2020-10-04 07:34+0300\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -744,10 +744,10 @@ STATIC LOADER_ENTRY *CreateLoaderEntry(IN CONST XStringW& LoaderPath,
|
||||
if (ThemeX.HideBadges & HDBADGES_SHOW) {
|
||||
if (ThemeX.HideBadges & HDBADGES_SWAP) {
|
||||
Entry->BadgeImage.Image = XImage(Entry->DriveImage.Image, 0);
|
||||
DBG(" Show badge as Drive.\n");
|
||||
DBG(" Show badge as Drive.\n");
|
||||
} else {
|
||||
Entry->BadgeImage.Image = XImage(Entry->Image.Image, 0);
|
||||
DBG(" Show badge as OSImage.\n");
|
||||
DBG(" Show badge as OSImage.\n");
|
||||
}
|
||||
if (!Entry->BadgeImage.Image.isEmpty()) {
|
||||
Entry->BadgeImage.setFilled();
|
||||
@ -1002,9 +1002,9 @@ LOADER_ENTRY* AddLoaderEntry(IN CONST XStringW& LoaderPath, IN CONST XString8Arr
|
||||
return NULL;
|
||||
}
|
||||
|
||||
DBG(" AddLoaderEntry for Volume Name=%ls\n", Volume->VolName.wc_str());
|
||||
DBG(" AddLoaderEntry for Volume Name=%ls\n", Volume->VolName.wc_str());
|
||||
if (OSFLAG_ISSET(Flags, OSFLAG_DISABLED)) {
|
||||
DBG(" skipped because entry is disabled\n");
|
||||
DBG(" skipped because entry is disabled\n");
|
||||
return NULL;
|
||||
}
|
||||
// if (!gSettings.ShowHiddenEntries && OSFLAG_ISSET(Flags, OSFLAG_HIDDEN)) {
|
||||
@ -1041,7 +1041,7 @@ LOADER_ENTRY* AddLoaderEntry(IN CONST XStringW& LoaderPath, IN CONST XString8Arr
|
||||
}else{
|
||||
for (size_t HVi = 0; HVi < gSettings.HVHideStrings.size(); HVi++) {
|
||||
if ( LoaderPath.containsIC(gSettings.HVHideStrings[HVi]) ) {
|
||||
DBG(" hiding entry: %ls\n", LoaderPath.s());
|
||||
DBG(" hiding entry: %ls\n", LoaderPath.s());
|
||||
Entry->Hidden = true;
|
||||
}
|
||||
}
|
||||
|
@ -250,11 +250,11 @@ const XIcon& XTheme::LoadOSIcon(const XString8& Full)
|
||||
const XIcon *ReturnIcon;
|
||||
UINTN Comma = Full.indexOf(',');
|
||||
UINTN Size = Full.length();
|
||||
DBG("IconName=%s comma=%lld size=%lld\n", Full.c_str(), Comma, Size);
|
||||
DBG(" IconName=%s comma=%lld size=%lld\n", Full.c_str(), Comma, Size);
|
||||
if (Comma != MAX_XSIZE) { //Comma
|
||||
First = "os_"_XS8 + Full.subString(0, Comma);
|
||||
ReturnIcon = &GetIcon(First);
|
||||
DBG(" first=%s\n", First.c_str());
|
||||
DBG(" first=%s\n", First.c_str());
|
||||
if (!ReturnIcon->isEmpty()) return *ReturnIcon;
|
||||
//else search second name
|
||||
Second = "os_"_XS8 + Full.subString(Comma + 1, Size - Comma - 1);
|
||||
@ -271,11 +271,11 @@ const XIcon& XTheme::LoadOSIcon(const XString8& Full)
|
||||
ReturnIcon = &GetIcon(Third);
|
||||
if (!ReturnIcon->isEmpty()) return *ReturnIcon;
|
||||
}
|
||||
DBG(" Second=%s\n", Second.c_str());
|
||||
DBG(" Second=%s\n", Second.c_str());
|
||||
if (!ReturnIcon->isEmpty()) return *ReturnIcon;
|
||||
} else {
|
||||
ReturnIcon = &GetIcon("os_"_XS8 + Full);
|
||||
DBG(" Full=%s\n", Full.c_str());
|
||||
DBG(" Full=%s\n", Full.c_str());
|
||||
if (!ReturnIcon->isEmpty()) return *ReturnIcon;
|
||||
}
|
||||
// else something
|
||||
|
Loading…
Reference in New Issue
Block a user