# fvwm2 eccet extensions.

#
# Make sure we find the eccet icons
#
ImagePath /cv//share/eccet/images:+

#
# Make sure the buttons pop up
# Turn background black after 10 seconds.
#
AddToFunc RestartFunction
 +      "I"     Module FvwmButtons EccetButtons
 +      "I"     Exec xsetroot; sleep 10; xsetroot -solid black

AddToFunc InitFunction
 +      "I"     Module FvwmButtons EccetButtons
 +      "I"     Exec xsetroot; sleep 10; xsetroot -solid black

#
# Setup a default desktop size - no virtual screens
#
DeskTopSize 1x1
EdgeResistance 0 10
EdgeScroll 100 100 

#
# Describe the available buttons
#
*EccetButtonsFont		6x13
*EccetButtonsFore		#ffffff
*EccetButtonsBack		#222244
*EccetButtonsGeometry	432x85+0-0
*EccetButtonsRows		1
*EccetButtons PlaneView planeview.xpm Exec planeview
*EccetButtons ColoTux colotux.xpm Exec colotux
*EccetButtons Voxren voxren.xpm Exec voxren
*EccetButtons FileMngr eccet.xpm Exec eccet_mc
*EccetButtons (Title PACS/Offis, Swallow GGI-on-X 'Exec eccet_control_offis_storagescp')
*EccetButtons Exit quit.xpm Quit

#
# Set up a Menu that pops up at Shift-Ctrl-F1
#
AddToMenu Eccet_menu "Eccet Menu"   Title
 + "PlaneView"	Exec planeview
 + "ColoTux"	Exec colotux
 + "Voxren"	Exec voxren
 + "EccetCmdr"	Exec eccet_mc
 + "Exit"	Quit

Key	F1	A	SC	Menu	Eccet_menu

#
# Set the look and feel to eccet defaults
#

DefaultColors	Black   #888888		Black DarkGrey
HilightColor	white #222244

BorderStyle Inactive -- HiddenHandles NoInset
Style	"*"	BackColor black
Style	"*"	HandleWidth 2
Style	"*"	ForeColor #666666
Style	"*"	SloppyFocus
Style	"*"	DecorateTransient
Style	"*"	IconBox +55 +85 +130 +480
Style	"*"	StickyIcon
Style	"*"	SmartPlacement, RandomPlacement
Style	"*"	TitleStyle -- flat
#Style	"*"	NoPPosition

AddToDecor colotux
  + ButtonStyle All   + ButtonStyle All ActiveUp (-- Flat) Inactive (-- Flat)
  + ButtonStyle All ActiveUp (-- Flat) Inactive (-- Flat)
  + TitleStyle -- flat
  + BorderStyle -- HiddenHandles NoInset
  + HilightColor white #222244
  + Color #666666 black
  + BackColor #000000
  + HandleWidth 1

Style "GGI*" UseDecor colotux,HandleWidth 1,BackColor #333333,HilightColor white #222244
Style "ColoTux*" UseDecor colotux,HandleWidth 1,BackColor #333333,HilightColor white #222244

#Style	"GGI*"		HandleWidth 1,BackColor #000000,HilightColor #123456 #123456
#Style	"XY_Big"	HandleWidth 1,BackColor #000000
#Style	"Main"		HandleWidth 1,BackColor #000000
#Style	"Main"		HandleWidth 1,BackColor #000000

