mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:47:45 +00:00
LibGUI+Applications: Rename automatic scrolling timer functions
Renames on_automatic_scrolling_timer_fired() => automatic_scrolling_timer_did_fire() The 'on_' prefix is usually reserved for AK::Function hooks. Renames set_automatic_scrolling_{active,timer}() => set_automatic_scrolling_timer_active() For consistency, accuracy, and header file A E S T H E T I C S
This commit is contained in:
parent
5b02e6a46b
commit
d938b9effe
10 changed files with 30 additions and 30 deletions
|
@ -58,7 +58,7 @@ public:
|
|||
void scroll_to_bottom();
|
||||
void update_scrollbar_ranges();
|
||||
|
||||
void set_automatic_scrolling_timer(bool active);
|
||||
void set_automatic_scrolling_timer_active(bool);
|
||||
virtual Gfx::IntPoint automatic_scroll_delta_from_position(Gfx::IntPoint) const;
|
||||
|
||||
int width_occupied_by_vertical_scrollbar() const;
|
||||
|
@ -84,10 +84,10 @@ protected:
|
|||
virtual void resize_event(ResizeEvent&) override;
|
||||
virtual void mousewheel_event(MouseEvent&) override;
|
||||
virtual void did_scroll() { }
|
||||
virtual void automatic_scrolling_timer_did_fire() {};
|
||||
void set_content_size(Gfx::IntSize);
|
||||
void set_min_content_size(Gfx::IntSize);
|
||||
void set_size_occupied_by_fixed_elements(Gfx::IntSize);
|
||||
virtual void on_automatic_scrolling_timer_fired() {};
|
||||
int autoscroll_threshold() const { return m_autoscroll_threshold; }
|
||||
void update_scrollbar_visibility();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue