1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:27:35 +00:00

LibGUI: Factor out Splitter hit testing into a separate function

This commit is contained in:
Andreas Kling 2020-02-11 10:56:26 +01:00
parent 01cefa83aa
commit 7aa62665a3
2 changed files with 24 additions and 14 deletions

View file

@ -45,6 +45,8 @@ protected:
virtual void leave_event(Core::Event&) override;
private:
void get_resize_candidates_at(const Gfx::Point&, Widget*&, Widget*&);
Orientation m_orientation;
bool m_resizing { false };
Gfx::Point m_resize_origin;