Let's have two wallpapers installed so we can test switching.

This commit is contained in:
Andreas Kling 2019-02-08 17:12:50 +01:00
parent cf58b76210
commit a6f9ddbb58
Notes: sideshowbarker 2024-07-19 15:49:17 +09:00
3 changed files with 12621 additions and 2 deletions

12619
Base/res/wallpapers/cool.rgb Normal file

File diff suppressed because one or more lines are too long

View file

@ -1,6 +1,6 @@
rm -vf _fs_contents.lock
rm -vf _fs_contents
dd if=/dev/zero of=_fs_contents bs=1M count=8
dd if=/dev/zero of=_fs_contents bs=1M count=12
mke2fs _fs_contents
chown 1000:1000 _fs_contents
mkdir -vp mnt

View file

@ -165,7 +165,7 @@ WSWindowManager::WSWindowManager()
{
LOCKER(m_wallpaper_path.lock());
m_wallpaper_path.resource() = "/res/wallpapers/gray-wood.rgb";
m_wallpaper_path.resource() = "/res/wallpapers/cool.rgb";
m_wallpaper = GraphicsBitmap::load_from_file(m_wallpaper_path.resource(), m_screen_rect.size());
}