🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Clearing the Window

#4819
From: William F. Hammond
Date: Fri, 10 Aug 1990 18:28
22 lines
1523 bytes
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:
> ...
>>but Is there a function
>>for clearing the Window? Or do you have to fill the window with background
> ...
>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

----------------------------------------------------------------------
William F. Hammond                   Dept. of Mathematics & Statistics
518-442-4625                         SUNYA, Albany, NY 12222
hammond@leah.albany.edu              wfh58@albnyvms.bitnet
----------------------------------------------------------------------
Technical Details
Message-ID: <3510@leah.Albany.Edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!rpi!leah!wfh58
References: <1990Aug10.022609.9022@ariel.unm.edu> <13749@cbmvax.commodore.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!rpi!leah!wfh58
From: wfh58@leah.Albany.Edu (William F. Hammond)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Clearing the Window
Summary: Try ClearScreen()
Message-ID: <3510@leah.Albany.Edu>
Date: 10 Aug 90 18:28:10 GMT
References: <1990Aug10.022609.9022@ariel.unm.edu> <13749@cbmvax.commodore.com>
Reply-To: wfh58@leah.albany.edu.UUCP (William F. Hammond)
Distribution: na
Organization: Dept of Math & Stat, SUNYA, Albany, NY
Lines: 22