summaryrefslogtreecommitdiff
path: root/Userland/gron.cpp
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2020-08-27 17:47:19 +0200
committerAndreas Kling <kling@serenityos.org>2020-08-27 17:47:19 +0200
commit0b9d765f6bc080eda22594120ed95815ad839d10 (patch)
tree3958f2775c24685e94c6fbec64947ee24cdd684d /Userland/gron.cpp
parent1b3169f405ac9250b65ee3608e2962f51d2d8e3c (diff)
downloadserenity-0b9d765f6bc080eda22594120ed95815ad839d10.zip
LibGUI: Add AbstractView::move_cursor() and share some movement logic
A view can now be told to move its cursor in one of multiple directions as specified by the CursorMovement enum. View subclasses can override move_cursor(CursorMovement) to implement their own cursor behavior. By default, AbstractView::move_cursor() is a no-op. This patch improves code sharing between TableView and TreeView. :^)
Diffstat (limited to 'Userland/gron.cpp')
0 files changed, 0 insertions, 0 deletions