Mikhael Goikhman nawypisowywał(a):
> I know why Grzegorz is so ardent about button rotation. :-)
> He does not like how his buttons are not rotated here:
> 
>   http://www.sniper.kolmio.pl/public/hoppke/screen2.png

:) Oh. Nah, that's an old config. Guess I should update (delete) it...
(Damn, you've found it ;)

This was the first theme I made for myself. Couple of days after
I started using fvwm. Yes, this theme would do nicely even without
rotation. The buttons are quite easily made transparent, but I never got
to it.

I hope I don't get too many flames for sending a small sample - Kliin
decor. It's a small sample, just unpack it somewhere and "Read" the
"kliin/theme" file in a running fvwm. Should setup itself correctly in
most environments. Mouse bindings are simple, it's just an example, not
meant for real use.

Transparent, multipixmaped, all that stuff. And a little bug after
rotation, the small lines on buttons 1 and 2 look, well, ah, see it for
yourself. But let's leave the boring rotation-thingie behind:

More importantly, it can show a cvs-fvwm bug. The maximize button uses
the MwmDecorMax hint. Somehow buttons with MwmDecor (those of the
"Toggled" art, like ToggledActiveUp etc.) don't get the right background
with UseTitleStyle. Instead the "toggled" buttons seem to use the
HilightBack/BackColor settings (although these should get "overruled" by
UseTitleStyle, at least that's the case with "normal" buttons)

Try removing/changing the HilightBack/BackColor lines from the theme,
and then maximising a window. The MwmDecorMax button will get the
'default color' background, it just doesn't respect UseTitleStyle. This
isn't too much of a problem in simple themes (like Kliin), but any
titlebar background different from a Solid color makes using MwmDecor*
buttons difficult. Or am I doing something terribly wrong? I mean, a
"ButtonStyle All -- flat usetitlestyle" should do the trick, but it
does not.

-- 
\hoppke
(Grzegorz Nieweglowski)

Attachment: kliin.tar.gz
Description: application/tar-gz

Reply via email to