FVWM: Re: UseStyle

From: Mark Borges <mdb_at_cdc.noaa.gov>
Date: 01 May 1996 13:47:10 -0600

>> On Wed, 1 May 1996 14:33:20 -0500,
>> Dan Niles(d) wrote:
d> I am trying to set up some generic styles so I can use UseStyle for
d> many windows. It seems to work except for Color.

d> For example:

d> Style "Highlight" Color Black/Red

d> Style "Window" UseStyle Highlight

d> Window will come out with color Black/gray, even though I don't use
d> Black/Gray anywhere. If I change it to:

d> Style "Window" Color Black/Red

d> it works fine. I believe there is a bug (or undocumented feature) in
d> UseStyle.

If it's broke, ditch it. I'm curious -- does UseStyle provide any new
functionality that isn't already provided by FvwmCPP/FvwmM4? Seems like

#define HIGHLIGHT "Color Black/Red"
Style "Window" HIGHLIGHT

would be effectively the same. And it's more powerful, since you can
customize the setting based on the display, e.g.,

/* Window and icon fonts */

#if Y_RESOLUTION >= 3700
#define WINDOWFONT -adobe-times-bold-r-*-*-18-*-*-*-*-*-*-*
#define ICONFONT -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
#else
#define WINDOWFONT -adobe-times-bold-r-*-*-16-*-*-*-*-*-*-*
#define ICONFONT -adobe-helvetica-bold-r-*-*-10-*-*-*-*-*-*-*
#endif

WindowFont WINDOWFONT
IconFont ICONFONT

Comments?

-- 
  -mb-
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Wed May 01 1996 - 14:45:44 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST