Re: FVWM: How do I put decorative lines in titlebar?

From: Adam Kopacz <Adam.Kopacz_at_rhein-neckar.netsurf.de>
Date: Sun, 05 Oct 1997 12:56:31 +0200

Manfred Bartz wrote:
hi,

> I have seen a fvwm2 titlebar design somewhere that uses a vertical
> gradient and in addition 3 or four evenly spaced lines overlayed on
> that. It gives a sort of ``knurled'' look.

:)

joe /usr/src/fvwm-2.00.xx/fvwm/borders.c

search for: STICKY =>

  /* now, draw lines in title bar if it's a sticky window */
-> /*if(t->flags & STICKY)*/
  if(1)

comment this out like i here (/*) any all windows will have
'sticky-style'.

> I think I understand the vector drawing facility, but titlebars can
> vary dynamically in length, so fixed coordinates won't work.

they aren't fixed..

sticky looks great with:

TitleStyle LeftJustified ActiveUp (HGradient 2048 2 LightBlue 45 Red 55
Green -- flat)

or:

TitleStyle ActiveUp (HGradient 2048 2 gray76 45 #f4be9ef9ffff 55 gray76
-- flat)
TitleStyle ActiveUp (HGradient 2048 2 gray76 45 #00006F 55 gray76 --
flat)

+ TitleStyle Height 16

ps: when you don't want to patch then use a Pixmap in the TitleBar:

HilightColor white grey67
TitleStyle centered
TitleStyle ActiveUp TiledPixmap active2.xpm -- flat
TitleStyle InActive TiledPixmap inactive.xpm -- flat
TitleStyle ActiveDown TiledPixmap active2.xpm -- flat
BorderStyle -- HiddenHandles NoInset
Style "*" MWMFunctions, MWMDecor, MWMBorder, MWMButtons

-- 
Bye,                             Linux/Babes
  Adam Kopacz (kLospatz)    http://www.rat.de/Adam
--
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 Sun Oct 05 1997 - 07:17:34 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST