mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-07 16:49:54 +00:00
LibGfx: Unpublish Gfx::Rect from global namespace
This commit is contained in:
parent
c39d44fc2e
commit
20cfd2a6bf
Notes:
sideshowbarker
2024-07-19 09:35:05 +09:00
Author: https://github.com/awesomekling
Commit: 20cfd2a6bf
78 changed files with 262 additions and 260 deletions
|
@ -90,7 +90,7 @@ int main(int argc, char** argv)
|
|||
|
||||
auto window = GUI::Window::construct();
|
||||
window->set_title("Welcome to Serenity");
|
||||
Rect window_rect { 0, 0, 640, 360 };
|
||||
Gfx::Rect window_rect { 0, 0, 640, 360 };
|
||||
window_rect.center_within(GUI::Desktop::the().rect());
|
||||
window->set_resizable(true);
|
||||
window->set_rect(window_rect);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue