Hello All,

A while back I posted a patch to add ReliefDepth option to H/Vdipstick widgets of FvwmScript. Per comments from this list, I modified the patch to include other widgets and use a more consistent name "ReliefThickness"

The patch adds a new FvwmScript option called "ReliefThickness". This option controls the thickness of relief rectangles in most widgets. The new option is transparent, if user doesn't specify ReliefThickness for the script/widget, it will default to 2 (the current thickness of relief in FvwmScript).

The option is defined on both script and widget level. User can specify default ReliefThickess for the script, which would be inherited by all widgets. Alternatively user can specify ReliefThickness for specific widgets.

The only widget which doesn't support the option is Menu. Since menues are integrated together via a menubar, widget specific ReliefThickness would be hard to implement. Perhaps the solution to this would be to add MenuReliefThickness script level option that would specify relief thickness for all menues.

Also, PopupMenu only partially implements the option. The widget uses the ReliefThickness option when rendering a button, but not when rendering the actual menu (as the code for this is shared with Menu widget).

The patch can be found here: http://crion.no-ip.org/fvwmscript-reliefthickness.patch

An example script that prompted me to write the patch is here:
http://crion.no-ip.org/monitor

And the screenshot of the script is here:
http://crion.no-ip.org/mon_script.jpg

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

Reply via email to