mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
LibGUI: Add GScrollableWidget::to_widget_position()
This is a complement to to_content_position() :^)
This commit is contained in:
parent
fc53867937
commit
33043941f9
2 changed files with 9 additions and 0 deletions
|
@ -42,6 +42,7 @@ public:
|
|||
bool should_hide_unnecessary_scrollbars() const { return m_should_hide_unnecessary_scrollbars; }
|
||||
|
||||
Point to_content_position(const Point& widget_position) const;
|
||||
Point to_widget_position(const Point& content_position) const;
|
||||
|
||||
protected:
|
||||
explicit GScrollableWidget(GWidget* parent);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue