X-Git-Url: https://code.delx.au/refind/blobdiff_plain/1bce5f96f4f03d381586b3716e73380fe64a331e..0cc0f285174db0f780227e66a31b9aadc79875c1:/refind/menu.h diff --git a/refind/menu.h b/refind/menu.h index b0cb514..be906a9 100644 --- a/refind/menu.h +++ b/refind/menu.h @@ -64,8 +64,10 @@ // scrolling definitions typedef struct { - INTN CurrentSelection, LastSelection, MaxIndex; + INTN CurrentSelection, PreviousSelection, MaxIndex; INTN FirstVisible, LastVisible, MaxVisible; + INTN FinalRow0, InitialRow1; + INTN ScrollMode; BOOLEAN PaintAll, PaintSelection; } SCROLL_STATE; @@ -76,6 +78,11 @@ typedef struct { #define SCROLL_FIRST (4) #define SCROLL_LAST (5) #define SCROLL_NONE (6) +#define SCROLL_LINE_RIGHT (7) +#define SCROLL_LINE_LEFT (8) + +#define SCROLL_MODE_TEXT (0) /* Used in text mode & for GUI submenus */ +#define SCROLL_MODE_ICONS (1) /* Used for main GUI menu */ struct _refit_menu_screen;