🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #28784

Replacing the Desktop (Programming Question)

#28784
From: Stephen.Bate
Date: Mon, 19 Oct 1987 15:23
19 lines
1357 bytes
I'm writing a program and would like to replace the green desktop background
with a picture from a graphics editor. I'm currently using the function...

            wind_set(0, WF_NEWDESK, desktop_tree, 0, 0);

            Where WF_NEWDESK = 14,
                  desktop_tree = pointer to an object tree.

When I try to use this function, the program bombs (usually when the
desktop redraws itself). The object tree is fine. I can draw it in a window
using objc_draw() with no problem. I've also tried splitting the address
into two integers (lo word, hi word) and supplied them at the third and 
fourth arguments (as documented by Abacus). This didn't work either. 
Can anyone HELP??

Thanks in advance,

Steve Bate
-------
Technical Details
Message-ID: <12343742576.46.GUFFEY@A.ISI.EDU>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!sun!decwrl!ucbvax!Stephen.Bate@Score.Stanford.EDU:GUFFEY@A.ISI.EDU

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!sundc!sun!decwrl!ucbvax!Stephen.Bate@Score.Stanford.EDU:GUFFEY@A.ISI.EDU
From: Stephen.Bate@Score.Stanford.EDU:GUFFEY@A.ISI.EDU
Newsgroups: comp.sys.atari.st
Subject: Replacing the Desktop (Programming Question)
Message-ID: <12343742576.46.GUFFEY@A.ISI.EDU>
Date: Mon, 19-Oct-87 11:23:07 EDT
Article-I.D.: A.12343742576.46.GUFFEY
Posted: Mon Oct 19 11:23:07 1987
Date-Received: Tue, 20-Oct-87 20:49:45 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: GUFFEY@A.ISI.EDU
Organization: The ARPA Internet
Lines: 19