diff options
author | Omar Emara <mail@OmarEmara.dev> | 2021-08-17 16:06:46 -0700 |
---|---|---|
committer | Greg Clayton <gclayton@fb.com> | 2021-08-17 16:54:41 -0700 |
commit | 79e950a29e004f2f0ac590f6090b61b3043503e2 (patch) | |
tree | aaff7519672e9b37c0b8c538249923b2ce7a3929 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
parent | 0479afb3d6a31668631464653f07154d6850e4a1 (diff) | |
download | llvm-79e950a29e004f2f0ac590f6090b61b3043503e2.zip llvm-79e950a29e004f2f0ac590f6090b61b3043503e2.tar.gz llvm-79e950a29e004f2f0ac590f6090b61b3043503e2.tar.bz2 |
[LLDB][GUI] Refactor form drawing using subsurfaces
This patch adds a new method SubSurface to the Surface class. The method
returns another surface that is a subset of this surface. This is
important to further abstract away drawing from the ncurses objects. For
instance, fields could previously be drawn on subpads only but can now
be drawn on any surface. This is needed to create the file search
dialogs and similar functionalities.
There is an opportunity to refactor window drawing in general using
surfaces, but we shall consider this separately later.
Differential Revision: https://reviews.llvm.org/D107761
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions