Hi list!

I'm wondering if there's a way to make the relief around pressed 
title button to be 1 pixel wide (now it's 2 pixels).

I've made simple vector buttons and I'd like to have some
visual feedback when button is pressed.  Here is how I do this:

<my-rc-file>

DestroyDecor DefaultDecor
AddToDecor   DefaultDecor
+ TitleStyle            RightJustified -- Flat
+ AddButtonStyle 1      AllUp    Vector 5 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL 
PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
+ AddButtonStyle 6      AllUp    Vector 5 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL 
PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
+ AddButtonStyle 4      AllUp    Vector 5 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL 
PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
+ AddButtonStyle 2      AllUp    Vector 4 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL 
PROTECTED] [EMAIL PROTECTED]
+ AddButtonStyle 1      AllDown  Vector 5 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL 
PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
+ AddButtonStyle 6      AllDown  Vector 5 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL 
PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
+ AddButtonStyle 4      AllDown  Vector 5 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL 
PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED]
+ AddButtonStyle 2      AllDown  Vector 4 [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL 
PROTECTED] [EMAIL PROTECTED]
+ ButtonStyle 1         - MwmDecorMenu
+ ButtonStyle 6         - MwmDecorMin
+ ButtonStyle 4         - MwmDecorMax
+ ButtonStyle           All -- Flat
+ ButtonStyle           All ActiveDown -- Raised
+ ButtonStyle           All InactiveDown -- Raised

</my-rc-file>

The two last lines do the job.  Everything works just fine 
except the relief (3D border) of pressed button is 2 pixels 
wide.

I've searched the man pages but did not find any solution (though 
I probably searched it badly?).

And another thing.  The title button stays in pressed state even
if mouse is not over it.  And corrresponding action happens when
one releases mouse button anywhere on the screen.  Is there a way
to (a) make title button to be in pressed state if mouse is over it
only, and (b) invoke button-related action if mouse is released
over button?

Thank you,

Yuri

-- 
Yuri Arapov <[EMAIL PROTECTED]>
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to