mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57:46 +00:00
LibGfx: Unpublish Gfx::Rect from global namespace
This commit is contained in:
parent
c39d44fc2e
commit
20cfd2a6bf
78 changed files with 262 additions and 260 deletions
|
@ -123,7 +123,7 @@ void TaskbarWindow::create_quick_launch_bar()
|
|||
|
||||
void TaskbarWindow::on_screen_rect_change(const Gfx::Rect& rect)
|
||||
{
|
||||
Rect new_rect { rect.x(), rect.bottom() - taskbar_height() + 1, rect.width(), taskbar_height() };
|
||||
Gfx::Rect new_rect { rect.x(), rect.bottom() - taskbar_height() + 1, rect.width(), taskbar_height() };
|
||||
set_rect(new_rect);
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ public:
|
|||
String title() const { return m_title; }
|
||||
void set_title(const String& title) { m_title = title; }
|
||||
|
||||
Rect rect() const { return m_rect; }
|
||||
Gfx::Rect rect() const { return m_rect; }
|
||||
void set_rect(const Gfx::Rect& rect) { m_rect = rect; }
|
||||
|
||||
GUI::Button* button() { return m_button; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue