Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!bloom-beacon!usc!hacgate!gryphon!pnet02!rickf From: rickf@pnet02.cts.com (Rick Flower) Newsgroups: comp.sys.amiga.tech Subject: A Minor Programming Proverbial Menace.. Message-ID: <16752@gryphon.COM> Date: 14 Jun 89 21:20:22 GMT Sender: root@gryphon.COM Organization: People-Net [pnet02], Redondo Beach, CA. Lines: 20 Well, I'm in the process of writing a small program in which I want to be able to control the default colors of a custom screen / window that I open. Will using (oops, I meant while!) PowerWindows to generate my structures, it generated a "palette" structure for me to use with my copper colors (or whatever they are called {8-:>) Anyway, I started looking through all of my Amiga books, but I couldn't really find any relevant information except about SetRGB4 and LoadRGB4 in the graphics library. In order to use these functions, I get the feeling (after the code didn't work) that I must first create a view / viewport in order to do all of that? Do I also need to create a ColorMap for this entire thing? OR am I going about this in the wrong fashon? Thanks! +-----------------------------------------------------------------------------+ | Caution, Assembly Language Programmer at Play! | | | | UUCP: {ames!elroy, }!gryphon!pnet02!rickf | | INET: rickf@pnet02.cts.com | +=============================================================================+