diff options
author | Qiu Shumin <shumin.qiu@intel.com> | 2016-03-14 11:14:56 +0800 |
---|---|---|
committer | Qiu Shumin <shumin.qiu@intel.com> | 2016-03-24 10:17:52 +0800 |
commit | ee60bd2b6aa473fdff6af3bfc62203ed8ca5c52a (patch) | |
tree | 29f1241b150ff12c8a3375ea74ea1c6bc40c2305 /ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.h | |
parent | a5acc84226183fc5a5d55eb923f6c47a8d42d861 (diff) | |
download | edk2-platforms-ee60bd2b6aa473fdff6af3bfc62203ed8ca5c52a.tar.xz |
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 <shumin.qiu@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.h')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/Edit/FileBuffer.h | 12 |
1 files changed, 11 insertions, 1 deletions
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. <BR>
+ Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved. <BR>
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
|