home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / next / programm / 5174 < prev    next >
Encoding:
Text File  |  1992-07-22  |  908 b   |  26 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!usc!sdd.hp.com!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!newshost.cs.rose-hulman.edu!news
  3. From: mcconnap@NeXTwork.Rose-Hulman.Edu (Andy McConnell)
  4. Subject: NXRectFill - How to use this correctly?
  5. Message-ID: <1992Jul22.161151.7557@cs.rose-hulman.edu>
  6. Keywords: NXRect, NXRectFill, Color, NXColor
  7. Sender: news@cs.rose-hulman.edu (The News Administrator)
  8. Nntp-Posting-Host: g222-10.nextwork.rose-hulman.edu
  9. Organization: Rose-Hulman Institute of Technology
  10. Date: Wed, 22 Jul 1992 16:11:51 GMT
  11. Lines: 13
  12.  
  13.  
  14. I need some help in drawing the background of an NXRect.  I have these two  
  15. lines in my code:
  16.  
  17.      NXSetColor( GaugeDat.backColor );
  18.     NXRectFill(&bounds);
  19.  
  20. GaugeDat.backColor is just an NXColor.  However, this little ditty does  
  21. absolutely nothing that I can see, no matter how backColor is set.
  22.  
  23. Is there something I'm missing?
  24.  
  25.                 - Andy McConnell
  26.