mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 15:15:07 +00:00
LibGUI: Add GListView::index_at_event_position()
And port GListView::mousedown_event() to it.
This commit is contained in:
parent
b4923938e1
commit
2ccad40a16
2 changed files with 20 additions and 9 deletions
|
@ -49,8 +49,9 @@ public:
|
|||
|
||||
void scroll_into_view(const GModelIndex&, Orientation);
|
||||
|
||||
Point adjusted_position(const Point&);
|
||||
Point adjusted_position(const Point&) const;
|
||||
|
||||
GModelIndex index_at_event_position(const Point&) const;
|
||||
virtual Rect content_rect(const GModelIndex&) const override;
|
||||
|
||||
int model_column() const { return m_model_column; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue