ladybird/Services
Linus Groh 0cab3bca2f LibGUI: Add and use Window::center_on_screen()
Various applications were using the same slightly verbose code to center
themselves on the screen/desktop:

Gfx::IntRect window_rect { 0, 0, width, height };
window_rect.center_within(GUI::Desktop::the().rect());
window->set_rect(window_rect);

Which now becomes:

window->resize(width, height);
window->center_on_screen();
2020-08-15 17:38:19 +02:00
..
AudioServer AudioServer: Lock the process veil after startup 2020-08-07 09:10:14 +02:00
Clipboard LibIPC+Services: Make ClientConnection take socket as NonnullRefPtr 2020-07-06 13:30:11 +02:00
DHCPClient AK: JsonParser improvements 2020-06-13 12:43:22 +02:00
ImageDecoder LibIPC+Services: Make ClientConnection take socket as NonnullRefPtr 2020-07-06 13:30:11 +02:00
LaunchServer LaunchServer: Disown child processes after spawning 2020-08-04 18:17:16 +02:00
LookupServer Meta: Add a script check the presence of "#pragma once" in header files 2020-05-29 07:59:45 +02:00
NotificationServer Services: Mark compilation-unit-only functions as static 2020-08-12 20:40:59 +02:00
ProtocolServer ProtocolServer+LibTLS: Pipe certificate requests from LibTLS to clients 2020-08-02 18:57:51 +02:00
SystemMenu LibGUI: Add and use Window::center_on_screen() 2020-08-15 17:38:19 +02:00
SystemServer SystemServer: Adjust assertion+comment for new dup2() behavior 2020-08-15 11:14:09 +02:00
Taskbar Taskbar: Disown quick-launched programs 2020-08-04 18:17:16 +02:00
TelnetServer Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
WebContent LibWeb: Send key events to the WebContent process 2020-08-03 19:58:59 +02:00
WebServer WebServer: Show icons in directory listings :^) 2020-07-27 22:39:01 +02:00
WindowServer WindowServer: Minimize the modal stack when minimizing from frame 2020-08-15 01:28:18 +02:00
CMakeLists.txt ImageDecoder: Add a new service for out-of-process image decoding :^) 2020-06-22 21:47:00 +02:00