Article View: comp.sys.amiga.tech
Article #9334Re: WaitTOF in interlace mode
From: Randell Jesup
Date: Wed, 20 Jul 1988 22:27
Date: Wed, 20 Jul 1988 22:27
34 lines
2177 bytes
2177 bytes
In article <4860@killer.DALLAS.TX.US> ltf@killer.DALLAS.TX.US (Lance Franklin) writes:
>but I don't want to wast the memory on two bit planes. Right now, I open
>a CUSTOMBITMAP window with two planes on the WorkBench, then allocate a
>bitmap with a single plane with it's address replicated in both plane pointers
>in the RastPort.Bitmap structure. This allows me to have four color gadgets
>in the frame, but faster blits (thru a second RastPort structure pointing to
>the same single plane). Until we get to the point where we can open windows
>with a different number of planes on the border and the interior, it'll do.
I do hope you're changing the number of planes in this second
bitmap as well, or it won't help any. Don't hold your breath for different
numbers of bitplanes in window borders/interiors.
An easier way to get fast access to the inner part of a window is
to simply mask out the planes you don't need at a given moment using the
rp->Mask. Make sure you reset it when you're done. If you're using
BltBitMap this won't help, but that's no real good with windows anyways.
(ClipBlit should respect the mask, since it takes rastports).
>Oh yeah, two more little questions...
>
> #1: Is there any way to have proportional gadgets rendered in anything
> other than the windows Detail and Block pen?
Not now (maybe in 1.4).
> #2: Is there any way to get String Gadgets to use anything but the
> screen's default font...get's a bit annoying when somebody
> replaces the WorkBenchs default font to an 11 point font.
Not now (major additions to string gadgets for 1.4 coming).
--
Randell Jesup, Commodore Engineering {uunet|rutgers|allegra}!cbmvax!jesup
Technical Details
Message-ID:
<4307@cbmvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!pyramid!cbmvax!jesupReferences:
<4860@killer.DALLAS.TX.US>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!ucbvax!hplabs!pyramid!cbmvax!jesup From: jesup@cbmvax.UUCP (Randell Jesup) Newsgroups: comp.sys.amiga.tech Subject: Re: WaitTOF in interlace mode Message-ID: <4307@cbmvax.UUCP> Date: 20 Jul 88 22:27:54 GMT References: <4860@killer.DALLAS.TX.US> Reply-To: jesup@cbmvax.UUCP (Randell Jesup) Organization: Commodore Technology, West Chester, PA Lines: 33