diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-05-15 02:39:58 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-05-15 02:39:58 +0200 |
commit | ad731cc08f2cf84ec5fca5b1cf303fa0ac3cd390 (patch) | |
tree | 2a8a7e7bcbd269da0d3b16683189652e74a924a7 /LibGUI/GWidget.h | |
parent | 01ffcdfa31ba560fcceee82ba2158f867ad114ec (diff) | |
download | serenity-ad731cc08f2cf84ec5fca5b1cf303fa0ac3cd390.zip |
LibGUI: Support cycling through focusable widgets with Tab and Shift-Tab.
Diffstat (limited to 'LibGUI/GWidget.h')
-rw-r--r-- | LibGUI/GWidget.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/LibGUI/GWidget.h b/LibGUI/GWidget.h index daee5cbf8a..61e896fba1 100644 --- a/LibGUI/GWidget.h +++ b/LibGUI/GWidget.h @@ -194,6 +194,8 @@ private: void handle_enter_event(CEvent&); void handle_leave_event(CEvent&); void do_layout(); + void focus_previous_widget(); + void focus_next_widget(); CElapsedTimer& click_clock(GMouseButton); |