mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibGfx: Unpublish Gfx::Size from the global namespace
This commit is contained in:
parent
9b87843af1
commit
f8b00aa290
Notes:
sideshowbarker
2024-07-19 09:35:00 +09:00
Author: https://github.com/awesomekling
Commit: f8b00aa290
29 changed files with 41 additions and 43 deletions
|
@ -53,7 +53,7 @@ void QSWidget::set_bitmap(NonnullRefPtr<Gfx::Bitmap> bitmap)
|
|||
|
||||
void QSWidget::relayout()
|
||||
{
|
||||
Size new_size;
|
||||
Gfx::Size new_size;
|
||||
float scale_factor = (float)m_scale / 100.0f;
|
||||
new_size.set_width(m_bitmap->width() * scale_factor);
|
||||
new_size.set_height(m_bitmap->height() * scale_factor);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue