From ee60bd2b6aa473fdff6af3bfc62203ed8ca5c52a Mon Sep 17 00:00:00 2001 From: Qiu Shumin Date: Mon, 14 Mar 2016 11:14:56 +0800 Subject: ShellPkg: Make the USB mouse behavior in 'edit' consistent with 'hexedit'. 1. Make the USB mouse cursor move smoothly in 'edit'. 2. Make the USB mouse can drag and select text in 'edit'. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Qiu Shumin Reviewed-by: Jaben Carsey --- .../Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.h') diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.h b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.h index 9d4a08d7a3..627bb8449e 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.h +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.h @@ -1,7 +1,7 @@ /** @file Declares filebuffer interface functions. - Copyright (c) 2005 - 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -260,4 +260,14 @@ FileBufferSetModified ( VOID ); +/** + Get the size of the open buffer. + + @retval The size in bytes. +**/ +UINTN +FileBufferGetTotalSize ( + VOID + ); + #endif -- cgit v1.2.3