aboutsummaryrefslogtreecommitdiff
path: root/include/u-boot/variadic-macro.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2023-10-01 19:13:19 -0600
committerTom Rini <trini@konsulko.com>2023-10-11 15:43:55 -0400
commit9899eef2cb41a9cde1dca87f3ddb041e347b177a (patch)
treecd4cae81e91813fc35a63532e1cae7aaa324f989 /include/u-boot/variadic-macro.h
parent9e55d09596a5b6ec1f8cbfc3e97d29b9929dee86 (diff)
video: Allow saving and restoring text-entry state
Text entry operates within a context which includes quite a bit of information. For example, with Truetype fonts, each character in the text string has a position stored, so that it is possible to backspace to that character. This information is built up as strings are drawn on the display. For the command line, there is just a single context. It is created when command-line entry starts and it is destroyed (or at least not needed anymore) when the user presses <enter> to enter the command. By contrast, expo needs to be able to switch in and out of a text-entry context, since it is also displaying other objects in the scene. Add a way to save and restore the entry context for a vidconsole. This is only needed for the truetype vidconsole, so add a method for that, storing the information in an abuf struct. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/u-boot/variadic-macro.h')
0 files changed, 0 insertions, 0 deletions