#define StaticGray              0
#define GrayScale               1
#define StaticColor             2
#define PseudoColor             3
#define TrueColor               4
#define DirectColor             5

! StaticGray and StaticColor
#if (CLASS == 0 || CLASS == 2)
xlogin*panelFile1:      /usr/lib/X11/sx/sxdm/panel1.xwd
xlogin*panelFile4:      /usr/lib/X11/sx/sxdm/panel1.xwd
xlogin*panelFile8:      /usr/lib/X11/sx/sxdm/panel1.xwd
#define MONO
#endif

! GrayScale
#if (CLASS == 1)
#if (PLANES == 4)
xlogin*panelFile4:      /usr/lib/X11/sx/sxdm/panel4g.xwd
#else
xlogin*panelFile4:      /usr/lib/X11/sx/sxdm/panel1.xwd
xlogin*panelFile8:      /usr/lib/X11/sx/sxdm/panel1.xwd
#define MONO
#endif
#endif

! PseudoColor
#if (CLASS == 3)
xlogin*panelFile4:	/usr/lib/X11/sx/sxdm/panel4.xwd
xlogin*panelFile8:	/usr/lib/X11/sx/sxdm/panel8.xwd
#endif

! TrueColor
#if (CLASS == 4)
xlogin*panelFile8:	/usr/lib/X11/sx/sxdm/direct16.xwd
#endif

! DirectColor
#if (CLASS == 5)
xlogin*panelFile8:	/usr/lib/X11/sx/sxdm/panel4.xwd
#endif

#undef sony
xlogin*soundCommand:	/usr/sony/bin/sbplay
#define sony 1
xlogin*soundLevel:	-20
xlogin*failSound:	/usr/lib/X11/sx/sxdm/fail.snd
xlogin*successSound:	/usr/lib/X11/sx/sxdm/success.snd
xlogin*successSubSound:	/usr/lib/X11/sx/sxdm/shutdown.snd

xlogin*login.translations: #override\
	<Key>Up: move-field()\n\
	<Key>Down: move-field()\n\
	<Key>Right: move-forward-character()\n\
	<Key>Left: move-backward-character()\n\
	<Key>F1: set-session-argument(failsafe) finish-field()\n\
	<Key>Return: set-session-argument() finish-field()

xlogin.borderWidth: 0
xlogin*namePrompt:Login
xlogin*passwdPrompt:Password
xlogin*promptFont:-adobe-helvetica-medium-r-normal--*-100-*-*-p-*-iso8859-1
xlogin*greetFont:-adobe-helvetica-medium-r-normal--*-100-*-*-p-*-iso8859-1
xlogin*font:-adobe-helvetica-bold-r-normal--*-180-*-*-p-*-iso8859-1
#ifdef MONO
xlogin*login*Foreground: black
xlogin*login*Background: white
xlogin*login.greetColor: white
xlogin*greetX:174
xlogin*greetY:40
xlogin*loginX:85
xlogin*loginY:119
xlogin*passwdY:168
xlogin*loginFX:181
xlogin*loginFY:124
xlogin*passwdFY:172
#else
xlogin*login*Background: white
xlogin*greetX:165
xlogin*greetY:82
xlogin*loginX:84
xlogin*loginY:121
xlogin*passwdX:85
xlogin*passwdY:169
xlogin*loginFX:181
xlogin*loginFY:124
xlogin*passwdFY:172
#ifdef COLOR
xlogin*login*Foreground: #777
#else
xlogin*login*Foreground: black
#endif
#endif


#if (PLANES < 5)
xlogin*indicator*selectedBack:			white
#else
xlogin*indicator*selectedBack:			yellow
#endif

#if (CLASS == 3)
xlogin*indicator*button.background:		#999999
xlogin*highlightFore:				#000000
xlogin*SButton.bottomShadow:			#333333
xlogin*SText.topShadow:				#333333
xlogin*SScroll.topShadow:			#333333
xlogin*SScroll.SButton.bottomShadow:		#333333
xlogin*SScroll.scrollThumbShade.background:	#444444
xlogin*SArrowBtn.highlightFore:			#444444
xlogin*highlightBack:				#888888
xlogin*SArrowBtn.background:			#cccccc
xlogin*screen.background:			#cccccc
xlogin*SBitmap.background:			#cccccc
xlogin*SScrollText.background:			#cccccc
xlogin*SScroll.background:			#cccccc
xlogin*SScroll.scrollBar.background:		#cccccc
xlogin*SText.background:			#dddddd
xlogin*SButton.background:			#dddddd
xlogin*SArrowBtn.foreground:			#dddddd
xlogin*SScroll.scrollThumb.background:		#dddddd
#else
xlogin*indicator*button.background:		#9e9e9e
xlogin*highlightFore:				#000000
xlogin*SButton.bottomShadow:			#343434
xlogin*SText.topShadow:				#343434
xlogin*SScroll.topShadow:			#343434
xlogin*SScroll.SButton.bottomShadow:		#343434
xlogin*highlightBack:				gray56
xlogin*SScroll.scrollThumbShade.background:	#434343
xlogin*SArrowBtn.highlightFore:			#434343
xlogin*SArrowBtn.background:			#cacaca
xlogin*screen.background:			#cacaca
xlogin*SBitmap.background:			#cacaca
xlogin*SScrollText.background:			#cacaca
xlogin*SScroll.background:			#cacaca
xlogin*SScroll.scrollBar.background:		#cacaca
xlogin*SText.background:			#dadada
xlogin*SButton.background:			#dadada
xlogin*SScroll.scrollThumb.background:		#dadada
xlogin*SArrowBtn.foreground:			#dadada
#endif

xlogin*consoleOutput:   show_you
!xlogin*consoleOutput:  crash_in_hands
!xlogin*consoleOutput:  no_concern
xlogin*consolePopup:    manually
!xlogin*consolePopup:   at_the_beginning
!xlogin*consolePopup:   triggered_by_input
xlogin*shutdownPopup:   on
