feat: jpeg image rendering, desktop backgrounds, fix memory regression

This commit is contained in:
2026-02-27 19:01:07 +01:00
parent f28b850db2
commit e95089192f
19 changed files with 9019 additions and 29 deletions
+7
View File
@@ -21,10 +21,17 @@ static constexpr int PANEL_HEIGHT = 32;
struct DesktopSettings {
// Background
bool bg_gradient; // true = gradient, false = solid
bool bg_image; // true = JPEG wallpaper
Color bg_solid; // solid background color
Color bg_grad_top; // gradient top color
Color bg_grad_bottom; // gradient bottom color
// Wallpaper (valid when bg_image == true)
char bg_image_path[128]; // VFS path to current wallpaper
uint32_t* bg_wallpaper; // scaled ARGB pixel buffer (screen-sized)
int bg_wallpaper_w; // scaled width
int bg_wallpaper_h; // scaled height
// Panel
Color panel_color; // panel background color