🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #4821

Re: Clearing the Window

#4821
From: John J. Szucs
Date: Fri, 10 Aug 1990 20:34
37 lines
2266 bytes
In article <3510@leah.Albany.Edu> wfh58@leah.albany.edu.UUCP (William F. Hammond) writes:
>In article <13749@cbmvax.commodore.com> jjszucs@cbmvax (John J. Szucs) writes:
>>In article <1990Aug10.022609.9022@ariel.unm.edu> kchiu@carina.unm.edu writes:

[stuff deleted]

>>There is no function for clearing a window per se.
>>
>Take a look at ClearScreen().  I don't have autodocs handy at the moment,
>but I believe this function is in graphics.library:
>
>              void ClearScreen(struct RastPort *rp);
>
>where:        rp = yourwindow->RPort
>
>with:         yourwindow being the pointer to the window you want to clear

ClearScreen clears the RastPort from the current position. If the window
is not of the GIMMEZEROZERO flavor, the window borders and border gadgetry are
in the RastPort and are also cleared. Thus, ClearScreen is only suitable
for GIMMEZEROZERO windows (or other RastPorts where you really mean to
clear the WHOLE RastPort).

>
>----------------------------------------------------------------------
>William F. Hammond                   Dept. of Mathematics & Statistics

================================================================================
|| John J. Szucs                    || The opinions expressed are my own and  ||
|| Systems Evaluation Group         || in no way represent the opinions or    ||
|| Product Assurance Department     || policies of Commodore Technology, Inc. ||
|| Commodore Technology, Inc.       || or any associated entity.              ||
================================================================================
...{rutgers|uunet|pyramid}!cbmvax!jjszucs
jjszucs@cbmvax.commodore.com

"Everything is deeply intertwingled." - Ted Nelson, Computer Lib/Dream Machines
Technical Details
Message-ID: <13757@cbmvax.commodore.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!jjszucs
References: <1990Aug10.022609.9022@ariel.unm.edu> <13749@cbmvax.commodore.com> <3510@leah.Albany.Edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!cbmvax!jjszucs
From: jjszucs@cbmvax.commodore.com (John J. Szucs)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Clearing the Window
Message-ID: <13757@cbmvax.commodore.com>
Date: 10 Aug 90 20:34:06 GMT
References: <1990Aug10.022609.9022@ariel.unm.edu> <13749@cbmvax.commodore.com> <3510@leah.Albany.Edu>
Reply-To: jjszucs@cbmvax (John J. Szucs)
Distribution: na
Organization: Commodore, West Chester, PA
Lines: 37