1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:38:11 +00:00
serenity/Userland/Services/WindowServer
Nico Weber 2ec6bbd7a1 LibGfx: Add a draw_scaled_bitmap() variant that takes a FloatRect as src_rect
Consider

    draw_scaled_bitmap({0, 0, 10, 10}, source, {0, 0, 5, 5}).

Imagine wanting to split that up into two calls, like e.g. the
compositor when redrawing the background with damage rects. You really
want to be able to say

    draw_scaled_bitmap({0, 0, 5, 10}, source, {0, 0, 2.5, 5})

but up to now you couldn't. Now you can.

This makes painting very low-res images (such as tile.png) in mode
"stretch" work much better.
2021-01-22 22:13:53 +01:00
..
AppletManager.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
AppletManager.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Button.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Button.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
ClientConnection.cpp LibGfx: Give Bitmap a scale factor 2021-01-20 10:28:27 +01:00
ClientConnection.h Kernel+LibC+WindowServer: Remove unused thread/process boost mechanism 2021-01-16 14:52:04 +01:00
CMakeLists.txt Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Compositor.cpp LibGfx: Add a draw_scaled_bitmap() variant that takes a FloatRect as src_rect 2021-01-22 22:13:53 +01:00
Compositor.h WindowServer: Rename WallpaperMode::{Scaled => Stretch} 2021-01-20 09:16:27 +01:00
Cursor.cpp WindowServer: In HighDPI mode, load high-res window buttons and high-res cursors 2021-01-20 10:28:27 +01:00
Cursor.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Event.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
EventLoop.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
EventLoop.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
main.cpp Everywhere: Remove more <AK/SharedBuffer.h> includes 2021-01-17 00:04:42 +01:00
Menu.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Menu.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
MenuBar.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
MenuBar.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
MenuItem.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
MenuItem.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
MenuManager.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
MenuManager.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Screen.cpp WindowServer: Add a "scale" parameter to the SetResolution message and plumb it through 2021-01-15 22:05:08 +01:00
Screen.h WindowServer: Make HighDPI aware 2021-01-15 19:10:16 +01:00
Window.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
Window.h LibGUI+WindowServer: Use anonymous files for window backing stores :^) 2021-01-15 13:57:00 +01:00
WindowClient.ipc WindowServer+LibGUI: Pass the system theme using Core::AnonymousBuffer 2021-01-16 17:20:53 +01:00
WindowFrame.cpp WindowServer: In HighDPI mode, load high-res window buttons and high-res cursors 2021-01-20 10:28:27 +01:00
WindowFrame.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
WindowManager.cpp WindowServer: In HighDPI mode, load high-res window buttons and high-res cursors 2021-01-20 10:28:27 +01:00
WindowManager.h WindowServer: In HighDPI mode, load high-res window buttons and high-res cursors 2021-01-20 10:28:27 +01:00
WindowServer.ipc WindowServer+LibGUI: Pass the system theme using Core::AnonymousBuffer 2021-01-16 17:20:53 +01:00
WindowSwitcher.cpp Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
WindowSwitcher.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00
WindowType.h Services: Move to Userland/Services/ 2021-01-12 12:23:01 +01:00