ladybird/Applications/DisplaySettings
Avery 1da38eeb3c DisplaySettings: Remove unnecessary file open for non-paths
Currently, every time the wallpaper picker changes, an additional
attempted file load happens on top of the file load to create the
bitmap. The only values that the wallpaper picker can take on are
filenames that can never be valid when loaded without the /res/wallpaper
prefix. To reduce the amount of log spam and speed up wallpaper picking,
this patch only attempts to load wallpapers with slash-prefixed names,
assumed to be the absolute path to that wallpaper. Additional wallpapers
outside of /res/wallpapers/ should still be accessible with this patch,
and the experience is improved for the more common case of selecting a
built-in wallpaper.
2020-09-03 11:03:16 +02:00
..
CMakeLists.txt Build: Switch to CMake :^) 2020-05-14 20:15:18 +02:00
DisplaySettings.cpp DisplaySettings: Remove unnecessary file open for non-paths 2020-09-03 11:03:16 +02:00
DisplaySettings.h DisplaySettings: Fix crash on exit (due to Core::Object on the stack) 2020-07-05 21:17:14 +02:00
main.cpp Applications: Stop setting initial window location 2020-08-01 08:06:48 +02:00
MonitorWidget.cpp Base: Create /res/graphics/ and relocate system art assets 2020-08-27 15:38:02 +02:00
MonitorWidget.h DisplaySettings: Allow setting wallpapers from outside /res/wallpapers 2020-06-28 00:06:09 +02:00