LibHTML: Implement naive hit testing

We don't have proper line boxes yet, so we can't easily hit test
inline text.
This commit is contained in:
Andreas Kling 2019-09-28 23:02:22 +02:00
commit 3de4b99dc3
Notes: sideshowbarker 2024-07-19 11:54:11 +09:00
4 changed files with 38 additions and 0 deletions

View file

@ -17,6 +17,7 @@ protected:
virtual void resize_event(GResizeEvent&) override;
virtual void paint_event(GPaintEvent&) override;
virtual void mousemove_event(GMouseEvent&) override;
private:
void layout_and_sync_size();