From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,b9702c30d87ba19a X-Google-Attributes: gidfee84,public From: bjr7@fn2.freenet.tlh.fl.us (Benjamin Jay Robinson) Subject: Re: changing colours Date: 1996/06/27 Message-ID: <4qusb9$81@fn3.freenet.tlh.fl.us>#1/1 X-Deja-AN: 162446865 distribution: world references: <835365770.9379@manta.latrade.com> organization: International Luddite Society newsgroups: comp.unix.osf.osf1 In "changing colours," M. R. Bray wrote: "However I think my problem is a little more fundamental and simpler, I just need to know what is the name of the scrollbar/pushbutton shadow in the resources file, and which resources file it is in - Mwm, DXterm, other ??? Then I can set it to my chosen colour. I expect it's something like Mwm*scrollbartopshadowcolor: #xxxxxxxxxxxx" I notice that when I call up the border color changer (by clicking on the root window), I get a widget that allows me to independently change the background and shadow colors for the active and inactive window borders. When I call up the color changer for the window itself (by selecting "Options | Window..." from the Session Manager), I just get to change the background color. Motif bases the scrollbar shadow color on the background color; thus, background, top shadow, and bottom shadow should all be coordinated. I don't see a convenient way of independently changing the shadow color. It occurs to me, though, that the scrollbars for things like DECterm aren't part of Motif -- they're resources for the applications themselves. Sure enough, in the resource file for DECterm (default.DECterm) there is this line: DXterm.main.terminal.topShadowColor: {some value} Changing this might work. (Curiously, it didn't for me, but I didn't try it aggressively.) The point is, that the color of the scrollbar widgets may be controlled by the applications, rather than imposed by the window manager. The good news is, if you can get DECterm to pay attention to your default.DECterm file, you've licked the scrollbar color problem. The bad news is, now you've got to find the resources for all your OTHER applications! -Good Luck, Benjamin Robinson -- afn46299@afn.org = bjr7@freenet.scri.fsu.edu My opinions don't represent, and are likely contrary to, those of my employer. This message may or may not contain sarcastic content; your burden to decide. "See? Because of me, now they have a warning." -Homer, 1F14