##########################################################################
# Afterstep Look and Feel
#========================================================================#

TraceForErrors(`Including Afterstep interface...')

# HILIGHTFORE_COLOR, HILIGHTBACK_COLOR are the title bar colors for the window
# with the focus
define(`HILIGHTFORE_COLOR', `white')
define(`HILIGHTBACK_COLOR', `navyblue')

# WINFORE_COLOR, WINBACK_COLOR are the title bar colors for the window w/o the focus
define(`WINFORE_COLOR', `black')
define(`WINBACK_COLOR', `grey51')

# MENUFORE_COLOR, MENUBACK_COLOR MENUHI_COLOR are the colors for menus
define(`MENUFORE_COLOR', `black')
define(`MENUBACK_COLOR', `grey76')
define(`MENUHI_COLOR', `white')

# MENUSHADE_COLOR is the color for greyed out menu items
define(`MENUSHADE_COLOR', `grey35')

# BG_COLOR is the color that the background will initially get set to
# Edit .fvwm2rc.init to change what commands get run at startup
define(`BG_COLOR', `grey51')

TitleStyle      Centered \
 	ActiveUp (VGradient 32 2 blue4 50 \#000040 50 blue4 -- flat) \
 	ActiveDown (VGradient 32 2 blue4 50 \#000040 50 blue4 -- flat) \
 	Inactive (VGradient 32 2 gray80 50 gray50 50 gray80 -- flat)
BorderStyle	Active -- HiddenHandles NoInset
BorderStyle	Inactive -- HiddenHandles NoInset
WindowFont	BASIC_FONT-bold-r-*-140-*
HilightColor	HILIGHTFORE_COLOR HILIGHTBACK_COLOR
ButtonStyle 1	Pixmap win95-minimize-full.xpm -- UseTitleStyle flat
ButtonStyle 2	Pixmap win95-close-full.xpm -- UseTitleStyle flat
ButtonStyle 2	ActiveDown (Pixmap win95-minimize-full.xpm -- UseTitleStyle flat)

Style "*"	UseDecor Afterstep, ForeColor Black
Style "*"	Button 1, Button 2, Icon xterm.xpm, Iconbox 0 -50 -0 -0
Style "*"	ActivePlacement, SmartPlacement, ifdef(`FOCUS_FOLLOWS_POINTER', `SloppyFocus', `ClickToFocus')
Style "*"	FvwmButtons, FvwmBorder, NoDecorHint, NoFuncHint
Style "*"       Handles, HandleWidth BORDER_WIDTH, BorderWidth 1
MenuStyle	Black grey75 grey40 BASIC_FONT-FONT_STYLE-*-120-* mwm
WindowShadeAnimate 10

# read in the Mouse settings and customize them
readFile(`fvwm2rc.mouse')
Mouse 0         1       A       Iconify
Mouse 0         2       A       Close
Mouse 1         FS      A       Function "Resize-or-Raise"
Mouse 1         I       A       Function "Move-or-Iconify"
Mouse 1         T       A       Function "Shade-or-Raise"
Mouse 2         FST     A       Menu Window-Ops Close
Mouse 3         TSIF    A       Function "Maximize_Function"
Mouse 3         W       M       RaiseLower

define(`BOTTOM_EDGE', `1')
define(`USE_ICONS')

EdgeResistance 10000 0

AddToFunc	"SetupFunction"
+ "I" 	Module FvwmWharf
# + "I" 	Module FvwmButtons

