Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!think.com!paperboy!yee From: yee@osf.org (Michael K. Yee) Newsgroups: comp.windows.x.motif Subject: Re: 16 colors with MWM Message-ID: Date: 7 Feb 91 22:36:30 GMT References: <1991Feb6.135146.2576@news.larc.nasa.gov> Sender: news@OSF.ORG Distribution: na Organization: Open Software Foundation Lines: 69 In-reply-to: jka@radar0.larc.nasa.gov's message of 6 Feb 91 13:51:46 GMT In article <1991Feb6.135146.2576@news.larc.nasa.gov> jka@radar0.larc.nasa.gov (J. Keith Alston) writes: |> |> Hello, |> I am running ISC unix 2.2 on a compaq 386/33 with the |> motif(1.0.3) development system. I've written an application |> using the motif widgets, and I want to display 16 |> colors in one window. When I run this application under |> the Motif window manager it only displays about 5 colors, |> when I run under UWM I get all 16 colors. Anyone have |> any idea why this is happening? Is there something I need |> to do in the Mwm app-defaults file? |> Thanks for any help, Try the following resources in your .Xdefaults file. These resource setting will force Mwm to use only black and white. So instead of using the usual 6-8 colors, only two colors would be used. =Mike XLoad*background: White XLoad*foreground: Black XTerm*background: Black XTerm*foreground: White XTerm*cursorColor: Black mwm*armColor: white ! MONOCHROME setup Mwm*cleanText: True Mwm*activeBackground: white Mwm*activeForeground: black Mwm*background: white Mwm*foreground: black Mwm*client*activeBackgroundPixmap: 50_foreground Mwm*client*activeTopShadowPixmap: foreground Mwm*client*activeBottomShadowPixmap: background !Mwm*client*background: white !Mwm*client*foreground: black Mwm*client*backgroundPixmap: 75_foreground Mwm*client*topShadowPixmap: foreground Mwm*client*bottomShadowPixmap: background !Mwm*feedback*background: white !Mwm*feedback*foreground: black Mwm*feedback*backgroundPixmap: 50_foreground !Mwm*feedback*topShadowPixmap: 25_foreground !Mwm*feedback*bottomShadowPixmap: background !Mwm*menu*background: white !Mwm*menu*foreground: black Mwm*menu*backgroundPixmap: foreground !Mwm*menu*topShadowPixmap: foreground !Mwm*menu*bottomShadowPixmap: background !Mwm*icon*background: white !Mwm*icon*foreground: black Mwm*icon*activeBackgroundPixmap: 50_foreground Mwm*icon*activeBottomShadowPixmap: foreground Mwm*icon*backgroundPixmap: 75_foreground -- = Michael K. Yee -- yee@osf.org or uunet!osf.org!yee -- = OSF/Motif Development = "I can't give you brains, but I can give you a diploma." -- The Wizard of OZ