How to change wallpaper?

3 posts / 0 new
Last post
alfkil
alfkil's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2011-05-10 22:02
How to change wallpaper?
Is it possible to change the Workbench wallpaper from inside a program? I have looked in the workbench.library, but there doesn't seem to be an entry for it. I have also tried executing prefs/WBPattern from a shell with arguments, but all it does is bring up the WBPattern window without changing the background...
thomas
thomas's picture
Offline
Last seen: 4 weeks 2 hours ago
Joined: 2011-05-16 14:23
Just load
Just load env:sys/wbpattern.prefs, change what you need and save it back. IPrefs will automatically apply the changes. The file structure is IFF, the chunks are described in prefs/wbpattern.h and prefs/prefhdr.h.
alfkil
alfkil's picture
Offline
Last seen: 1 year 1 month ago
Joined: 2011-05-10 22:02
Ok cool, thanks! :)
Ok cool, thanks! :)
Log in or register to post comments