home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / windows / x / motif / 8152 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.windows.x.motif
  2. Path: sparky!uunet!think.com!paperboy.osf.org!juliet!daniel
  3. From: daniel@juliet.osf.org (Daniel Dardailler)
  4. Subject: Re: ScrollBar foreground color
  5. Message-ID: <1992Dec21.153219.12254@osf.org>
  6. Sender: daniel@juliet (Daniel Dardailler)
  7. Organization: Open Software Foundation, Motif Team
  8. References:  <9212180945.aa22237@athena.westford.ccur.com>
  9. Distribution: inet
  10. Date: Mon, 21 Dec 1992 15:32:19 GMT
  11. Lines: 15
  12.  
  13.  
  14. |> We've noticed that it does not seem to be possible to set the color of the
  15. |> scrollbar slider.  Even though the Programmer's Reference is unclear as to
  16. |> what the scrollbar Foreground resource controls, it would seem to make
  17. |> sense for it to control the slider color.  A perusal of ScrollBar.c reveals
  18. |> that the foreground resource is unused and that the slider is drawn in the
  19. |> background color (along with most everything else).  We think we see an easy
  20. |> way to fix this.  The question is, "What is the intended behaviour?"  Was
  21. |> it intended not to use the foreground or was that an oversight?
  22.  
  23. Use of foreground has been avoided on purpose (3d visual cuisine).
  24.  
  25. XmNtroughColor is the one you're looking for.
  26.  
  27.  
  28.