From 727390c04c56c60fbe4369d76565f5607d468e11 Mon Sep 17 00:00:00 2001 From: Joursoir Date: Tue, 30 Nov 2021 17:45:29 +0300 Subject: panel: make panel_move_cursor() --- Library/UefiShellUfmCommandLib/panel.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Library/UefiShellUfmCommandLib/panel.h') diff --git a/Library/UefiShellUfmCommandLib/panel.h b/Library/UefiShellUfmCommandLib/panel.h index 2706dd6..1d71258 100644 --- a/Library/UefiShellUfmCommandLib/panel.h +++ b/Library/UefiShellUfmCommandLib/panel.h @@ -50,4 +50,14 @@ struct panel_ctx *panel_alloc(struct screen *scr, CONST CHAR16 *path, */ VOID panel_release(struct panel_ctx *p); +/* + * Moves cursor position to specified line + * + * p: the panel on which to operate + * line: the line coordinate (starts from 1) + * + * return: FALSE upon failure and TRUE upon successful completion +*/ +BOOLEAN panel_move_cursor(struct panel_ctx *p, UINTN line); + #endif /* UFM_PANEL_H */ -- cgit v1.2.3-18-g5258