Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!umich!umeecs!msi.umn.edu!cs.umn.edu!sialis!orbit!pnet51!chucks From: chucks@pnet51.orb.mn.org (Erik Funkenbusch) Newsgroups: comp.sys.amiga.programmer Subject: Re: 2.0 Screens Message-ID: <4558@orbit.cts.com> Date: 9 Apr 91 19:25:01 GMT Sender: news@orbit.cts.com Organization: People-Net [pnet51], Minneapolis, MN. Lines: 39 stefanb@cip-s02.informatik.rwth-aachen.de (Stefan Becker) writes: > >How about this: > >struct NewScreen myscreen = {0, 0, STDSCREENWIDTH, STDSCREENHEIGHT, 3,1,0, > HIRES,CUSTOMSCREEN,NULL, > "BBS Screen", NULL, NULL}; > >/* look into intuition/screens.h for more info on pens */ >UWORD screenpens[]={0,1,3,2,3,2,3,2,3,~0}; > > > if (!(s=OpenScreenTags(&myscreen, > SA_Overscan,OSCAN_TEXT, > SA_FullPalette,TRUE, > SA_Pens,screenpens, > TAG_DONE))) > > >Hope this helps... > > Stefan > >Mail : Stefan Becker, Holsteinstrasse 9, D-5100 Aachen /// Only >Phone : +49-241-505705 FIDO: 2:242/7.6 Germany /// Amiga makes >Domain: stefanb@informatik.rwth-aachen.de \\\/// it possible.. >Bang : ..mcvax!unido!rwthinf!stefanb \XX/ -->A3000/25<-- Actually, i had figured this out, my only problem now is that i can't get the text in the window bar to render into any pen but pen 0, this is anoying. i've tried every pen in every index position there is. and it always renders the window bar text in color 0. also, the dark portion of 3d gadgets always renders in color 0.. it's starting to annoy me. it has to be something with the screen since when i open the window on a workbench screen it works fine. UUCP: {amdahl!tcnet, crash}!orbit!pnet51!chucks ARPA: crash!orbit!pnet51!chucks@nosc.mil INET: chucks@pnet51.orb.mn.org