mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-10 09:40:53 +01:00
Change Shortcut to wchar_t to silence warnings.
This commit is contained in:
parent
ca166219f0
commit
6ac9ed1b54
@ -431,7 +431,7 @@ void REFIT_MENU_SCREEN::FreeMenu()
|
||||
InfoLines.setEmpty();
|
||||
}
|
||||
|
||||
INTN REFIT_MENU_SCREEN::FindMenuShortcutEntry(IN char32_t Shortcut)
|
||||
INTN REFIT_MENU_SCREEN::FindMenuShortcutEntry(IN wchar_t Shortcut)
|
||||
{
|
||||
if (Shortcut >= 'a' && Shortcut <= 'z')
|
||||
Shortcut -= ('a' - 'A');
|
||||
@ -694,7 +694,7 @@ UINTN REFIT_MENU_SCREEN::RunGenericMenu(IN OUT INTN *DefaultEntryIndex, OUT REFI
|
||||
EFI_STATUS Status;
|
||||
EFI_INPUT_KEY key;
|
||||
// UINTN Index;
|
||||
INTN ShortcutEntry;
|
||||
CHAR16 ShortcutEntry;
|
||||
XBool HaveTimeout = false;
|
||||
INTN TimeoutCountdown = 0;
|
||||
UINTN MenuExit;
|
||||
|
@ -423,7 +423,7 @@ public:
|
||||
void AddMenuCheck(CONST CHAR8 *Text, UINTN Bit, INTN ItemNum);
|
||||
void AddMenuItemInput(INTN Inx, CONST CHAR8 *Title, XBool Cursor);
|
||||
void FreeMenu();
|
||||
INTN FindMenuShortcutEntry(IN char32_t Shortcut);
|
||||
INTN FindMenuShortcutEntry(IN wchar_t Shortcut);
|
||||
UINTN RunGenericMenu(IN OUT INTN *DefaultEntryIndex, OUT REFIT_ABSTRACT_MENU_ENTRY **ChosenEntry);
|
||||
UINTN RunMenu(OUT REFIT_ABSTRACT_MENU_ENTRY **ChosenEntry);
|
||||
UINTN InputDialog();
|
||||
|
@ -108,7 +108,7 @@ class REFIT_ABSTRACT_MENU_ENTRY
|
||||
XBool Hidden = false;
|
||||
UINTN Row = 0;
|
||||
CHAR16 ShortcutDigit = 0;
|
||||
char32_t ShortcutLetter = 0;
|
||||
CHAR16 ShortcutLetter = 0;
|
||||
XIcon Image = 0;
|
||||
EG_RECT Place = EG_RECT();
|
||||
ACTION AtClick = ActionNone;
|
||||
|
Loading…
Reference in New Issue
Block a user