2 Declares titlebar interface functions.
4 Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved. <BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef _LIB_TITLE_BAR_H_
10 #define _LIB_TITLE_BAR_H_
13 Initialize a title bar.
15 @param[in] Prompt The prompt to print in the title bar.
17 @retval EFI_SUCCESS The initialization was successful.
18 @retval EFI_OUT_OF_RESOURCES A memory allocation failed.
26 Clean up the memory used.
43 Refresh function for MainTitleBar
45 @param[in] FileName The open file's name (or NULL).
46 @param[in] FileType The type fo the file.
47 @param[in] ReadOnly TRUE if the file is read only. FALSE otherwise.
48 @param[in] Modified TRUE if the file was modified. FALSE otherwise.
49 @param[in] LastCol The last printable column.
50 @param[in] LastRow The last printable row.
51 @param[in] Offset The offset into the file. (only for mem/disk)
52 @param[in] Size The file's size. (only for mem/disk)
54 @retval EFI_SUCCESS The operation was successful.
58 IN CONST CHAR16
*FileName OPTIONAL
,
59 IN CONST EDIT_FILE_TYPE FileType
,
60 IN CONST BOOLEAN ReadOnly
,
61 IN CONST BOOLEAN Modified
,
62 IN CONST UINTN LastCol
,
63 IN CONST UINTN LastRow
,
64 IN CONST UINTN Offset
,