Changeset 28 for trunk/Forms
- Timestamp:
- Oct 5, 2019, 11:29:11 PM (5 years ago)
- Location:
- trunk/Forms
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMain.lfm
r20 r28 4 4 Top = 307 5 5 Width = 580 6 Caption = '2048 game'6 Caption = '2048' 7 7 DesignTimePPI = 144 8 8 Menu = MainMenu1 … … 34 34 object MenuItemHelp: TMenuItem 35 35 Caption = 'Help' 36 object MenuItem3: TMenuItem 37 Action = Core.AHelp 38 end 36 39 object MenuItemAbout: TMenuItem 37 40 Action = Core.AAbout -
trunk/Forms/UFormMain.lrj
r11 r28 1 1 {"version":1,"strings":[ 2 {"hash": 128377605,"name":"tformmain.caption","sourcebytes":[50,48,52,56,32,103,97,109,101],"value":"2048 game"},2 {"hash":217976,"name":"tformmain.caption","sourcebytes":[50,48,52,56],"value":"2048"}, 3 3 {"hash":317493,"name":"tformmain.menuitemgame.caption","sourcebytes":[71,97,109,101],"value":"Game"}, 4 4 {"hash":322608,"name":"tformmain.menuitemhelp.caption","sourcebytes":[72,101,108,112],"value":"Help"} -
trunk/Forms/UFormMain.pas
r20 r28 17 17 MenuItem1: TMenuItem; 18 18 MenuItem2: TMenuItem; 19 MenuItem3: TMenuItem; 19 20 MenuItemNew: TMenuItem; 20 21 MenuItemExit: TMenuItem; -
trunk/Forms/UFormNew.lfm
r20 r28 1 1 object FormNew: TFormNew 2 Left = 7 532 Left = 703 3 3 Height = 212 4 Top = 8254 Top = 748 5 5 Width = 487 6 6 Caption = 'New game' … … 60 60 TabOrder = 2 61 61 end 62 object CheckBoxUndoEnabled: TCheckBox 63 Left = 16 64 Height = 30 65 Top = 56 66 Width = 145 67 Caption = 'Undo enabled' 68 TabOrder = 3 69 end 62 70 end -
trunk/Forms/UFormNew.lrj
r8 r28 3 3 {"hash":103901194,"name":"tformnew.label1.caption","sourcebytes":[66,111,97,114,100,32,115,105,122,101,58],"value":"Board size:"}, 4 4 {"hash":77089212,"name":"tformnew.buttoncancel.caption","sourcebytes":[67,97,110,99,101,108],"value":"Cancel"}, 5 {"hash":1339,"name":"tformnew.buttonok.caption","sourcebytes":[79,75],"value":"OK"} 5 {"hash":1339,"name":"tformnew.buttonok.caption","sourcebytes":[79,75],"value":"OK"}, 6 {"hash":260260820,"name":"tformnew.checkboxundoenabled.caption","sourcebytes":[85,110,100,111,32,101,110,97,98,108,101,100],"value":"Undo enabled"} 6 7 ]} -
trunk/Forms/UFormNew.pas
r20 r28 16 16 ButtonCancel: TButton; 17 17 ButtonOk: TButton; 18 CheckBoxUndoEnabled: TCheckBox; 18 19 ComboBoxSize: TComboBox; 19 20 Label1: TLabel; … … 46 47 begin 47 48 ComboBoxSize.ItemIndex := Game.Board.Size.X - 2; 49 CheckBoxUndoEnabled.Checked := Game.UndoEnabled; 48 50 end; 49 51 … … 51 53 begin 52 54 Game.Board.Size := Point(2 + ComboBoxSize.ItemIndex, 2 + ComboBoxSize.ItemIndex); 55 Game.UndoEnabled := CheckBoxUndoEnabled.Checked; 53 56 end; 54 57
Note:
See TracChangeset
for help on using the changeset viewer.