2010-09-21 06:33:18 +00:00
|
|
|
object formChess: TformChess
|
2010-09-16 11:52:47 +00:00
|
|
|
Left = 181
|
2010-09-23 10:43:52 +00:00
|
|
|
Height = 433
|
2010-09-16 11:52:47 +00:00
|
|
|
Top = 209
|
2010-09-23 15:40:21 +00:00
|
|
|
Width = 360
|
2010-09-16 11:52:47 +00:00
|
|
|
Caption = 'FP Chess 0.1'
|
2010-09-23 10:43:52 +00:00
|
|
|
ClientHeight = 433
|
2010-09-23 15:40:21 +00:00
|
|
|
ClientWidth = 360
|
2010-09-21 06:33:18 +00:00
|
|
|
OnCreate = FormCreate
|
2010-09-16 11:52:47 +00:00
|
|
|
LCLVersion = '0.9.29'
|
|
|
|
object notebookMain: TUntabbedNotebook
|
|
|
|
Left = 0
|
2010-09-23 10:43:52 +00:00
|
|
|
Height = 433
|
2010-09-16 11:52:47 +00:00
|
|
|
Top = 0
|
2010-09-23 15:40:21 +00:00
|
|
|
Width = 360
|
2010-10-06 15:59:48 +00:00
|
|
|
PageIndex = 4
|
2010-09-16 11:52:47 +00:00
|
|
|
Align = alClient
|
|
|
|
TabOrder = 0
|
|
|
|
TabStop = True
|
|
|
|
object pageStart: TUNBPage
|
2010-10-06 13:34:34 +00:00
|
|
|
OnBeforeShow = pageBeforeShow
|
2010-09-23 15:40:21 +00:00
|
|
|
ClientWidth = 360
|
|
|
|
ClientHeight = 433
|
2010-09-16 11:52:47 +00:00
|
|
|
object Label1: TLabel
|
|
|
|
Left = 0
|
|
|
|
Height = 32
|
|
|
|
Top = 8
|
2010-09-23 15:40:21 +00:00
|
|
|
Width = 360
|
2010-09-16 11:52:47 +00:00
|
|
|
Alignment = taCenter
|
|
|
|
AutoSize = False
|
|
|
|
Caption = 'Welcome to FP Chess 0.1'
|
|
|
|
Font.Height = -19
|
|
|
|
ParentColor = False
|
|
|
|
ParentFont = False
|
|
|
|
end
|
|
|
|
object Label2: TLabel
|
|
|
|
Left = 8
|
|
|
|
Height = 30
|
|
|
|
Top = 40
|
2010-09-23 15:40:21 +00:00
|
|
|
Width = 352
|
2010-09-16 11:52:47 +00:00
|
|
|
AutoSize = False
|
|
|
|
Caption = 'Please choose what kind of game you would like to play:'
|
|
|
|
ParentColor = False
|
|
|
|
WordWrap = True
|
|
|
|
end
|
|
|
|
object btnSinglePlayer: TBitBtn
|
2010-09-23 15:40:21 +00:00
|
|
|
Left = 64
|
2010-09-16 11:52:47 +00:00
|
|
|
Height = 30
|
2010-09-23 15:40:21 +00:00
|
|
|
Top = 200
|
2010-09-16 11:52:47 +00:00
|
|
|
Width = 224
|
|
|
|
Caption = 'Play Against the Computer'
|
2010-09-23 15:40:21 +00:00
|
|
|
Enabled = False
|
2010-09-16 11:52:47 +00:00
|
|
|
OnClick = HandleMainScreenButton
|
|
|
|
TabOrder = 0
|
|
|
|
end
|
2010-09-21 06:33:18 +00:00
|
|
|
object btnDirectComm: TBitBtn
|
2010-10-06 15:59:48 +00:00
|
|
|
Left = 64
|
2010-09-16 11:52:47 +00:00
|
|
|
Height = 30
|
2010-09-23 15:40:21 +00:00
|
|
|
Top = 288
|
2010-10-06 15:59:48 +00:00
|
|
|
Width = 224
|
2010-09-16 11:52:47 +00:00
|
|
|
Caption = 'Play with a friend through a direct connection'
|
2010-10-06 15:59:48 +00:00
|
|
|
Enabled = False
|
2010-09-21 06:33:18 +00:00
|
|
|
OnClick = HandleMainScreenButton
|
2010-09-16 11:52:47 +00:00
|
|
|
TabOrder = 1
|
|
|
|
end
|
|
|
|
object BitBtn3: TBitBtn
|
2010-10-06 15:59:48 +00:00
|
|
|
Left = 62
|
2010-09-16 11:52:47 +00:00
|
|
|
Height = 30
|
2010-10-06 15:59:48 +00:00
|
|
|
Top = 376
|
2010-09-16 11:52:47 +00:00
|
|
|
Width = 224
|
|
|
|
Caption = 'Quit'
|
|
|
|
TabOrder = 2
|
|
|
|
end
|
2010-09-21 06:33:18 +00:00
|
|
|
object editPlayerName: TLabeledEdit
|
2010-09-23 15:40:21 +00:00
|
|
|
Left = 88
|
2010-10-06 13:34:34 +00:00
|
|
|
Height = 21
|
2010-09-23 15:40:21 +00:00
|
|
|
Top = 72
|
2010-09-21 06:33:18 +00:00
|
|
|
Width = 120
|
|
|
|
EditLabel.AnchorSideLeft.Control = editPlayerName
|
|
|
|
EditLabel.AnchorSideTop.Control = editPlayerName
|
|
|
|
EditLabel.AnchorSideTop.Side = asrCenter
|
|
|
|
EditLabel.AnchorSideRight.Control = editPlayerName
|
|
|
|
EditLabel.AnchorSideBottom.Control = editPlayerName
|
2010-10-06 13:34:34 +00:00
|
|
|
EditLabel.Left = 24
|
|
|
|
EditLabel.Height = 14
|
2010-09-23 15:40:21 +00:00
|
|
|
EditLabel.Top = 75
|
2010-10-06 13:34:34 +00:00
|
|
|
EditLabel.Width = 61
|
2010-09-21 06:33:18 +00:00
|
|
|
EditLabel.Caption = 'Player Name'
|
|
|
|
EditLabel.ParentColor = False
|
|
|
|
LabelPosition = lpLeft
|
|
|
|
TabOrder = 3
|
|
|
|
end
|
|
|
|
object Label6: TLabel
|
2010-09-23 15:40:21 +00:00
|
|
|
Left = 28
|
2010-10-06 13:34:34 +00:00
|
|
|
Height = 14
|
2010-09-23 15:40:21 +00:00
|
|
|
Top = 104
|
2010-10-06 13:34:34 +00:00
|
|
|
Width = 43
|
2010-09-21 06:33:18 +00:00
|
|
|
Caption = 'Start as:'
|
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
object comboStartColor: TComboBox
|
2010-09-23 15:40:21 +00:00
|
|
|
Left = 88
|
2010-09-21 06:33:18 +00:00
|
|
|
Height = 21
|
2010-09-23 15:40:21 +00:00
|
|
|
Top = 104
|
2010-09-21 06:33:18 +00:00
|
|
|
Width = 120
|
2010-10-06 13:34:34 +00:00
|
|
|
ItemHeight = 13
|
2010-09-21 06:33:18 +00:00
|
|
|
ItemIndex = 0
|
|
|
|
Items.Strings = (
|
|
|
|
'White'
|
|
|
|
'Black'
|
|
|
|
)
|
|
|
|
TabOrder = 4
|
|
|
|
Text = 'White'
|
|
|
|
end
|
2010-09-23 15:40:21 +00:00
|
|
|
object checkTimer: TCheckBox
|
|
|
|
Left = 24
|
2010-10-06 13:34:34 +00:00
|
|
|
Height = 17
|
2010-09-23 15:40:21 +00:00
|
|
|
Top = 136
|
2010-10-06 13:34:34 +00:00
|
|
|
Width = 163
|
2010-09-23 15:40:21 +00:00
|
|
|
Caption = 'Set a time limit for each Player'
|
|
|
|
Checked = True
|
|
|
|
State = cbChecked
|
|
|
|
TabOrder = 5
|
|
|
|
end
|
|
|
|
object spinPlayerTime: TSpinEdit
|
|
|
|
Left = 21
|
2010-10-06 13:34:34 +00:00
|
|
|
Height = 21
|
2010-09-23 15:40:21 +00:00
|
|
|
Top = 160
|
|
|
|
Width = 50
|
|
|
|
TabOrder = 6
|
|
|
|
Value = 30
|
|
|
|
end
|
|
|
|
object Label7: TLabel
|
|
|
|
Left = 80
|
2010-10-06 13:34:34 +00:00
|
|
|
Height = 14
|
2010-09-23 15:40:21 +00:00
|
|
|
Top = 163
|
2010-10-06 13:34:34 +00:00
|
|
|
Width = 114
|
2010-09-23 15:40:21 +00:00
|
|
|
Caption = 'minutes for each player'
|
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
object btnHotSeat: TBitBtn
|
|
|
|
Left = 64
|
|
|
|
Height = 30
|
|
|
|
Top = 240
|
|
|
|
Width = 224
|
|
|
|
Caption = 'Play with a friend in the same Computer'
|
|
|
|
OnClick = HandleMainScreenButton
|
|
|
|
TabOrder = 7
|
|
|
|
end
|
2010-10-06 15:59:48 +00:00
|
|
|
object btnWebservice: TBitBtn
|
|
|
|
Left = 64
|
|
|
|
Height = 30
|
|
|
|
Top = 328
|
|
|
|
Width = 224
|
|
|
|
Caption = 'Play with a friend through the chess Webservice'
|
|
|
|
OnClick = HandleMainScreenButton
|
|
|
|
TabOrder = 8
|
|
|
|
end
|
2010-09-16 11:52:47 +00:00
|
|
|
end
|
|
|
|
object pageConfigConnection: TUNBPage
|
2010-10-06 13:34:34 +00:00
|
|
|
OnBeforeShow = pageBeforeShow
|
2010-10-06 15:59:48 +00:00
|
|
|
ClientWidth = 360
|
|
|
|
ClientHeight = 433
|
2010-09-16 11:52:47 +00:00
|
|
|
object Label3: TLabel
|
|
|
|
Left = 0
|
|
|
|
Height = 32
|
|
|
|
Top = 8
|
|
|
|
Width = 240
|
|
|
|
Alignment = taCenter
|
|
|
|
AutoSize = False
|
|
|
|
Caption = 'Direct Connection'
|
|
|
|
Font.Height = -19
|
|
|
|
ParentColor = False
|
|
|
|
ParentFont = False
|
|
|
|
end
|
2010-10-05 20:05:41 +00:00
|
|
|
object editRemoteID: TLabeledEdit
|
2010-09-21 06:33:18 +00:00
|
|
|
Left = 112
|
2010-10-06 15:59:48 +00:00
|
|
|
Height = 21
|
2010-09-16 11:52:47 +00:00
|
|
|
Top = 72
|
|
|
|
Width = 120
|
2010-10-05 20:05:41 +00:00
|
|
|
EditLabel.AnchorSideLeft.Control = editRemoteID
|
|
|
|
EditLabel.AnchorSideTop.Control = editRemoteID
|
2010-09-16 11:52:47 +00:00
|
|
|
EditLabel.AnchorSideTop.Side = asrCenter
|
2010-10-05 20:05:41 +00:00
|
|
|
EditLabel.AnchorSideRight.Control = editRemoteID
|
|
|
|
EditLabel.AnchorSideBottom.Control = editRemoteID
|
2010-10-06 15:59:48 +00:00
|
|
|
EditLabel.Left = 31
|
|
|
|
EditLabel.Height = 14
|
2010-09-16 11:52:47 +00:00
|
|
|
EditLabel.Top = 75
|
2010-10-06 15:59:48 +00:00
|
|
|
EditLabel.Width = 78
|
2010-09-16 11:52:47 +00:00
|
|
|
EditLabel.Caption = 'Your friend''s IP:'
|
|
|
|
EditLabel.ParentColor = False
|
|
|
|
LabelPosition = lpLeft
|
|
|
|
TabOrder = 0
|
|
|
|
end
|
2010-10-05 20:05:41 +00:00
|
|
|
object editLocalIP: TLabeledEdit
|
2010-09-21 06:33:18 +00:00
|
|
|
Left = 112
|
2010-10-06 15:59:48 +00:00
|
|
|
Height = 21
|
2010-09-16 11:52:47 +00:00
|
|
|
Top = 104
|
|
|
|
Width = 120
|
2010-10-05 20:05:41 +00:00
|
|
|
EditLabel.AnchorSideLeft.Control = editLocalIP
|
|
|
|
EditLabel.AnchorSideTop.Control = editLocalIP
|
2010-09-16 11:52:47 +00:00
|
|
|
EditLabel.AnchorSideTop.Side = asrCenter
|
2010-10-05 20:05:41 +00:00
|
|
|
EditLabel.AnchorSideRight.Control = editLocalIP
|
|
|
|
EditLabel.AnchorSideBottom.Control = editLocalIP
|
2010-10-06 15:59:48 +00:00
|
|
|
EditLabel.Left = 27
|
|
|
|
EditLabel.Height = 14
|
2010-09-16 11:52:47 +00:00
|
|
|
EditLabel.Top = 107
|
2010-10-06 15:59:48 +00:00
|
|
|
EditLabel.Width = 82
|
2010-09-16 11:52:47 +00:00
|
|
|
EditLabel.Caption = 'Your IP Address:'
|
|
|
|
EditLabel.ParentColor = False
|
|
|
|
LabelPosition = lpLeft
|
|
|
|
ReadOnly = True
|
|
|
|
TabOrder = 1
|
|
|
|
end
|
2010-10-06 15:59:48 +00:00
|
|
|
object btnConnect: TBitBtn
|
2010-09-21 06:33:18 +00:00
|
|
|
Left = 8
|
2010-09-16 11:52:47 +00:00
|
|
|
Height = 30
|
2010-09-21 06:33:18 +00:00
|
|
|
Top = 184
|
|
|
|
Width = 224
|
|
|
|
Caption = 'Connect'
|
2010-10-06 15:59:48 +00:00
|
|
|
OnClick = btnConnectClick
|
2010-09-16 11:52:47 +00:00
|
|
|
TabOrder = 2
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object pageConnecting: TUNBPage
|
2010-10-06 13:34:34 +00:00
|
|
|
OnBeforeShow = pageBeforeShow
|
2010-10-06 15:59:48 +00:00
|
|
|
ClientWidth = 360
|
|
|
|
ClientHeight = 433
|
2010-09-16 11:52:47 +00:00
|
|
|
object Label4: TLabel
|
|
|
|
Left = 0
|
|
|
|
Height = 32
|
|
|
|
Top = 8
|
|
|
|
Width = 240
|
|
|
|
Alignment = taCenter
|
|
|
|
AutoSize = False
|
|
|
|
Caption = 'Connecting'
|
|
|
|
Font.Height = -19
|
|
|
|
ParentColor = False
|
|
|
|
ParentFont = False
|
|
|
|
end
|
|
|
|
object ProgressBar1: TProgressBar
|
|
|
|
Left = 8
|
|
|
|
Height = 20
|
|
|
|
Top = 56
|
|
|
|
Width = 100
|
|
|
|
TabOrder = 0
|
|
|
|
end
|
|
|
|
end
|
2010-09-21 06:33:18 +00:00
|
|
|
object pageGame: TUNBPage
|
2010-10-06 13:34:34 +00:00
|
|
|
OnBeforeShow = pageBeforeShow
|
2010-10-06 15:59:48 +00:00
|
|
|
ClientWidth = 360
|
|
|
|
ClientHeight = 433
|
2010-09-21 06:33:18 +00:00
|
|
|
object Label5: TLabel
|
|
|
|
Left = 0
|
|
|
|
Height = 32
|
|
|
|
Top = 8
|
|
|
|
Width = 240
|
|
|
|
Alignment = taCenter
|
|
|
|
AutoSize = False
|
|
|
|
Caption = 'Playing'
|
|
|
|
Font.Height = -19
|
|
|
|
ParentColor = False
|
|
|
|
ParentFont = False
|
|
|
|
end
|
2010-09-23 10:43:52 +00:00
|
|
|
object labelPos: TLabel
|
|
|
|
Left = 8
|
|
|
|
Height = 14
|
|
|
|
Top = 392
|
|
|
|
Width = 40
|
|
|
|
Caption = 'labelPos'
|
|
|
|
ParentColor = False
|
|
|
|
end
|
2010-09-21 06:33:18 +00:00
|
|
|
end
|
2010-10-06 15:59:48 +00:00
|
|
|
object pageWebservice: TUNBPage
|
|
|
|
ClientWidth = 360
|
|
|
|
ClientHeight = 433
|
|
|
|
object editWebserviceURL: TLabeledEdit
|
|
|
|
Left = 72
|
|
|
|
Height = 21
|
|
|
|
Top = 72
|
|
|
|
Width = 280
|
|
|
|
EditLabel.AnchorSideLeft.Control = editPlayerName
|
|
|
|
EditLabel.AnchorSideTop.Control = editPlayerName
|
|
|
|
EditLabel.AnchorSideTop.Side = asrCenter
|
|
|
|
EditLabel.AnchorSideRight.Control = editPlayerName
|
|
|
|
EditLabel.AnchorSideBottom.Control = editPlayerName
|
|
|
|
EditLabel.Left = 24
|
|
|
|
EditLabel.Height = 14
|
|
|
|
EditLabel.Top = 75
|
|
|
|
EditLabel.Width = 61
|
|
|
|
EditLabel.Caption = 'Player Name'
|
|
|
|
EditLabel.ParentColor = False
|
|
|
|
LabelPosition = lpLeft
|
|
|
|
TabOrder = 0
|
|
|
|
Text = 'http://www.bobswart.nl/cgi-bin/ChessISAPIServer.dll/wsdl/IDelphiChess'
|
|
|
|
end
|
|
|
|
object Label8: TLabel
|
|
|
|
Left = 0
|
|
|
|
Height = 32
|
|
|
|
Top = 8
|
|
|
|
Width = 360
|
|
|
|
Alignment = taCenter
|
|
|
|
AutoSize = False
|
|
|
|
Caption = 'Playing through the Chess Webservice'
|
|
|
|
Font.Height = -19
|
|
|
|
ParentColor = False
|
|
|
|
ParentFont = False
|
|
|
|
end
|
|
|
|
object Button1: TButton
|
|
|
|
Left = 35
|
|
|
|
Height = 25
|
|
|
|
Top = 140
|
|
|
|
Width = 75
|
|
|
|
Caption = 'Button1'
|
|
|
|
TabOrder = 1
|
|
|
|
end
|
|
|
|
end
|
2010-09-16 11:52:47 +00:00
|
|
|
end
|
2010-09-23 15:40:21 +00:00
|
|
|
object timerChessTimer: TTimer
|
|
|
|
OnTimer = timerChessTimerTimer
|
|
|
|
left = 296
|
|
|
|
top = 152
|
|
|
|
end
|
2010-09-16 11:52:47 +00:00
|
|
|
end
|