|
Last change
on this file was 20, checked in by chronos, 6 years ago |
- Added: Player can undo last move.
- Modified: Optimized code of TGame.CanMove method.
|
|
File size:
1.1 KB
|
| Line | |
|---|
| 1 | object FormNew: TFormNew
|
|---|
| 2 | Left = 753
|
|---|
| 3 | Height = 212
|
|---|
| 4 | Top = 825
|
|---|
| 5 | Width = 487
|
|---|
| 6 | Caption = 'New game'
|
|---|
| 7 | ClientHeight = 212
|
|---|
| 8 | ClientWidth = 487
|
|---|
| 9 | DesignTimePPI = 144
|
|---|
| 10 | OnCreate = FormCreate
|
|---|
| 11 | LCLVersion = '2.0.2.0'
|
|---|
| 12 | object Label1: TLabel
|
|---|
| 13 | Left = 16
|
|---|
| 14 | Height = 26
|
|---|
| 15 | Top = 16
|
|---|
| 16 | Width = 93
|
|---|
| 17 | Caption = 'Board size:'
|
|---|
| 18 | ParentColor = False
|
|---|
| 19 | end
|
|---|
| 20 | object ComboBoxSize: TComboBox
|
|---|
| 21 | Left = 173
|
|---|
| 22 | Height = 38
|
|---|
| 23 | Top = 11
|
|---|
| 24 | Width = 262
|
|---|
| 25 | ItemHeight = 0
|
|---|
| 26 | Items.Strings = (
|
|---|
| 27 | '2 x 2'
|
|---|
| 28 | '3 x 3'
|
|---|
| 29 | '4 x 4'
|
|---|
| 30 | '5 x 5'
|
|---|
| 31 | '6 x 6'
|
|---|
| 32 | '7 x 7'
|
|---|
| 33 | '8 x 8'
|
|---|
| 34 | '9 x 9'
|
|---|
| 35 | '10 x 10 '
|
|---|
| 36 | '11 x 11'
|
|---|
| 37 | '12 x 12'
|
|---|
| 38 | )
|
|---|
| 39 | Style = csDropDownList
|
|---|
| 40 | TabOrder = 0
|
|---|
| 41 | end
|
|---|
| 42 | object ButtonCancel: TButton
|
|---|
| 43 | Left = 120
|
|---|
| 44 | Height = 38
|
|---|
| 45 | Top = 158
|
|---|
| 46 | Width = 113
|
|---|
| 47 | Anchors = [akLeft, akBottom]
|
|---|
| 48 | Caption = 'Cancel'
|
|---|
| 49 | ModalResult = 2
|
|---|
| 50 | TabOrder = 1
|
|---|
| 51 | end
|
|---|
| 52 | object ButtonOk: TButton
|
|---|
| 53 | Left = 280
|
|---|
| 54 | Height = 38
|
|---|
| 55 | Top = 158
|
|---|
| 56 | Width = 113
|
|---|
| 57 | Anchors = [akLeft, akBottom]
|
|---|
| 58 | Caption = 'OK'
|
|---|
| 59 | ModalResult = 1
|
|---|
| 60 | TabOrder = 2
|
|---|
| 61 | end
|
|---|
| 62 | end
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.