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

# Decoration
DestroyDecor recreate Elberg
AddToDecor Elberg

+ ButtonStyle All - Clear

+ ButtonStyle 1 \
	ActiveUp (Pixmap $./a-tx.png) \
	ActiveDown (Pixmap $./p-tx.png) \
	Inactive (Pixmap $./i-tx.png)
Style * Button 1

+ ButtonStyle 2 \
	ActiveUp (Pixmap $./a-tx.png) \
	ActiveDown (Pixmap $./p-tx.png) \
	Inactive (Pixmap $./i-tx.png)
Style * Button 2

Style * NoButton 3

+ ButtonStyle 4 \
	ActiveUp (Pixmap $./a-tm.png) \
	ActiveDown (Pixmap $./p-tm.png) \
	Inactive (Pixmap $./i-tm.png)
Style * Button 4

Style * NoButton 5

+ ButtonStyle 6 \
	ActiveUp (Pixmap $./a-th.png) \
	ActiveDown (Pixmap $./p-th.png) \
	Inactive (Pixmap $./i-th.png)
Style * Button 6

Style * NoButton 7

+ ButtonStyle 8 \
	ActiveUp (Pixmap $./a-ti.png) \
	ActiveDown (Pixmap $./p-ti.png) \
	Inactive (Pixmap $./i-ti.png)
Style * Button 8

Style * NoButton 9

Style * NoButton 0

+ TitleStyle LeftJustified Height 18 -- flat noinset
+ ButtonStyle All -- flat usetitlestyle
+ TitleStyle Active (MultiPixmap Main tiled $./a-t0.png UnderText $./a-t2.png LeftOfText $./a-t1.png RightOfText $./a-t3.png) Inactive (MultiPixmap Main tiled $./i-t0.png UnderText $./i-t2.png LeftOfText $./i-t1.png RightOfText $./i-t3.png) -- 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=12:bold

Style * UseDecor Elberg


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

