CloverBootloader/rEFIt_UEFI/refit/menu.h

49 lines
1.3 KiB
C
Raw Normal View History

2020-04-04 14:27:02 +02:00
#ifndef __MENU_H__
#define __MENU_H__
2020-04-23 15:20:48 +02:00
#include "../cpp_foundation/XString.h"
2020-04-04 14:27:02 +02:00
#include "../gui/menu_items/menu_items.h"
2020-10-03 19:02:31 +02:00
//void AddMenuInfoLine(IN REFIT_MENU_SCREEN *Screen, IN CONST CHAR16 *InfoLine);
//void AddMenuInfo(IN REFIT_MENU_SCREEN *SubScreen, IN CONST CHAR16 *Line);
//void AddMenuEntry(IN REFIT_MENU_SCREEN *Screen, IN REFIT_MENU_ENTRY *Entry, bool freeIt);
//void AddMenuCheck(REFIT_MENU_SCREEN *SubScreen, CONST CHAR8 *Text, UINTN Bit, INTN ItemNum);
//void FreeMenu(IN REFIT_MENU_SCREEN *Screen);
//UINTN RunMenu(IN REFIT_MENU_SCREEN *Screen, OUT REFIT_ABSTRACT_MENU_ENTRY **ChosenEntry);
//UINTN RunMainMenu(IN REFIT_MENU_SCREEN *Screen, IN INTN DefaultSelection, OUT REFIT_ABSTRACT_MENU_ENTRY **ChosenEntry);
//included into SCREEN
/*
2020-04-04 14:27:02 +02:00
extern EG_RECT UpButton;
extern EG_RECT DownButton;
extern EG_RECT BarStart;
extern EG_RECT BarEnd;
extern EG_RECT ScrollbarBackground;
extern EG_RECT Scrollbar;
extern EG_RECT ScrollStart;
extern EG_RECT ScrollEnd;
extern EG_RECT ScrollTotal;
extern EG_RECT ScrollbarOldPointerPlace;
extern EG_RECT ScrollbarNewPointerPlace;
*/
2020-04-04 14:27:02 +02:00
extern INTN LayoutAnimMoveForMenuX;
extern INTN LayoutMainMenuHeight;
2020-10-03 19:02:31 +02:00
void OptionsMenu(OUT REFIT_ABSTRACT_MENU_ENTRY **ChosenEntry);
void FreeScrollBar(void);
2020-10-03 19:02:31 +02:00
void
FillInputs (
BOOLEAN New
);
2020-10-03 19:02:31 +02:00
void
ApplyInputs (void);
2020-04-04 14:27:02 +02:00
#endif