!
!	cx.ad
!
!			    Copyright (C) 1995  Metro Link Incorporated
!							All Rights Reserved.
!
!	main resource file for configX
!
!	Chris Bare
!
!	Fri Sep  1 10:29:48 EDT 1995
!

! Global Resources
*enableButtonTab: True
*wcCallback: EnterKeyFixupCB
*background:	lightgrey
*foreground:	black
*topShadowColor:	white
*bottomShadowColor:	black
!*selectColor:	black
*XmToggleButton*selectColor:	green
*highlightColor:	maroon
*armColor: grey
*troughColor:	grey
*dragInitiatorProtocolStyle:	DRAG_NONE
*dragReceiverProtocolStyle:	DRAG_NONE

! root of widget tree
ConfigX.wcChildren:		mainWin
ConfigX.borderWidth:		5
ConfigX.wcPopups:		fp msg save_changes lo	intro
ConfigX.title:			Metro-X Configuration Utility
ConfigX.iconName:		ConfigX

!   main window
*mainWin.wcCreate:			XmMainWindow
*mainWin.wcChildren:		menuBar mainTab
*mainWin.scrollingPolicy:	APPLICATION_DEFINED

*mainTab.wcCreate:			XmpTable
*mainTab.marginWidth:		2
*mainTab.marginHeight:		2
*mainTab.wcChildren:		mouseTypeLab mouseTypeCom mouseButtonCom \
							mouseDevLab mouseDevTxt \
							keyboardTab notebookNB statusLab
*mainTab.layout:\
			mouseTypeLab	0	0	1	1	Hh	;\
			mouseTypeCom	1	0	1	1	Hh	;\
			mouseButtonCom	2	0	1	1	Hh	;\
			mouseDevLab		3	0	1	1	Hh	;\
			mouseDevTxt		4	0	1	1	Hh	;\
			keyboardTab		0	1	5	1	hH	;\
			statusLab		0	2	5	1	Hh	;\
			notebookNB		0	3	5	1	Hh

*statusLab.wcCreate:		XmLabel
*statusLab.labelString:		Monitor Configuration for Screen 0
*statusLab.fontList:		-*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*

*keyboardTab.wcCreate:			XmpTable
*keyboardTab.marginWidth:		0
*keyboardTab.marginHeight:		0
*keyboardTab.wcChildren:		keyboardLab flagLab keyboardCom
*keyboardTab.layout:\
			keyboardLab		0	0	1	1	HhWw	;\
			flagLab			1	0	1	1	HhWw	;\
			keyboardCom		2	0	1	1	Hh	

*keyboardLab.wcCreate:		XmLabel
*keyboardLab.labelString:	Keyboard:
*keyboardLab.labelType:		PIXMAP
*keyboardLab.labelPixmap:	keyboard

*flagLab.wcCreate:		XmLabel
*flagLab.labelString:	Keyboard:
*flagLab.labelType:		PIXMAP
*flagLab.labelPixmap:	flag_usa

*keyboardCom.wcCreate:		XmComboBox
*keyboardCom.comboBoxType:	DROP_DOWN_LIST
*keyboardCom.matchBehavior:	QUICK_NAVIGATE
!*keyboardCom*List.items:	USA, german, french 
!*keyboardCom*List.itemCount:	3
*keyboardCom*List.visibleItemCount:	20
!*keyboardCom.renderTable:
!*keyboardCom.renderTable.fontName: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*
!*keyboardCom.renderTable.fontType: font_is_fontset
!*keyboardCom.renderTable.renditionForeground:	brown
!*keyboardCom.renderTable.underlineType:	DOUBLE_LINE
!*keyboardCom.renderTable.tabList:	3in
*keyboardCom.selectionCallback:			KeyboardSelectedCB

*mouseTypeLab.wcCreate:		XmLabel
*mouseTypeLab.labelString:	Mouse:
*mouseTypeLab.labelType:	PIXMAP
*mouseTypeLab.labelPixmap:	mouse_c7

*mouseTypeCom.wcCreate:	XmComboBox
*mouseTypeCom.comboBoxType:	DROP_DOWN_LIST
*mouseTypeCom.matchBehavior:	QUICK_NAVIGATE
*mouseTypeCom*List.visibleItemCount:	22
*mouseTypeCom.selectionCallback:			MouseSelectedCB

*mouseButtonCom.wcCreate:	XmComboBox
!*mouseButtonCom.width:	110
!*mouseButtonCom.width:	48
*mouseButtonCom*Text.columns:	12
*mouseButtonCom.comboBoxType:	DROP_DOWN_LIST
*mouseButtonCom.matchBehavior:	QUICK_NAVIGATE
*mouseButtonCom*List.items:	1 Button, 2 Buttons, 3 Buttons, 2 Emulate 3
*mouseButtonCom*List.itemCount:	4
*mouseButtonCom*List.visibleItemCount:	4

*mouseDevLab.wcCreate:		XmLabel
*mouseDevLab.labelString:	Device:

*mouseDevTxt.wcCreate:		XmText
*mouseDevTxt.background:	lightblue
*mouseDevTxt.modifyVerifyCallback:	PathVerifyCB

*notebookNB.wcCreate:		XmNotebook
!*notebookNB.wcChildren:		scroller monitorTab graphicsTab xvTab \
*notebookNB.wcChildren:		scroller monitorTab graphicsTab \
							monitor0PB graphics0PB xv0PB \
							monitor1PB graphics1PB xv1PB \
							monitor2PB graphics2PB xv2PB \
							monitor3PB graphics3PB xv3PB

*notebookNB.orientation:		Vertical
*notebookNB.backPageBackground:	grey
*notebookNB.backPageForeground:	black
*notebookNB.frameBackground:	lightgrey
*notebookNB.backPagePlacement:	TOP_RIGHT
*notebookNB.backPageNumber:		0
*notebookNB.backPageSize:		15
*notebookNB.bindingType:		NONE
*notebookNB.marginHeight:		0
*notebookNB.marginWidth:		0
*notebookNB.bindingWidth:		0

! you have to create your own and unmanage it if you don't want the default one
*scroller.wcCreate:				XmLabel
*scroller.wcManaged:			False
*scroller.notebookChildType:	PAGE_SCROLLER

*monitor0PB.wcCreate:			XmPushButton
*monitor0PB.labelString:		Monitor
*monitor0PB.labelType:			PIXMAP
*monitor0PB.labelPixmap:		monitor
*monitor0PB.pageNumber:			1
*monitor0PB.traversalOn:		False
*monitor0PB.activateCallback:	ActivateMonitorPageCB

*graphics0PB.wcCreate:			XmPushButton
*graphics0PB.labelString:		Graphics
*graphics0PB.labelType:			PIXMAP
*graphics0PB.labelPixmap:		card
*graphics0PB.pageNumber:		2
*graphics0PB.traversalOn:		False
*graphics0PB.activateCallback:	ActivateGraphicsPageCB

*xv0PB.wcCreate:				XmPushButton
*xv0PB.labelString:				Graphics
*xv0PB.labelType:				PIXMAP
*xv0PB.labelPixmap:				video
*xv0PB.pageNumber:				3
*xv0PB.WcManaged:				False
*xv0PB.traversalOn:				False
*xv0PB.activateCallback:		ActivateXvPageCB

*monitor1PB.wcCreate:			XmPushButton
*monitor1PB.labelString:		Monitor
*monitor1PB.labelType:			PIXMAP
*monitor1PB.labelPixmap:		monitor_bw
*monitor1PB.pageNumber:			4
*monitor1PB.traversalOn:		False
*monitor1PB.activateCallback:	ActivateMonitorPageCB
*monitor1PB.WcManaged:			False

*graphics1PB.wcCreate:			XmPushButton
*graphics1PB.labelString:		Graphics
*graphics1PB.labelType:			PIXMAP
*graphics1PB.labelPixmap:		card_bw
*graphics1PB.pageNumber:		5
*graphics1PB.traversalOn:		False
*graphics1PB.activateCallback:	ActivateGraphicsPageCB
*graphics1PB.WcManaged:			False

*xv1PB.wcCreate:				XmPushButton
*xv1PB.labelString:				Graphics
*xv1PB.labelType:				PIXMAP
*xv1PB.labelPixmap:				video_bw
*xv1PB.pageNumber:				6
*xv1PB.WcManaged:				False
*xv1PB.traversalOn:				False
*xv1PB.activateCallback:		ActivateXvPageCB

*monitor2PB.wcCreate:			XmPushButton
*monitor2PB.labelString:		Monitor
*monitor2PB.labelType:			PIXMAP
*monitor2PB.labelPixmap:		monitor_bw
*monitor2PB.pageNumber:			7
*monitor2PB.traversalOn:		False
*monitor2PB.activateCallback:	ActivateMonitorPageCB
*monitor2PB.WcManaged:			False

*graphics2PB.wcCreate:			XmPushButton
*graphics2PB.labelString:		Graphics
*graphics2PB.labelType:			PIXMAP
*graphics2PB.labelPixmap:		card_bw
*graphics2PB.pageNumber:		8
*graphics2PB.traversalOn:		False
*graphics2PB.activateCallback:	ActivateGraphicsPageCB
*graphics2PB.WcManaged:			False

*xv2PB.wcCreate:				XmPushButton
*xv2PB.labelString:				Graphics
*xv2PB.labelType:				PIXMAP
*xv2PB.labelPixmap:				video_bw
*xv2PB.pageNumber:				9
*xv2PB.WcManaged:				False
*xv2PB.traversalOn:				False
*xv2PB.activateCallback:		ActivateXvPageCB

*monitor3PB.wcCreate:			XmPushButton
*monitor3PB.labelString:		Monitor
*monitor3PB.labelType:			PIXMAP
*monitor3PB.labelPixmap:		monitor_bw
*monitor3PB.pageNumber:			10
*monitor3PB.traversalOn:		False
*monitor3PB.activateCallback:	ActivateMonitorPageCB
*monitor3PB.WcManaged:			False

*graphics3PB.wcCreate:			XmPushButton
*graphics3PB.labelString:		Graphics
*graphics3PB.labelType:			PIXMAP
*graphics3PB.labelPixmap:		card_bw
*graphics3PB.pageNumber:		11
*graphics3PB.traversalOn:		False
*graphics3PB.activateCallback:	ActivateGraphicsPageCB
*graphics3PB.WcManaged:			False

*xv3PB.wcCreate:				XmPushButton
*xv3PB.labelString:				Graphics
*xv3PB.labelType:				PIXMAP
*xv3PB.labelPixmap:				video_bw
*xv3PB.pageNumber:				12
*xv3PB.WcManaged:				False
*xv3PB.traversalOn:				False
*xv3PB.activateCallback:		ActivateXvPageCB
!
!	graphics.ad
!
!			    Copyright (C) 1995  Metro Link Incorporated
!							All Rights Reserved.
!
!	resources for the graphics page of the configX notepad
!
!	Chris Bare
!
!	Thu Sep 21 13:31:22 EDT 1995
!

*graphicsTab.wcCreate:	XmpTable
*graphicsTab.marginWidth:		0
*graphicsTab.marginHeight:		0
*graphicsTab.pageNumber:	2
*graphicsTab.wcChildren:	graphicsCom colorFrm vresFrm presFrm

*graphicsTab.layout:\
			graphicsCom			0	0	3	1	Hh	;\
			colorFrm			0	1	1	1	wW	;\
			vresFrm				1	1	1	1	wW	;\
			presFrm				2	1	1	1	wW	

*graphicsCom.wcCreate:					XmComboBox
*graphicsCom.comboBoxType:				DROP_DOWN_LIST
*graphicsCom.matchBehavior:				QUICK_NAVIGATE
*graphicsCom*List.defaultActionCallback:			GraphicsSelectedCB
*graphicsCom*List.visibleItemCount:		13

*colorFrm.wcCreate:		XmFrame
*colorFrm.wcChildren:	colorLab colorRC

*colorLab.wcCreate:			XmLabel
*colorLab.labelString:		Colors
*colorLab.frameChildType:	FRAME_TITLE_CHILD

*colorRC.wcCreate:			XmRowColumn
*colorRC.wcChildren:		color16Tog color256Tog color32KTog \
							color65KTog color16MTog

*color16Tog*wcCreate:		XmToggleButton
*color16Tog*indicatorType:	ONE_OF_MANY_ROUND
*color16Tog*labelString:	16
*color16Tog*set:			True
*color16Tog*valueChangedCallback:			ValidateColorsCB

*color256Tog*wcCreate:		XmToggleButton
*color256Tog*indicatorType:	ONE_OF_MANY_ROUND
*color256Tog*labelString:	256
*color256Tog*valueChangedCallback:			ValidateColorsCB

*color32KTog*wcCreate:		XmToggleButton
*color32KTog*indicatorType:	ONE_OF_MANY_ROUND
*color32KTog*labelString:	32K
*color32KTog*valueChangedCallback:			ValidateColorsCB

*color65KTog*wcCreate:		XmToggleButton
*color65KTog*indicatorType:	ONE_OF_MANY_ROUND
*color65KTog*labelString:	65K
*color65KTog*valueChangedCallback:			ValidateColorsCB

*color16MTog*wcCreate:		XmToggleButton
*color16MTog*indicatorType:	ONE_OF_MANY_ROUND
*color16MTog*labelString:	16M
*color16MTog*valueChangedCallback:			ValidateColorsCB

*vresFrm.wcCreate:		XmFrame
*vresFrm.wcChildren:	vresLab vresRC

*vresRC.wcCreate:		XmRowColumn
*vresRC.wcChildren:		vres640Tog vres800Tog vres1024Tog \
						vres1152Tog vres1280Tog vres1600Tog vresoffTog 

*vresLab.wcCreate:			XmLabel
*vresLab.labelString:		Virtual Resolution
*vresLab.frameChildType:	FRAME_TITLE_CHILD

*vres640Tog.wcCreate:		XmToggleButton
*vres640Tog.indicatorType:	ONE_OF_MANY_ROUND
*vres640Tog.labelString:	640x480
*vres640Tog.valueChangedCallback:			ValidateVresCB

*vres800Tog.wcCreate:		XmToggleButton
*vres800Tog.indicatorType:	ONE_OF_MANY_ROUND
*vres800Tog.labelString:	800x600
*vres800Tog.valueChangedCallback:			ValidateVresCB

*vres1024Tog.wcCreate:		XmToggleButton
*vres1024Tog.indicatorType:	ONE_OF_MANY_ROUND
*vres1024Tog.labelString:	1024x768
*vres1024Tog.valueChangedCallback:			ValidateVresCB

*vres1152Tog.wcCreate:		XmToggleButton
*vres1152Tog.indicatorType:	ONE_OF_MANY_ROUND
*vres1152Tog.labelString:	1152x864
*vres1152Tog.valueChangedCallback:			ValidateVresCB

*vres1280Tog.wcCreate:		XmToggleButton
*vres1280Tog.indicatorType:	ONE_OF_MANY_ROUND
*vres1280Tog.labelString:	1280x1024
*vres1280Tog.valueChangedCallback:			ValidateVresCB

*vres1600Tog.wcCreate:		XmToggleButton
*vres1600Tog.indicatorType:	ONE_OF_MANY_ROUND
*vres1600Tog.labelString:	1600x1200
*vres1600Tog.valueChangedCallback:			ValidateVresCB

*vresoffTog.wcCreate:		XmToggleButton
*vresoffTog.indicatorType:	ONE_OF_MANY_ROUND
*vresoffTog.labelString:	Disabled
*vresoffTog.set:			True
*vresoffTog.valueChangedCallback:			ValidateVresCB

*presFrm.wcCreate:			XmFrame
*presFrm.wcChildren:		presLab presTab

*presLab.wcCreate:			XmLabel
*presLab.labelString:		Physical Resolution
*presLab.frameChildType:	FRAME_TITLE_CHILD

*presTab.wcCreate:		XmpTable
*presTab.marginWidth:		0
*presTab.marginHeight:		0
*presTab.rowSpacing:	0
*presTab.columnSpacing:	0
*presTab.wcChildren: \
	pres640Tog pres800Tog pres1024Tog pres1152Tog pres1280Tog pres1600Tog \
	freq640Spn freq800Spn freq1024Spn freq1152Spn freq1280Spn freq1600Spn
	
*presTab.layout:	\
			pres640Tog		0	0	1	1	lWHh	;\
			pres800Tog		0	1	1	1	lWHh	;\
			pres1024Tog		0	2	1	1	lWHh	;\
			pres1152Tog		0	3	1	1	lWHh	;\
			pres1280Tog		0	4	1	1	lWHh	;\
			pres1600Tog		0	5	1	1	lWHh	;\
			freq640Spn		1	0	1	1		;\
			freq640Spn		1	1	1	1		;\
			freq800Spn		1	1	1	1		;\
			freq1024Spn		1	2	1	1		;\
			freq1152Spn		1	3	1	1		;\
			freq1280Spn		1	4	1	1		;\
			freq1600Spn		1	5	1	1		

*pres640Tog.wcCreate:		XmToggleButton
*pres640Tog.labelString:	640x480 at
*pres640Tog.set:			True
*pres640Tog.valueChangedCallback:			ValidatePresCB
*pres640Tog.navigationType:	TAB_GROUP

*pres800Tog.wcCreate:		XmToggleButton
*pres800Tog.labelString:	800x600 at
*pres800Tog.valueChangedCallback:			ValidatePresCB
*pres800Tog.navigationType:	TAB_GROUP

*pres1024Tog.wcCreate:		XmToggleButton
*pres1024Tog.labelString:	1024x768 at
*pres1024Tog.valueChangedCallback:			ValidatePresCB
*pres1024Tog.navigationType:	TAB_GROUP

*pres1152Tog.wcCreate:		XmToggleButton
*pres1152Tog.labelString:	1152x864 at
*pres1152Tog.valueChangedCallback:			ValidatePresCB
*pres1152Tog.navigationType:	TAB_GROUP

*pres1280Tog.wcCreate:		XmToggleButton
*pres1280Tog.labelString:	1280x1024 at
*pres1280Tog.valueChangedCallback:			ValidatePresCB
*pres1280Tog.navigationType:	TAB_GROUP

*pres1600Tog.wcCreate:		XmToggleButton
*pres1600Tog.labelString:	1600x1200 at
*pres1600Tog.valueChangedCallback:			ValidatePresCB
*pres1600Tog.navigationType:	TAB_GROUP

*freq640Spn.wcCreate:			XmSpinBox
*freq640Spn.arrowLayout:		ARROWS_BEGINNING
*freq640Spn.WcChildren: 		freq640Txt
*freq640Spn.navigationType:	TAB_GROUP

*freq640Txt.WcCreate:				XmText
*freq640Txt.editable:				False
*freq640Txt.cursorPositionVisible:	False
!*freq640Txt.shadowThickness:	0

*freq800Spn.wcCreate:			XmSpinBox
*freq800Spn.arrowLayout:		ARROWS_BEGINNING
*freq800Spn.WcChildren: 		freq800Txt
*freq800Spn.navigationType:	TAB_GROUP

*freq800Txt.WcCreate:				XmText
*freq800Txt.editable:				False
*freq800Txt.cursorPositionVisible:	False
*freq800Txt.values:
*freq800Txt.numValues:				1
*freq800Txt.position:				0

*freq1024Spn.wcCreate:			XmSpinBox
*freq1024Spn.arrowLayout:		ARROWS_BEGINNING
*freq1024Spn.WcChildren: 		freq1024Txt
*freq1024Spn.navigationType:	TAB_GROUP

*freq1024Txt.WcCreate:				XmText
*freq1024Txt.editable:				False
*freq1024Txt.cursorPositionVisible:	False
*freq1024Txt.values:
*freq1024Txt.numValues:				1
*freq1024Txt.position:				0

*freq1152Spn.wcCreate:			XmSpinBox
*freq1152Spn.arrowLayout:		ARROWS_BEGINNING
*freq1152Spn.WcChildren: 		freq1152Txt
*freq1152Spn.navigationType:	TAB_GROUP

*freq1152Txt.WcCreate:				XmText
*freq1152Txt.editable:				False
*freq1152Txt.cursorPositionVisible:	False
*freq1152Txt.values:
*freq1152Txt.numValues:				1
*freq1152Txt.position:				0

*freq1280Spn.wcCreate:			XmSpinBox
*freq1280Spn.arrowLayout:		ARROWS_BEGINNING
*freq1280Spn.WcChildren: 		freq1280Txt
*freq1280Spn.navigationType:	TAB_GROUP

*freq1280Txt.WcCreate:				XmText
*freq1280Txt.editable:				False
*freq1280Txt.cursorPositionVisible:	False
*freq1280Txt.values:
*freq1280Txt.numValues:				1
*freq1280Txt.position:				0

*freq1600Spn.wcCreate:			XmSpinBox
*freq1600Spn.arrowLayout:		ARROWS_BEGINNING
*freq1600Spn.WcChildren: 		freq1600Txt
*freq1600Spn.navigationType:	TAB_GROUP

*freq1600Txt.WcCreate:				XmText
*freq1600Txt.editable:				False
*freq1600Txt.cursorPositionVisible:	False
*freq1600Txt.values:
*freq1600Txt.numValues:				1
*freq1600Txt.position:				0



*freq640Txt.values:	45 Hz Interlaced, 60 Hz, 65 Hz, 70 Hz, 75 Hz
*freq640Txt.numValues: 5
!
!	messages.ad
!
!			    Copyright (C) 1995  Metro Link Incorporated
!							All Rights Reserved.
!
!	defines all dynamic message for internationalization
!
!	Chris Bare
!
!	Mon Sep 25 12:04:42 EDT 1995
!
!	messages start with a '*' to make the awk script which generates
!	messages.h simpler.
!	continuation characters and newlines can be used wherever needed.
!	white space at the begining of continued lines is NOT ignored.

*i18n.Warning:	Warning
*i18n.Error:		Error
*i18n.Info:		Information

*i18n.CannotReadFile:	Could not read file %1$s\n%2$s.
*i18n.CannotWriteFile:	Could not write file %1$s\n%2$s.
*i18n.FreqFromDos:		from DOS Install
*i18n.FreqFixed:		Fixed
*i18n.NonInterlaced:	Non Interlaced
*i18n.Interlaced:		Interlaced
*i18n.HertzFormat:		%d Hz
*i18n.HertzFormatInterlaced:		%d Hz Interlaced
*i18n.MonitorPage:	Monitor Configuration for Screen %d
*i18n.GraphicsPage: Graphics Card Configuration for Screen %d
*i18n.XvPage:	Video Extension Configuration for Screen %d
!
!	popup.ad
!
!			    Copyright (C) 1995  Metro Link Incorporated
!							All Rights Reserved.
!
!	misc popup windows
!
!	Chris Bare
!
!	Fri Sep 22 14:08:36 EDT 1995
!

*msg.wcCreate:	XmCreateMessageDialog
*msg.dialogTitle:	Introduction
*msg_popup.borderWidth:	7

*save_changes.wcCreate:	XmCreateQuestionDialog
*save_changes_popup.borderWidth:	7
*save_changes.okLabelString:	Yes
*save_changes.cancelLabelString:	No
*save_changes.messageString:	Save current configuration before exiting?
*save_changes.dialogTitle:	Save Changes?
*save_changes.dialogStyle:	DIALOG_FULL_APPLICATION_MODAL
*save_changes.dialogType:	DIALOG_QUESTION
*save_changes.cancelCallback:	QuitCB
*save_changes.okCallback:	SaveCB QuitCB

*intro.wcCreate:	XmCreateTemplateDialog
*intro.wcChildren:	okPB introTab
*intro.mapCallback:	IntroVisibleCB
*intro.dialogTitle:	Introduction
*intro_popup.borderWidth:	7
*intro.wcAfterChildren:	WcSetValue (*intro.defaultButton: *intro.okPB)

*intro.okPB.wcCreate:	XmPushButton
*intro.okPB.labelString:	OK
*intro.okPB.activateCallback:	IntroOkCB

*introTab.wcCreate:	XmpTable
*introTab.marginWidth:		0
*introTab.marginHeight:		0
*introTab.wcChildren:	logoLab titleLab bodyLab \
						detail1Lab detail2Lab \
						detail3Lab detail4Lab \
						detail5Lab detail6Lab \
						detail7Lab detail8Lab \
						detail9Lab detail10Lab \
						detail11Lab detail12Lab
!       widget      c   r   cs  rs  opt

*introTab.layout:\
		logoLab		0	0	1	1	WwHh;	\
		titleLab	0	0	2	1	;	\
		bodyLab		0	1	2	1	lwW;	\
		detail1Lab	0	2	1	1	;	\
		detail2Lab	1	2	1	1	lwW;	\
		detail3Lab	0	3	1	1	;	\
		detail4Lab	1	3	1	1	lwW;	\
		detail5Lab	0	4	1	1	;	\
		detail6Lab	1	4	1	1	lwW;	\
		detail7Lab	0	5	1	1	;	\
		detail8Lab	1	5	1	1	lwW;\
		detail9Lab	0	6	1	1	;	\
		detail10Lab	1	6	1	1	lwW;\
		detail11Lab	0	7	1	1	;	\
		detail12Lab	1	7	1	1	lwW;

*logoLab.wcCreate:	XmLabel
*logoLab.labelType:	PIXMAP
*logoLab.labelPixmap:	metro_logo.00
*logoLab.width:	70
*logoLab.height:	40

*titleLab.wcCreate:	XmLabel
*titleLab.fontList:		-*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*
*titleLab.labelString:	Welcome to Metro-X

*bodyLab.wcCreate:	XmLabel
*bodyLab.marginTop:	10
*bodyLab.marginBottom:	10
*bodyLab.labelString:\
To configure Metro-X for your system, you must select your mouse,\n\
keyboard, monitor and graphics card. If your mouse is not\n\
configured and functional yet, use these keys instead:

*detail1Lab.wcCreate:	XmLabel
*detail1Lab.labelType:	PIXMAP
*detail1Lab.labelPixmap:	key_tab

*detail2Lab.wcCreate:	XmLabel
*detail2Lab.labelString:	Moves you from field to field.

*detail3Lab.wcCreate:	XmLabel
*detail3Lab.labelType:	PIXMAP
*detail3Lab.labelPixmap:	key_arrows

*detail4Lab.wcCreate:	XmLabel
*detail4Lab.labelString:	Changes the value in the current field.

*detail5Lab.wcCreate:	XmLabel
*detail5Lab.labelType:	PIXMAP
*detail5Lab.labelPixmap:	key_enter

*detail6Lab.wcCreate:	XmLabel
*detail6Lab.labelString:	Sets/un-sets a toggle button.

*detail7Lab.wcCreate:	XmLabel
*detail7Lab.labelType:	PIXMAP
*detail7Lab.labelPixmap:	key_page_down

*detail8Lab.wcCreate:	XmLabel
*detail8Lab.labelString:	Switches to the next configuration page.

*detail9Lab.wcCreate:	XmLabel
*detail9Lab.labelType:	PIXMAP
*detail9Lab.labelPixmap:	key_page_up

*detail10Lab.wcCreate:	XmLabel
*detail10Lab.labelString:	Switches to the previous configuration page.

*detail11Lab.wcCreate:	XmLabel
*detail11Lab.labelType:	PIXMAP
*detail11Lab.labelPixmap:	key_alt_f

*detail12Lab.wcCreate:	XmLabel
*detail12Lab.labelString:	Moves you to the menu bar.

!
!	fontpath.ad
!
!			    Copyright (C) 1995  Metro Link Incorporated
!							All Rights Reserved.
!
!	resources for the font path popup
!
!	Chris Bare
!
!	Thu Sep 21 16:48:25 EDT 1995
!
*fp.wcCreate:			XmCreateTemplateDialog
*fp_popup.borderWidth:	7
*fp.autoUnmanage:		False
*fp.wcChildren:			pathTab defaultPB 
*fp.wcAfterChildren:	WcSetValue (*fp.initialFocus: *fp.pathTab)

! if you specify resources for these children they are automagically
! created
*fp.okCallback:	FontPathOKCB WcUnmanage (*fp)
*fp.cancelCallback: WcUnmanage (*fp)

*fp.dialogTitle:		Font Path

! You have to put a table in here because the default layout is a mess
*fp.pathTab.wcCreate:	XmpTable
*fp.pathTab.marginWidth:		0
*fp.pathTab.marginHeight:		0
*fp.pathTab.wcChildren:	pathTxt pathLab
*fp.pathTab.layout:	\
			pathLab		0	0	1	1	;\
			pathTxtSW	0	1	1	1	;

*fp*pathLab.wcCreate:		XmLabel
*fp*pathLab.labelString:	Font Path

*fp*pathTxt.wcCreate:				XmCreateScrolledText
*fp*pathTxt.editMode:				MULTI_LINE_EDIT
*fp*pathTxt.scrollingPolicy:		AUTOMATIC
*fp*pathTxt.scrollBarDisplayPolicy:	AS_NEEDED
*fp*pathTxt.scrollHorizontal:		False
*fp*pathTxt.rows:					8
*fp*pathTxt.columns:				60
*fp*pathTxt.wcCallback:	\
		WcSetValue (*fp*pathTxtSW.pathTxt.background:               lightblue)
*fp*pathTxt.modifyVerifyCallback:	PathVerifyCB
*fp*pathTxt.translations:	#override\n\
s ~m ~a <Key>Tab:       PrevTabGroup()\n\
~m ~a <Key>Tab:         NextTabGroup()

*fp.okPB.wcCreate:					XmPushButton
*fp.okPB.labelString:				OK
*fp.okPB.activateCallback:			FontPathOKCB WcUnmanage (*fp)

*fp.defaultPB.wcCreate:				XmPushButton
*fp.defaultPB.labelString:			Load Defaults
*fp.defaultPB.activateCallback:		DefaultFontPathCB

*fp.cancelPB.wcCreate:				XmPushButton
*fp.cancelPB.labelString:			Cancel
*fp.cancelPB.activateCallback:		WcUnmanage (*fp)
!
!	menu.ad
!
!			    Copyright (C) 1994  Metro Link Incorporated
!							All Rights Reserved.
!
!	%M% %I% %H%
!
!	resource file for the notepad menu system
!
!	Chris Bare
!
!	Sun Feb 20 14:27:11 EST 1994
!

*menuBar.wcCreate:		XmCreateMenuBar
*menuBar.wcPopups:		fileMenu screenMenu configMenu
*menuBar.wcChildren:	file screen config

*file.wcCreate:			XmCreateCascadeButton
*file.labelString:		File
*file.mnemonic:			F
*file.subMenuId:		*fileMenu

*fileMenu.wcCreate:		XmCreatePulldownMenu
*fileMenu.wcChildren:	save quit

*save.wcCreate:			XmPushButton
*save.labelString:		Save and Exit
*save.mnemonic:			S
!*save.accelerator:		Meta<Key>s
!*save.acceleratorText:	Alt-s
*save.activateCallback:	SaveCB QuitCB

*reload.wcCreate:			XmPushButton
*reload.labelString:		Reload Xconfig
*reload.activateCallback:	ReloadCB

*quit.wcCreate:			XmPushButton
*quit.labelString:		Quit
*quit.mnemonic:			Q
*quit.accelerator:		Meta<Key>x
*quit.acceleratorText:	Alt-x
*quit.activateCallback:	WcManage (*save_changes)

*screen.wcCreate:		XmCreateCascadeButton
*screen.labelString:	Screen
*screen.mnemonic:		S
*screen.subMenuId:		*screenMenu

*screenMenu.wcCreate:	XmCreatePulldownMenu
*screenMenu.wcChildren:	add delete layout

*add.wcCreate:			XmPushButton
*add.labelString:		Add
*add.mnemonic:			A
*add.activateCallback:	AddScreenCB

*delete.wcCreate:		XmPushButton
*delete.labelString:	Delete
*delete.mnemonic:		D
*delete.sensitive:		False
*delete.activateCallback:	DeleteScreenCB

*layout.wcCreate:		XmPushButton
*layout.labelString:	Layout...
*layout.mnemonic:		L
*layout.sensitive:		False
*layout.activateCallback:	LayoutPopupCB

*config.wcCreate:		XmCreateCascadeButton
*config.labelString:	Configuration
*config.mnemonic:		C
*config.subMenuId:		*configMenu

*configMenu.wcCreate:		XmCreatePulldownMenu
*configMenu.wcChildren:	fontPath
!serverOptions extensionLoading openGLOptions

*fontPath.wcCreate:				XmPushButton
*fontPath.labelString:			Font Path...
*fontPath.mnemonic:				F
*fontPath.activateCallback:		FontPathPopupCB  WcManage (*fp)

*serverOptions.wcCreate:	XmPushButton
*serverOptions.labelString:	Server Options...
*serverOptions.activateCallback:	statusCB

*extensionLoading.wcCreate:		XmPushButton
*extensionLoading.labelString:	Extension Loading...
*extensionLoading.activateCallback:	statusCB

*openGLOptions.wcCreate:		XmPushButton
*openGLOptions.labelString:		OpenGL Options...
*openGLOptions.activateCallback:		statusCB

!
!	monitor.ad
!
!			    Copyright (C) 1995  Metro Link Incorporated
!							All Rights Reserved.
!
!	resource file to define the monitor page of the configX notebook
!
!	Chris Bare
!
!	Wed Sep 20 11:23:50 EDT 1995
!

*monitorTab.wcCreate:	XmpTable
*monitorTab.marginWidth:		0
*monitorTab.marginHeight:		0
*monitorTab.pageNumber:	1
*monitorTab.wcChildren:	monitorCom monitorWidthLab monitorWidthTxt \
						monitorHeightLab monitorHeightTxt monitorDimLab \
						ssFrm dummy1Lab instructionTab
*monitorTab.layout:\
			monitorCom			0	0	6	1	Hh	;\
			monitorWidthLab		0	1	1	1	HhWw	;\
			monitorWidthTxt		1	1	1	1	HhWw	;\
			monitorHeightLab	2	1	1	1	HhWw	;\
			monitorHeightTxt	3	1	1	1	HhWw	;\
			monitorDimLab		4	1	1	1	HhWw	;\
			dummy1Lab			5	1	1	1	Hh	;\
			ssFrm				0	2	6	1	Hh	;\
			instructionTab		0	3	6	1	W

*monitorCom.wcCreate:	XmComboBox
*monitorCom.comboBoxType:	DROP_DOWN_LIST
*monitorCom.matchBehavior:	QUICK_NAVIGATE
*monitorCom*List.defaultActionCallback:			MonitorSelectedCB
*monitorCom*List.visibleItemCount:	13

*dummy1Lab.wcCreate:	Xmlabel
*dummy1Lab.labelString:
*dummy2Lab.wcCreate:	Xmlabel
*dummy2Lab.labelString: Use PAGE UP and PAGE DOWN to move between pages

*monitorWidthLab.wcCreate:	XmLabel
*monitorWidthLab.labelString:	Screen Width:

*monitorWidthTxt.wcCreate:		XmText
*monitorWidthTxt.columns:		4
*monitorWidthTxt.background:	lightblue

*monitorHeightLab.wcCreate:	XmLabel
*monitorHeightLab.labelString:	Height:

*monitorHeightTxt.wcCreate:		XmText
*monitorHeightTxt.columns:		4
*monitorHeightTxt.background:	lightblue

*monitorDimLab.wcCreate:	XmLabel
*monitorDimLab.labelString:	mm

*ssFrm.wcCreate:	XmFrame
*ssFrm.wcChildren:	ssLab ssTab

*ssLab.wcCreate:	XmLabel
*ssLab.labelString:	Screen Saver
*ssLab.frameChildType:	FRAME_TITLE_CHILD

*ssTab.wcCreate:	XmpTable
*ssTab.marginWidth:		0
*ssTab.marginHeight:		0
*ssTab.wcChildren:	XsaverTog StandbyTog SuspendTog OffTog \
					XsaverScl StandbyScl SuspendScl OffScl \
					XsaverLab StandbyLab SuspendLab OffLab
*ssTab.layout:\
			XsaverTog	0	0	1	1	bHlWw	;\
			StandbyTog	0	1	1	1	bHlWw	;\
			SuspendTog	0	2	1	1	bHlWw	;\
			OffTog		0	3	1	1	bHlWw	;\
			XsaverScl	2	0	1	1		;\
			StandbyScl	2	1	1	1		;\
			SuspendScl	2	2	1	1		;\
			OffScl		2	3	1	1		;\
			XsaverLab	3	0	1	1	bHw	;\
			StandbyLab	3	1	1	1	bHw	;\
			SuspendLab	3	2	1	1	bHw	;\
			OffLab		3	3	1	1	bHw	;\

*XsaverTog.wcCreate:	XmToggleButton
*XsaverTog.labelString:	X Screen Saver Delay
*XsaverTog.navigationType:	TAB_GROUP

*StandbyTog.wcCreate:	XmToggleButton
*StandbyTog.labelString:	Standby Mode Delay
*StandbyTog.navigationType:	TAB_GROUP

*SuspendTog.wcCreate:	XmToggleButton
*SuspendTog.labelString:	Suspend Mode Delay
*SuspendTog.navigationType:	TAB_GROUP

*OffTog.wcCreate:	XmToggleButton
*OffTog.labelString:	Monitor Off Delay
*OffTog.navigationType:	TAB_GROUP

*XsaverScl.wcCreate:	XmScale
*XsaverScl.orientation:	HORIZONTAL
*XsaverScl.showValue:	True
*XsaverScl.minimum:	1
*XsaverScl.maximum:	120
*XsaverScl.value:	5
*XsaverScl.sensitive:	False

*StandbyScl.wcCreate:	XmScale
*StandbyScl.orientation:	HORIZONTAL
*StandbyScl.showValue:	True
*StandbyScl.minimum:	1
*StandbyScl.maximum:	120
*StandbyScl.value:	10
*StandbyScl.sensitive:	False

*SuspendScl.wcCreate:	XmScale
*SuspendScl.orientation:	HORIZONTAL
*SuspendScl.showValue:	True
*SuspendScl.minimum:	1
*SuspendScl.maximum:	120
*SuspendScl.value:	15
*SuspendScl.sensitive:	False

*OffScl.wcCreate:	XmScale
*OffScl.orientation:	HORIZONTAL
*OffScl.showValue:	True
*OffScl.minimum:	1
*OffScl.maximum:	120
*OffScl.value:	60
*OffScl.sensitive:	False

*XsaverLab.wcCreate:	XmLabel
*XsaverLab.labelString:	Minutes

*StandbyLab.wcCreate:	XmLabel
*StandbyLab.labelString:	Minutes

*SuspendLab.wcCreate:	XmLabel
*SuspendLab.labelString:	Minutes

*OffLab.wcCreate:	XmLabel
*OffLab.labelString:	Minutes

*ssol.wcCreate:	MLCreateOptionMenu
*ssol.optionStrings:	Disabled, X Screen Saver, DPMS Standby, DPMS Suspend,\
	DPMS off
*ssol.optionValues:	a, b,c,d,e


*instructionTab.wcCreate:	XmpTable
*instructionTab.marginWidth:		0
*instructionTab.marginHeight:		0
*instructionTab.wcChildren:	inst1Lab inst2Lab inst3Lab inst4Lab inst5Lab \
	inst6Lab inst7Lab
*instructionTab.layout:\
			inst1Lab		0	0	1	1	HhWw	;\
			inst2Lab		1	0	1	1	HhWw	;\
			inst3Lab		2	0	1	1	HhWw	;\
			inst4Lab		3	0	1	1	HhWw	;\
			inst5Lab		4	0	1	1	HhWw	;\
			inst6Lab		5	0	1	1	HhWw	;\
			inst7Lab		6	0	1	1	HhWw	;

*inst1Lab.wcCreate:	XmLabel
*inst1Lab.labelString:	Use

*inst2Lab.wcCreate:	XmLabel
*inst2Lab.labelType:	PIXMAP
*inst2Lab.labelPixmap:	key_page_up

*inst3Lab.wcCreate:	XmLabel
*inst3Lab.labelString:	and

*inst4Lab.wcCreate:	XmLabel
*inst4Lab.labelType:	PIXMAP
*inst4Lab.labelPixmap:	key_page_down

*inst5Lab.wcCreate:	XmLabel
*inst5Lab.labelString:	to switch pages;

*inst6Lab.wcCreate:	XmLabel
*inst6Lab.labelType:	PIXMAP
*inst6Lab.labelPixmap:	key_alt_f

*inst7Lab.wcCreate:	XmLabel
*inst7Lab.labelString:	for menus.
!
!	layout.ad
!
!			    Copyright (C) 1995  Metro Link Incorporated
!							All Rights Reserved.
!
!	code to configure multi-screen layout
!
!	Chris Bare
!
!	Mon Dec  4 15:29:49 EST 1995
!
*lo.wcCreate:			XmCreateTemplateDialog
*lo_popup.borderWidth:	7
*lo.wcChildren:			layoutTab1
*lo.dialogTitle:		Screen Layout
*lo.resizePolicy:		RESIZE_NONE

!these buttons are automagically created if you specify resources
!for them.
*lo.okCallback:		LayoutOKCB
*lo.cancelLabelString:		Cancel

*lo.wcAfterChildren:	wcSetValues (*lo.initialFocus:  *layoutTab1)

*layoutTab1.wcCreate:		XmpTable
*layoutTab1.marginWidth:	0
*layoutTab1.marginHeight:	0
*layoutTab1.wcChildren:		layoutLab layoutFrm layoutScl
!           widget      c   r   cs  rs  opt

*layoutTab1.layout:\
	layoutLab	0	0	1	1	Hh;	\
	layoutFrm	0	1	1	1	;	\
	layoutScl	0	2	1	1	Hh;

*layoutScl.wcCreate:				XmScale
*layoutScl.orientation:				HORIZONTAL
*layoutScl.valueChangedCallback:	SetLayoutCB
*layoutScl.dragCallback:			SetLayoutCB
*layoutScl.showValue:				True
*layoutScl.value:					1
*layoutScl.minimum:					1
*layoutScl.maximum:					2
*layoutScl.scaleMultiple:			1

*layoutLab.wcCreate:		XmLabel
*layoutLab.labelString:		Select Screen Layout

*layoutFrm.wcCreate:		XmFrame
*layoutFrm.wcChildren:		layoutTab2

*layoutTab2.wcCreate:		XmpTable
*layoutTab2.marginWidth:		0
*layoutTab2.marginHeight:		0
*layoutTab2.noResize:		True
*layoutTab2.marginWidth:	0
*layoutTab2.marginHeight:	0
*layoutTab2.wcChildren:	monitor0Lab monitor1Lab monitor2Lab monitor3Lab
*layoutTab2.layout:\
	monitor0Lab	0	0	1	1	;\
	monitor1Lab	1	1	1	1	;\
	monitor2Lab	2	2	1	1	;\
	monitor3Lab	3	3	1	1	;\

*monitor0Lab.wcCreate:			XmLabel
*monitor0Lab.labelType:			PIXMAP
*monitor0Lab.labelPixmap:		screen0

*monitor1Lab.wcCreate:			XmLabel
*monitor1Lab.labelType:			PIXMAP
*monitor1Lab.labelPixmap:		screen1

*monitor2Lab.wcCreate:			XmLabel
*monitor2Lab.labelType:			PIXMAP
*monitor2Lab.labelPixmap:		screen2

*monitor3Lab.wcCreate:			XmLabel
*monitor3Lab.labelType:			PIXMAP
*monitor3Lab.labelPixmap:		screen3

