home *** CD-ROM | disk | FTP | other *** search
- Path: ulysses.sax.de!robby
- From: robby@ulysses.sax.de (Robby Paehlig)
- Subject: Re: SetRGB32() doesn't do what it should...
- Message-ID: <458.6616T6T2613@ulysses.sax.de>
- Newsgroups: comp.sys.amiga.programmer
- X-Newsreader: THOR 2.21 (Amiga;UUCP)
- Date: Mon, 12 Feb 96 00:09:09 GMT
- Organization: a private site in Germany
-
- Robby Paehlig (robby@ulysses.sax.de) wrote:
- :
- : [...]
- : if(GfxBase = (struct GfxBase *)(OpenLibrary("graphics.library",
- : 39L))) {
- : if(wb = LockPubScreen("Workbench")) {
- : SetRGB32(&(wb->ViewPort), 8, 0x0ul, 0x0ul, 0xFFul);
- : [...]
- :
- : Well, the color changes -- not to blue, but to black! What I'm
- : doing wrong?
-
- Thanks for all the replies I've got. The code works now how it should.
-
- Best regards,
-
- --
- Robby //
- \X/ robby@ulysses.sax.de
-