🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: where is gem desktop resource?

#35702
From: Bob Breum
Date: Fri, 30 Dec 1988 20:40
28 lines
2252 bytes
In article <1274@atari.UUCP> mui@atari.UUCP (Derek Mui) writes:
>in article <12375@hall.cray.com>, rosenkra@hall.cray.com (Bill Rosenkranz) says:
>> the AES wind_set() call to replace the desktop works just fine. but how
>> can you set it back to what it was after a program exits? if allan's
>> listening, i'd appreciate the "legal, official atari sanctioned" way.
>> in lieu of that (i have not found any pointers/calls to do it), if anybody
>
>    There is no function call to get the resource of the desktop.  When an
>application makes a wind_set(WF_NEWDESK) call, it doesn't need to reset it
>back when it exits.  When control returns to the desktop, the original 
>background will be restored.
>
This is correct as far as it goes.  But there is a legitimate need to reset
the revised desktop when the program has been called from a shell.  Otherwise,
the AES will attempt to redraw the specified desktop, but the resource for 
that desktop will have been released at the time that the program terminated.
It is my understanding, although I haven't tried it, that wind_set(WF_NEWDESK)
with an address of 0 will reset the desktop.

Computer Fenestrations                                              Bob Breum
Post Office Box 151           {uiucuxc,hoptoad,petsd,ucf-cs}!peora!cmpfen!bob
Lake Monroe, FL 32747 USA
+1 407 322-3222                                          "C is the new BASIC"
-- 
Computer Fenestrations                                              Bob Breum
Post Office Box 151           {uiucuxc,hoptoad,petsd,ucf-cs}!peora!cmpfen!bob
Lake Monroe, FL 32747 USA
+1 407 322-3222                                          "C is the new BASIC"
Technical Details
Message-ID: <374@cmpfen.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!unmvax!ncar!boulder!sunybcs!bingvaxu!leah!itsgw!steinmetz!ge-dab!peora!cmpfen!bob
References: <12375@hall.cray.com> <1274@atari.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!unmvax!ncar!boulder!sunybcs!bingvaxu!leah!itsgw!steinmetz!ge-dab!peora!cmpfen!bob
From: bob@cmpfen.UUCP (Bob Breum)
Newsgroups: comp.sys.atari.st
Subject: Re: where is gem desktop resource?
Summary: Don't assume that every GEM program is invoked by the GEM Desktop
Message-ID: <374@cmpfen.UUCP>
Date: 30 Dec 88 20:40:35 GMT
References: <12375@hall.cray.com> <1274@atari.UUCP>
Reply-To: bob@cmpfen.UUCP (Bob Breum)
Organization: Computer Fenestrations, Lake Monroe, Florida
Lines: 28