summaryrefslogtreecommitdiff
path: root/LibGUI/GWidget.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-05-15 02:39:58 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-05-15 02:39:58 +0200
commitad731cc08f2cf84ec5fca5b1cf303fa0ac3cd390 (patch)
tree2a8a7e7bcbd269da0d3b16683189652e74a924a7 /LibGUI/GWidget.h
parent01ffcdfa31ba560fcceee82ba2158f867ad114ec (diff)
downloadserenity-ad731cc08f2cf84ec5fca5b1cf303fa0ac3cd390.zip
LibGUI: Support cycling through focusable widgets with Tab and Shift-Tab.
Diffstat (limited to 'LibGUI/GWidget.h')
-rw-r--r--LibGUI/GWidget.h2
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);