#=========
# Mwm
#=========

TraceForErrors(`Including Mwm interface...')
# HILIGHTFORE_COLOR, HILIGHTBACK_COLOR are the title bar colors for the window
# with the focus
define(`HILIGHTFORE_COLOR', `white')
define(`HILIGHTBACK_COLOR', `cyan4')

# 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
TitleStyle	ActiveUp (Solid HILIGHTBACK_COLOR -- Raised) \
 	ActiveDown (Solid HILIGHTBACK_COLOR -- flat) \
 	Inactive (Solid WINBACK_COLOR -- Raised)
ButtonStyle	Reset
ButtonStyle	All -- UseTitleStyle
ButtonStyle 2	Vector 5  25x25@1 25x75@1 75x75@0 75x25@0 25x25@1
ButtonStyle 4	Vector 5  45x45@1 55x45@1 55x55@0 45x55@0 45x45@1
WindowFont	BASIC_FONT-bold-r-*-120-*
HilightColor	HILIGHTFORE_COLOR HILIGHTBACK_COLOR
MenuStyle	MENUFORE_COLOR MENUBACK_COLOR MENUSHADE_COLOR -adobe-helvetica-medium-r-*-120-* mwm

Style "*"	ForeColor WINFORE_COLOR, SloppyFocus
Style "*"	Button 1, Button 2, Button 4, MWMButtons, MWMFunctions, MWMDecor
Style "*"	SmartPlacement, ifdef(`INTERACTIVE_PLACEMENT', `ActivePlacement', `RandomPlacement')
Style "*"	Icon xterm.xpm, Iconbox 0 -50 -0 -0
Style "*"	DecorateTransient

# set up the mouse...
readFile(`fvwm2rc.mouse')
Mouse 0	1 N	Menu Window-Ops Close
Mouse 0	2 N	Maximize
Mouse 0	4 N	Iconify
Mouse 3	4 N	Replace

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

AddToFunc "SetupFunction"
+ "I" Module FvwmButtons
