# 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
# Buttons are 72 wide by default
*EccetButtonsGeometry	720x85+0-0
*EccetButtonsRows		1
*EccetButtons AngioTux angiotux.xpm Exec angiotux
*EccetButtons AngioTux2D angiotux2d.xpm Exec voxren --personality angiotux2d
*EccetButtons ColoTux colotux.xpm Exec colotux
*EccetButtons NeuroTux neurotux.xpm Exec neurotux
*EccetButtons PlaneView planeview.xpm Exec planeview
*EccetButtons Voxren voxren.xpm Exec voxren
*EccetButtons FileMngr eccet.xpm Exec eccet_mc
*EccetButtons LoadCD load_dicom_cd.xpm Exec eccet_load_dicom_cd
*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
+	"AngioTux%angiotux2.xpm%"	Exec angiotux
+	"AngioTux2D%angiotux2d2.xpm%"	Exec voxren --personality angiotux2d
+	"ColoTux%colotux2.xpm%"	Exec colotux
+	"NeuroTux%neurotux2.xpm%"	Exec neurotux
+	"PlaneView%planeview2.xpm%"	Exec planeview
+	"Voxren%voxren2.xpm%"	Exec voxren
+	""	Nop
+	"FileMngr%eccet2.xpm%"	Exec eccet_mc
+	"LoadCD%load_dicom_cd2.xpm%"	Exec eccet_load_dicom_cd
+	"PACS/Offis%storagescp_recv2.xpm%"	Exec eccet_control_offis_storagescp
+	""	Nop
+	"Xterm"	Exec xterm
+	"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
  + HilightFore white 
  + HilightBack #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

