Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!ucbvax!bloom-beacon!ICASE.EDU!tom From: tom@ICASE.EDU (Tom Crockett) Newsgroups: comp.windows.x Subject: borders in awm Message-ID: <8812061353.AA20486@icase.icase.edu> Date: 6 Dec 88 13:53:33 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 35 > Awm uses a Pixmap called "SolidPixmap" for borders of the > window in focus, and "GreyPixmap" for borders of windows out > of focus. SolidPixmap turns out to be black on my setup and > I have tried messing with resources to get white borders but > have failed. Is there a way to get a "SolidPixmap" which is > white instead of black, but otherwize keep everything else > the same? I am willing to mung the code if need be. I do the following to get solid black borders when the window is in focus and white borders when it is out of focus: *BorderWidth: 0 awm.border.foreground: black awm.border.hilite: on awm.borderContexts: on awm.borderContext.background: white awm.borderContext.foreground: black awm.borderContext.cursor: 36 awm.borderContext.boldPixmap: black awm.borderContext.width: 4 The "black" pixmap is, as you might expect, solid black. If you want it the other way around, try reversing the foreground and background colors for the borderContext. Tom Crockett -------------------------------------------------------------------------------- Institute for Computer Applications in Science and Engineering M.S. 132C, NASA Langley Research Center Hampton, VA 23665 e-mail: tom@icase.edu phone: (804) 865-4097 --------------------------------------------------------------------------------