!
!	resource file for xtechinfo
!
!	$Author: brlewis $
!	$Id: textForm.ad,v 2.1 93/02/08 14:16:12 brlewis Exp Locker: brlewis $
!
!	Copyright 1992 by the Massachusetts Institute of Technology.
!	For copying and distribution information, see the file
!	"mit-copyright.h".


!				textForm
!
! ________________________________________________________________
! |     menubar					       	         |
! |     Title			       	         	pages	 |
! | ____________________________________________________________ |
! | |                   				       | |
! | |                                                          | |
! | |   	                        		       | |
! | |                                                          | |
! | |   		        			       | |
! | |   		        			       | |
! | |   		textText			       | |
! | |   						       | |
! | |   						       | |
! | |   						       | |
! | |   						       | |
! | |__________________________________________________________| |
! |  Find: __________________   	date       	   	 |
! |  ----------------------------------------------------------- |
! |     			Close		       	   	 |
! |______________________________________________________________|
!
!

textShell.title:	TechInfo text
textShell.wcChildren:	textForm
textShell.Geometry:	-0+0

*textForm.wcClassName:	XmForm
! *textForm.width: 540
! *textForm.height: 512
*textForm.shadowThickness: 1
*textForm.marginHeight: 5
*textForm.marginWidth:	2
*textForm.verticalSpacing: 3
*textForm.horizontalSpacing: 3

!   Layout of main window

*textForm.WcChildren: Close sep1 findText findLabel date \
	 menubar title pages textText

*textForm.Close.bottomAttachment:	ATTACH_FORM
*textForm.Close.rightAttachment:	ATTACH_POSITION
*textForm.Close.rightPosition:		54

*textForm.sep1.leftAttachment:		ATTACH_FORM
*textForm.sep1.rightAttachment:		ATTACH_FORM
*textForm.sep1.bottomAttachment:		ATTACH_WIDGET
*textForm.sep1.bottomWidget:		^Close

*textForm.findLabel.leftAttachment:	ATTACH_FORM
*textForm.findLabel.rightAttachment:	ATTACH_WIDGET
*textForm.findLabel.rightWidget:	^findText
*textForm.findLabel.topAttachment:	ATTACH_OPPOSITE_WIDGET
*textForm.findLabel.topWidget:		^findText
*textForm.findLabel.bottomAttachment:	ATTACH_OPPOSITE_WIDGET
*textForm.findLabel.bottomWidget:	^findText
*textForm.findLabel.bottomAttachment:	ATTACH_WIDGET
*textForm.findLabel.bottomWidget:	^sep1

*textForm.findText.leftAttachment:	ATTACH_POSITION
*textForm.findText.leftPosition:	10
*textForm.findText.rightAttachment:	ATTACH_POSITION
*textForm.findText.rightPosition:	50
*textForm.findText.bottomAttachment:	ATTACH_WIDGET
*textForm.findText.bottomWidget:	^sep1

*textForm.date.leftAttachment:		ATTACH_WIDGET
*textForm.date.leftWidget:		^findText
*textForm.date.rightAttachment:		ATTACH_FORM
*textForm.date.topAttachment:		ATTACH_OPPOSITE_WIDGET
*textForm.date.topWidget:		^findText
*textForm.date.bottomAttachment:	ATTACH_OPPOSITE_WIDGET
*textForm.date.bottomWidget:		^findText

*textForm.menubar.leftAttachment:	ATTACH_FORM
*textForm.menubar.rightAttachment:	ATTACH_FORM
*textForm.menubar.topAttachment:	ATTACH_FORM

*textForm.title.leftAttachment:		ATTACH_FORM
*textForm.title.leftOffset:		9
*textForm.title.rightAttachment:	ATTACH_POSITION
*textForm.title.rightPosition:		85
*textForm.title.topAttachment:		ATTACH_WIDGET
*textForm.title.topWidget:		^menubar

*textForm.pages.leftAttachment:		ATTACH_WIDGET
*textForm.pages.leftWidget:		^title
*textForm.pages.rightAttachment:	ATTACH_FORM
*textForm.pages.topAttachment:		ATTACH_OPPOSITE_WIDGET
*textForm.pages.topWidget:		^title
*textForm.pages.bottomAttachment:	ATTACH_OPPOSITE_WIDGET
*textForm.pages.bottomWidget:		^title

*textTextSW.leftAttachment:		ATTACH_FORM
*textTextSW.rightAttachment:		ATTACH_FORM
*textTextSW.topAttachment:		ATTACH_WIDGET
*textTextSW.topWidget:			^title
*textTextSW.bottomAttachment:		ATTACH_WIDGET
*textTextSW.bottomWidget:		^findLabel

! Close button

*textForm.Close.wcCreate: XmPushButton
*textForm.Close.activateCallback:	WcUnmap(^^)

! separator

*textForm.sep1.wcCreate:		XmSeparator

! Find Label

*textForm.findLabel.wcCreate:	XmLabel
*textForm.findLabel.labelString:	Find:

! Find Text

*textForm.findText.wcCreate:	XmText
*textForm.findText.activateCallback:	\
	WaitCursor() \
	Find() \
	StandardCursor()

! modify date

*textForm.date.wcCreate:	XmLabel
*textForm.date.fontList:	*-times-medium-r-normal--*-140-75-75-p-*-*-*

! Title

*textForm.title.wcCreate:	XmLabel
*textForm.title.fontList: *-new century schoolbook-bold-r-normal--*-140-75-75-p-*-*-*

! page count

*textForm.pages.wcCreate:	XmLabel
*textForm.pages.fontList:	*-times-medium-r-normal--*-140-75-75-p-*-*-*
*textForm.pages.alignment:	ALIGNMENT_END

! Menu Bar

*textForm.menubar.wcCreate:	XmCreateMenuBar

*textForm.menubar.WcChildren: textFileMenu textFile

*textFile.wcCreate: XmCascadeButton
*textFile.labelString:					File
*textFile.mnemonic: F
*textFile.subMenuId: *textFileMenu

! edit window resources

*textText.wcCreate:	XmCreateScrolledText

*textText.editMode:			MULTI_LINE_EDIT
*textText.editable:			false
*textText.fontList:			fixed
*textText.Rows:				44
*textText.Columns:			80
