home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3175 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  776 b 

  1. Path: ulysses.sax.de!robby
  2. From: robby@ulysses.sax.de (Robby Paehlig)
  3. Subject: Re: SetRGB32() doesn't do what it should...
  4. Message-ID: <458.6616T6T2613@ulysses.sax.de>
  5. Newsgroups: comp.sys.amiga.programmer
  6. X-Newsreader: THOR 2.21 (Amiga;UUCP)
  7. Date: Mon, 12 Feb 96 00:09:09 GMT
  8. Organization: a private site in Germany
  9.  
  10. Robby Paehlig (robby@ulysses.sax.de) wrote:
  11. :
  12. : [...]
  13. : if(GfxBase = (struct GfxBase *)(OpenLibrary("graphics.library",
  14. : 39L))) {
  15. :     if(wb = LockPubScreen("Workbench")) {
  16. :         SetRGB32(&(wb->ViewPort), 8, 0x0ul, 0x0ul, 0xFFul);
  17. : [...]
  18. :
  19. : Well, the color changes -- not to blue, but to black! What I'm
  20. : doing wrong?
  21.  
  22. Thanks for all the replies I've got. The code works now how it should.
  23.  
  24. Best regards,
  25.  
  26. --
  27. Robby  //
  28.      \X/ robby@ulysses.sax.de
  29.