1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00

GUI: Extract a ScrollBar::scroll_to_position method

This commit is contained in:
Nico Weber 2020-08-11 20:56:52 -04:00 committed by Andreas Kling
parent d1571ce00a
commit eab7712ab0
2 changed files with 21 additions and 13 deletions

View file

@ -92,6 +92,8 @@ private:
void on_automatic_scrolling_timer_fired();
void set_automatic_scrolling_active(bool);
void scroll_to_position(const Gfx::IntPoint&);
int m_min { 0 };
int m_max { 0 };
int m_page { 0 };