# Fear decor
# Written by: Grzegorz "\hoppke" Niewgowski
# Crystalized by: Maciej Delmanowski <harnir@linux.net.pl>

# Decoration
DestroyDecor recreate Fear
AddToDecor Fear

+ ButtonStyle All - Clear

+ ButtonStyle 1 \
	ActiveUp (Pixmap $./close.png) \
	ActiveDown (Pixmap $./close2.png) \
	Inactive (Pixmap $./button.png)
Style * Button 1

+ ButtonStyle 2 \
	ActiveUp (Pixmap $./close.png) \
	ActiveDown (Pixmap $./close2.png) \
	Inactive (Pixmap $./button.png)
Style * Button 2

Style * NoButton 3

+ ButtonStyle 4 \
	ActiveUp (Pixmap $./max.png) \
	ActiveDown (Pixmap $./max2.png) \
	Inactive (Pixmap $./button.png)
Style * Button 4

Style * NoButton 5

+ ButtonStyle 6 \
	ActiveUp (Pixmap $./options.png) \
	ActiveDown (Pixmap $./options2.png) \
	Inactive (Pixmap $./button.png)
Style * Button 6

Style * NoButton 7

+ ButtonStyle 8 \
	ActiveUp (Pixmap $./arrows.png) \
	ActiveDown (Pixmap $./arrows2.png) \
	Inactive (Pixmap $./button.png)
Style * Button 8

Style * NoButton 9

Style * NoButton 0

+ TitleStyle LeftJustified Height 17 -- flat noinset
+ ButtonStyle All -- flat usetitlestyle
+ TitleStyle AllActive (Colorset $[cs-window-active]) AllInactive (Colorset $[cs-window-inactive]) -- flat

Style * HilightBorderColorset $[cs-window-activeborder], \
	BorderColorset $[cs-window-inactiveborder], \
	HilightColorset $[cs-window-active], \
	Colorset $[cs-window-inactive], \
	BorderWidth 3, !Handles, HandleWidth 3

Style * Font shadow="2 1":xft:Arial:pixelsize=11:bold

Style * UseDecor Fear


# Mouse bindings
Read $./fvwm-crystal-button-setup

