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