!
! HDSTetris
!
! 1/11/93 WNP, Created based on X11R5/contrib/games/xtetris/HDSTetris.
! 1/13/93 EMP, change accelerators to #override
! 1/15/93 WNP, Change class name to HDSTetris.
! 2/05/93 WNP, Change class name to HDSTetris.
! 1/04/93 JHD, modified translations to override ( for Motif 1.2)
!
! SCCSID = "@(#)HDSTetris	1.3	1/15/93"

HDSTetris.Title: HDS tetris
HDSTetris.IconName: Tetris
HDSTetris.Frame.horizontalSpacing:	3
HDSTetris.Frame.verticalSpacing:	3
HDSTetris.boxSize:	16
HDSTetris.eraseStipple:	/FXUtilities/hds-fx/lib/bitmaps/stripe4
HDSTetris*Background:	black
HDSTetris*borderColor:	white
HDSTetris*fontList:	-*-helvetica-bold-r-*-*-*-120-*-*-*-*-*-*
HDSTetris.Frame*Score.labelString:	"Pos  Name             Score  Rows Lev Machine When "
HDSTetris.Frame*sensitive:	true
HDSTetris.Frame.Buttons*width:	80
HDSTetris.Frame.Buttons.NewGame.labelString:	Reset
HDSTetris.Frame.Buttons.NewGame.leftAttachemnt:	XmATTACH_FORM
HDSTetris.Frame.Buttons.NewGame.rightAttachment:	XmATTACH_FORM
HDSTetris.Frame.Buttons.NewGame.topAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Buttons.NewGame.topPosition:	25
HDSTetris.Frame.Buttons.NewGame.bottomAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Buttons.NewGame.bottomPosition:	50
HDSTetris.Frame.Buttons.NewGame.translations:	#override \
					<Btn1Down>,<Btn1Up>:NewGame()
HDSTetris.Frame.Buttons.Pause.labelString:	Stop
HDSTetris.Frame.Buttons.Pause.leftAttachemnt:	XmATTACH_FORM
HDSTetris.Frame.Buttons.Pause.rightAttachment:	XmATTACH_FORM
HDSTetris.Frame.Buttons.Pause.topAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Buttons.Pause.topPosition:	0
HDSTetris.Frame.Buttons.Pause.bottomAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Buttons.Pause.bottomPosition:	25
HDSTetris.Frame.Buttons.Pause.mapWhenManaged:	False
HDSTetris.Frame.Buttons.Pause.translations:	#override \
					<Btn1Down>,<Btn1Up>:Pause()
HDSTetris.Frame.Buttons.Quit.labelString:	Quit
HDSTetris.Frame.Buttons.Quit.leftAttachemnt:	XmATTACH_FORM
HDSTetris.Frame.Buttons.Quit.rightAttachment:	XmATTACH_FORM
HDSTetris.Frame.Buttons.Quit.topAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Buttons.Quit.topPosition:	50
HDSTetris.Frame.Buttons.Quit.bottomAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Buttons.Quit.bottomPosition:	75
HDSTetris.Frame.Buttons.Quit.sensitive:	True
HDSTetris.Frame.Buttons.Quit.translations:	#override \
					<Btn1Down>,<Btn1Up>:Quit()
HDSTetris.Frame.Buttons.Scores.labelString:	Scores
HDSTetris.Frame.Buttons.Scores.leftAttachemnt:	XmATTACH_FORM
HDSTetris.Frame.Buttons.Scores.rightAttachment:	XmATTACH_FORM
HDSTetris.Frame.Buttons.Scores.topAttachment:	xmATTACH_POSITION
HDSTetris.Frame.Buttons.Scores.topPosition:	75
HDSTetris.Frame.Buttons.Scores.bottomAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Buttons.Scores.bottomPosition:	100
HDSTetris.Frame.Buttons.Scores.translations:	#override \
					<Btn1Down>,<Btn1Up>:Scores()
HDSTetris.Frame.Buttons.Start.labelString:	Start
HDSTetris.Frame.Buttons.Start.leftAttachemnt:	XmATTACH_FORM
HDSTetris.Frame.Buttons.Start.rightAttachment:	XmATTACH_FORM
HDSTetris.Frame.Buttons.Start.topAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Buttons.Start.topPosition:	0
HDSTetris.Frame.Buttons.Start.bottomAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Buttons.Start.bottomPosition:	25
HDSTetris.Frame.Buttons.Start.sensitive:	True
HDSTetris.Frame.Buttons.Start.translations:	#override \
					<Btn1Down>,<Btn1Up>:Start()

HDSTetris.Frame.Buttons.borderWidth:	0
HDSTetris.Frame.Buttons.leftAttachment:	XmATTACH_FORM
HDSTetris.Frame.Buttons.rightAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Buttons.rightPosition:	30
HDSTetris.Frame.Buttons.topAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Buttons.topPosition:	50
HDSTetris.Frame.Buttons.vertDistance:	10
HDSTetris.Frame.Buttons.width:	100


HDSTetris.Frame.Canvas.borderWidth:	1
HDSTetris.Frame.Canvas.topAttachment:	XmATTACH_FORM
HDSTetris.Frame.Canvas.rightAttachment:	XmATTACH_FORM
HDSTetris.Frame.Canvas.bottomAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Canvas.bottomPosition:	92
HDSTetris.Frame.Canvas.height:	480
HDSTetris.Frame.Canvas.width:	160
HDSTetris.Frame.Canvas.sensitive:	True
HDSTetris.Frame.Canvas.translations:  #override \
				      <Expose>:Refresh() \n\
				      <Btn2Down>:Drop() \n

HDSTetris.Frame.Canvas.accelerators: 	#override \
				      <Key>space:Drop() \n\
				      <Key>h:MoveLeft() \n\
				      <Key>q:Quit() \n\
				      <Key>p:Pause() \n\
				      <Key>s:Start() \n\
				      <Key>r:NewGame() \n\
				      <Key>osfLeft:MoveLeft() \n\
				      <Key>j:RotateCW() \n\
				      Shift<Key>osfDown:Drop() \n\
				      ~Shift<Key>osfDown:RotateCW() \n\
				      <Key>k:RotateCCW() \n\
				      <Key>osfUp:RotateCCW() \n\
				      <Key>l:MoveRight() \n\
				      <Key>osfRight:MoveRight() \n

HDSTetris.Frame.NextObject.borderWidth:	0
HDSTetris.Frame.NextObject.leftAttachment:	XmATTACH_FORM
HDSTetris.Frame.NextObject.leftOffset:	5
HDSTetris.Frame.NextObject.topAttachment:	XmATTACH_POSITION
HDSTetris.Frame.NextObject.topPosition:	12
HDSTetris.Frame.NextObject.borderWidth:	0
HDSTetris.Frame.NextObject.height:	64
HDSTetris.Frame.NextObject.width:	64
HDSTetris.Frame.NextObject.translations: \
				      <Expose>:Refresh() \n

HDSTetris.Frame.NextObjectLabel.labelString:	Next Object
HDSTetris.Frame.NextObjectLabel.leftAttachment:	XmATTACH_FORM
HDSTetris.Frame.NextObjectLabel.topAttachment:	XmATTACH_POSITION
HDSTetris.Frame.NextObjectLabel.topPosition:	8
HDSTetris.Frame.NextObjectLabel.borderWidth:	0
HDSTetris.Frame.NextObjectLabel.width:	100

HDSTetris.Frame.Shadow.borderWidth:	1
HDSTetris.Frame.Shadow.bottomAttachment:	XmATTACH_FORM
HDSTetris.Frame.Shadow.rightAttachment:	XmATTACH_FORM
HDSTetris.Frame.Shadow.height:	16
HDSTetris.Frame.Shadow.width:	160
HDSTetris.Frame.Shadow.translations: \
				      <Expose>:Refresh() \n

HDSTetris.Frame.Status*borderWidth:	0
!HDSTetris.Frame.Status*displayCaret:	False
HDSTetris.Frame.Status.leftAttachment:	XmATTACH_FORM
HDSTetris.Frame.Status.topAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Status.topPosition:	35

HDSTetris.Frame.Status.Game.leftAttachment:	XmATTACH_FORM
HDSTetris.Frame.Status.Game.rightAttachment:	XmATTACH_FORM
HDSTetris.Frame.Status.Game.topAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Status.Game.topPosition:	75
HDSTetris.Frame.Status.Game.bottomAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Status.Game.bottomPosition:	100
HDSTetris.Frame.Status.Game.resize:	True
HDSTetris.Frame.Status.Game.labelString:	 
HDSTetris.Frame.Status.Game.width:	80

HDSTetris.Frame.Status.Level.leftAttachment:	XmATTACH_FORM
HDSTetris.Frame.Status.Level.rightAttachment:	XmATTACH_FORM
HDSTetris.Frame.Status.Level.topAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Status.Level.topPosition:	25
HDSTetris.Frame.Status.Level.bottomAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Status.Level.bottomPosition:	50
HDSTetris.Frame.Status.Level.labelString:	Level: 0
HDSTetris.Frame.Status.Level.width:	80

HDSTetris.Frame.Status.Rows.leftAttachment:	XmATTACH_FORM
HDSTetris.Frame.Status.Rows.rightAttachment:	XmATTACH_FORM
HDSTetris.Frame.Status.Rows.topAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Status.Rows.topPosition:	50
HDSTetris.Frame.Status.Rows.bottomAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Status.Rows.bottomPosition:	75
HDSTetris.Frame.Status.Rows.resize:	True
HDSTetris.Frame.Status.Rows.labelString:	Rows: 0
HDSTetris.Frame.Status.Rows.width:	80

HDSTetris.Frame.Status.Score.leftAttachment:	XmATTACH_FORM
HDSTetris.Frame.Status.Score.rightAttachment:	XmATTACH_FORM
HDSTetris.Frame.Status.Score.topAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Status.Score.topPosition:	0
HDSTetris.Frame.Status.Score.bottomAttachment:	XmATTACH_POSITION
HDSTetris.Frame.Status.Score.bottomPosition:	25
HDSTetris.Frame.Status.Score.resize:	True
HDSTetris.Frame.Status.Score.labelString:	Score: 0
HDSTetris.Frame.Status.Score.width:	80

HDSTetris.Frame.Status.borderWidth:	0
HDSTetris.Frame.Status.width:	100
HDSTetris.Frame.TitleBar.fontList:	-*-new century schoolbook-*-i-*-*-*-120-*-*-*-*-*-*
HDSTetris.Frame.TitleBar.topAttachment:	XmATTACH_FORM
HDSTetris.Frame.TitleBar.topOffset:	5
HDSTetris.Frame.TitleBar.leftAttachment:	XmATTACH_FORM
HDSTetris.Frame.TitleBar.leftOffset:	5
HDSTetris.Frame.TitleBar.labelString:	HDS TETRIS
HDSTetris.Frame.TitleBar.foreground:	white
HDSTetris.Frame.TitleBar.height:	20
HDSTetris.Frame.TitleBar.width:	115
HDSTetris.Frame.TitleBar.borderWidth:	1
HDSTetris.Object.stipple:	/FXUtilities/hds-fx/lib/bitmaps/box16
HDSTetris.Object.Background:	black
HDSTetris.Score_frame.Score_panel.Done.sensitive:	True
HDSTetris.Score_frame.Score_panel.Done.translations:	#override <Btn1Down>,<Btn1Up>:Done()\n
HDSTetris.Score_frame.Score_panel.Score_item.borderWidth:	0
HDSTetris.Score_frame.Score_panel.Score_item.displayCaret:	False
HDSTetris.Score_frame.Score_panel.Score_item.font:	-*-fixed-medium-r-*-*-*-120-*-*-*-*-*-*
HDSTetris.Score_frame.Score_panel.Score_item.resize:	True
HDSTetris.Score_frame.Score_panel.Score_item.resizeable:	True
HDSTetris.Score_frame.Score_panel.Score_item.string:	"Pos  Name             Score  Rows Lev Machine When "
HDSTetris.Score_frame.Score_panel.Score_item.width:	500
HDSTetris.Score_panel.Done.sensitive:	True
HDSTetris.Score_panel.Done.translations:	#override <Btn1Down>,<Btn1Up>:Done()\n
#ifndef COLOR
HDSTetris*Foreground:	white
HDSTetris.Frame.Buttons*borderColor:	white
HDSTetris.Frame.Buttons.Pause.Background:	black
HDSTetris.Frame.Buttons.Pause.Foreground:	white
HDSTetris.Frame.Buttons.Start.Background:	black
HDSTetris.Frame.Buttons.Start.Foreground:	white
HDSTetris.Frame.Canvas.background:	black
HDSTetris.Frame.Shadow.background:	black
HDSTetris.Frame.Status.Game.Foreground:	white
HDSTetris.Frame.TitleBar.background:	black
HDSTetris.Frame.TitleBar.borderColor:	white
HDSTetris.Score_frame.Score_panel.Done.background:	black
HDSTetris.Score_panel.Done.background:	black
HDSTetris.object0.foreground:	white
HDSTetris.object0.background:	black
HDSTetris.object1.foreground:	white
HDSTetris.object1.background:	black
HDSTetris.object2.foreground:	white
HDSTetris.object2.background:	black
HDSTetris.object3.foreground:	white
HDSTetris.object3.background:	black
HDSTetris.object4.foreground:	white
HDSTetris.object4.background:	black
HDSTetris.object5.foreground:	white
HDSTetris.object5.background:	black
HDSTetris.object6.foreground:	white
HDSTetris.object6.background:	black
#else
HDSTetris*Foreground:	wheat
HDSTetris.Frame.Buttons*borderColor:	DarkSlateGray
HDSTetris.Frame.Buttons.Pause.Background:	black
HDSTetris.Frame.Buttons.Pause.Foreground:	tomato1
HDSTetris.Frame.Buttons.Start.Background:	black
HDSTetris.Frame.Buttons.Start.Foreground:	greenyellow
HDSTetris.Frame.Canvas.background:	black
HDSTetris.Frame.Shadow.background:	black
HDSTetris.Frame.Status.Game.Foreground:	white
HDSTetris.Frame.TitleBar.background:	blue1
HDSTetris.Frame.TitleBar.borderColor:	blue
HDSTetris.Score_frame.Score_panel.Done.background:	darkslategrey
HDSTetris.Score_panel.Done.background:	darkslategrey
HDSTetris.object0.foreground:	tomato1
HDSTetris.object0.background:	tomato4
HDSTetris.object1.foreground:	orange1
HDSTetris.object1.background:	orange4
HDSTetris.object2.foreground:	yellow1
HDSTetris.object2.background:	yellow4
HDSTetris.object3.foreground:	chartreuse1
HDSTetris.object3.background:	chartreuse4
HDSTetris.object4.foreground:	SkyBlue1
HDSTetris.object4.background:	SkyBlue4
HDSTetris.object5.foreground:	cyan1
HDSTetris.object5.background:	cyan4
HDSTetris.object6.foreground:	plum1
HDSTetris.object6.background:	plum4
!Shift<Btn1Down>:RotateCCW() \n\
!<Btn1Down>:MoveLeft() \n\
!Shift<Btn3Down>:RotateCW() \n\
!<Btn3Down>:MoveRight() \n\
#endif
