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:
parent
9b87843af1
commit
f8b00aa290
29 changed files with 41 additions and 43 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue