1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-21 10:55:07 +00:00

LibGfx: Unpublish Gfx::Size from the global namespace

This commit is contained in:
Andreas Kling 2020-02-06 13:32:14 +01:00
parent 9b87843af1
commit f8b00aa290
29 changed files with 41 additions and 43 deletions

View file

@ -92,7 +92,7 @@ void ScrollableWidget::resize_event(ResizeEvent& event)
update_scrollbar_ranges();
}
Size ScrollableWidget::available_size() const
Gfx::Size ScrollableWidget::available_size() const
{
int available_width = frame_inner_rect().width() - m_size_occupied_by_fixed_elements.width() - width_occupied_by_vertical_scrollbar();
int available_height = frame_inner_rect().height() - m_size_occupied_by_fixed_elements.height() - height_occupied_by_horizontal_scrollbar();