summaryrefslogtreecommitdiff
path: root/LibGUI/GItemView.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-25 01:42:15 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-25 01:43:32 +0100
commit20f7d7ec675386ae5d3287d01048aeeda04e2b94 (patch)
treef3f84a53ea064e8e5b56b059930e44db5c3a92da /LibGUI/GItemView.h
parent43f9027968d73e5884e19352e7d3285329773932 (diff)
downloadserenity-20f7d7ec675386ae5d3287d01048aeeda04e2b94.zip
LibGUI: Add GWidget::doubleclick_event().
Now double-clicking an item in a GTableView or GItemView will activate it.
Diffstat (limited to 'LibGUI/GItemView.h')
-rw-r--r--LibGUI/GItemView.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/LibGUI/GItemView.h b/LibGUI/GItemView.h
index f6a52a84ae..19f9e30f92 100644
--- a/LibGUI/GItemView.h
+++ b/LibGUI/GItemView.h
@@ -30,6 +30,7 @@ private:
virtual void resize_event(GResizeEvent&) override;
virtual void mousedown_event(GMouseEvent&) override;
virtual void keydown_event(GKeyEvent&) override;
+ virtual void doubleclick_event(GMouseEvent&) override;
int item_count() const;
Rect item_rect(int item_index) const;