Thomas Adam <tho...@fvwm.org> writes:

> * FvwmCpp
>
> This one has to go -- no one that I've seen in the years I've been using
> FVWM actually has a configuration in CPP anymore.  If they do, they've not
> noticed it's been broken since FVWM 2.3.X, and no one has fixed that.

I've been using FvwmCPP for quite a while now.
Maybe there is a better way I'm not aware of.

I have a series of different Fvwm Themes.
I read them like this:

Module FvwmCpp -I$FVWM_USERDIR .DecorCurrent

The pre-processor statements in the decors are usually testing
color depth and sometimes just short cutting:

#define BACK 21/B9/FD
#define FORE 22/59/E9
DestroyDecor recreate DecorVec
AddToDecor DecorVec
#if PLANES < 9
+ TitleStyle Centered ActiveUp (Solid cornflowerblue -- Raised) \\
             Inactive (Solid Navy -- Flat) \\
             ActiveDown (Solid dimgrey -- Sunk)
#else
/*                edge            mid-point           center */ 
+ TitleStyle Centered ActiveUp (\\
  SGradient 128 2 rgb:BACK 20 rgb:33/33/aa 70 rgb:FORE)\\
             Inactive (\\
  SGradient 128 2 rgb:BACK 50 rgb:44/44/aa 50 rgb:33/33/77)\\
             ActiveDown (\\
  SGradient 128 2 rgb:00/77/aa 30 rgb:44/88/aa 70 rgb:88/88/aa)
#endif


Anyway, if it's broken, I'm not aware of it.


-- 
Dan Espen

Reply via email to