##########################################################################
# Fvwm95 Look and Feel
#========================================================================#

TraceForErrors(`Including Fvwm95 interface...')

# Uncomment the following if you don' want the CLOSE (X) button
#define(`NO_CLOSE_BUTTON')

# 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', `cyan4')

# First, make sure we start with a clean base
TitleStyle	LeftJustified ActiveUp (Solid HILIGHTBACK_COLOR -- flat) \
	ActiveDown (Solid HILIGHTBACK_COLOR -- flat) \
	Inactive (Solid WINBACK_COLOR -- flat)
ButtonStyle 1	`MiniIcon' -- UseTitleStyle flat
ifdef(`NO_CLOSE_BUTTON', `
ButtonStyle 2	Pixmap win95-maximize-full.xpm -- UseTitleStyle flat
ButtonStyle 4	Pixmap win95-minimize-full.xpm -- UseTitleStyle flat
',`
ButtonStyle 2	Pixmap win95-close-full.xpm -- UseTitleStyle flat
ButtonStyle 4	Pixmap win95-maximize-full.xpm -- UseTitleStyle flat
ButtonStyle 6	Pixmap win95-minimize-full.xpm -- UseTitleStyle flat
')
BorderStyle	Active -- HiddenHandles NoInset
BorderStyle	Inactive -- HiddenHandles NoInset
WindowFont	BASIC_FONT-bold-r-*-120-*
HilightColor	HILIGHTFORE_COLOR WINBACK_COLOR
MenuStyle	Black grey75 grey40 BASIC_FONT-FONT_STYLE-*-120-* mwm

Style "*"	ForeColor WINFORE_COLOR, BackColor WINBACK_COLOR
Style "*"	Button 1, Button 2, Button 4, ifdef(`NO_CLOSE_BUTTON', `', `Button 6')
Style "*"	FvwmButtons, FvwmBorder, NoDecorHint, NoFuncHint
Style "*"	SmartPlacement, ifdef(`INTERACTIVE_PLACEMENT', `ActivePlacement', `RandomPlacement')
Style "*" 	Handles, HandleWidth BORDER_WIDTH, BorderWidth 10, StickyIcon
Style "*"	MiniIcon shadowman-mini.xpm
Style "*"	ifdef(`FOCUS_FOLLOWS_POINTER', `SloppyFocus', `ClickToFocus')
Style "*"	NoIcon, DecorateTransient

# read in the Mouse settings and customize them
readFile(`fvwm2rc.mouse')
Mouse 0	1 N	Menu Window-Ops Close

ifdef(`NO_CLOSE_BUTTON', `
Mouse 0	2 N	Maximize
Mouse 0	4 N	Iconify
Mouse 3	4 N	Replace
', `
Mouse 0	2 N	Close
Mouse 0	4 N	Maximize
Mouse 0	6 N	Iconify
Mouse 3	6 N	Replace
')

define(`MINI_ICONS')
define(`NO_ICONS')
define(`BOTTOM_EDGE',30)

AddToFunc "SetupFunction"
+ "I" Module FvwmTaskBar
+ "I" Module FvwmButtons
